lkml.org 
[lkml]   [2014]   [Nov]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH V5] mtd: ubi: Extend UBI layer debug/messaging capabilities
From
Date
On Sun, 2014-11-02 at 19:14 +0200, Tanya Brokhman wrote:
> >> + ubi_err(ubi, "self-check failed for PEB %d", pnum);
> >> + ubi_msg(ubi, "hex dump of the %d-%d region",
> >> + offset, offset + len);
> >> print_hex_dump(KERN_DEBUG, "", DUMP_PREFIX_OFFSET, 32, 1, buf,
> len, 1);
> >> err = -EINVAL;
> >> error:
> >
> > Artem, I know you have tried to align the message code in different
> lines, maybe
> > you can check if you lose this one.
> >
>
> hmmm... not sure I understand what is wrong here....

It is more of a nit-pick, but we try to be consistent. Here is how we
align split messages:

ubi_msg(ubi, "blah",
XYZ)

and not

ubi_msg(ubi, "blah",
XYZ)

So we first use few tabs, and then some spaces to align. You use just
tabs. Sometimes the second line is aligned, sometimes it goes a bit
further.



\
 
 \ /
  Last update: 2014-11-06 09:41    [W:0.105 / U:0.084 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site