[PATCH V6] UBI: Extend UBI layer debug/messaging capabilities

Artem Bityutskiy dedekind1 at gmail.com
Tue Nov 11 03:44:04 PST 2014


On Mon, 2014-11-10 at 09:57 -0800, Joe Perches wrote:
> On Mon, 2014-11-10 at 18:37 +0100, Richard Weinberger wrote:
> > Am 03.11.2014 um 14:58 schrieb Tanya Brokhman:
> > > If there is more then one UBI device mounted, there is no way to
> > > distinguish between messages from different UBI devices.
> > > Add device number to all ubi layer message types.
> 
> Adding "error" and "warning" to the message logs is
> duplicative to the KERN_<LEVEL> logging information.
> 
> > > Changes from V5:
> > > 	- Added ptr verification @ ubi_err/ubi_msg/ubi_warn
> > > 	Removed extra printing of ubi number
> > > 	Removed new messages.
> 
> Did you all ever look at what I posted?
> 
> https://lkml.org/lkml/2014/10/14/280
> 
> smaller code, consistent prefixing, consistent with
> typical kernel style, etc.

No, I did not, because Tanya is someone who actually using and
developing that stuff, and you are more of being on the watch for the
kernel in general. So naturally, I use my limited time to first check
her stuff. Sorry for this.

But Let me change small things in Tanya's patch first. The if you'd be
kind enough to implement your changes on top of that, that'd be perfect.

Artem.




More information about the linux-mtd mailing list