Re: [PATCH] mtd: ubi: Extend UBI layer debug/messaging capabilities

2014-09-30 Thread Tanya Brokhman
On 9/28/2014 3:01 PM, Artem Bityutskiy wrote: On Sun, 2014-09-28 at 09:36 +0300, Tanya Brokhman wrote: 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. Hi, the goal looks

Re: [PATCH] mtd: ubi: Extend UBI layer debug/messaging capabilities

2014-09-30 Thread Tanya Brokhman
On 9/29/2014 3:37 PM, Richard Weinberger wrote: Am 29.09.2014 14:32, schrieb Kiran Padwal: On Monday 29 September 2014 05:31 PM, Richard Weinberger wrote: Am 29.09.2014 12:50, schrieb Kiran Padwal: Hi Tanya, On Sunday 28 September 2014 12:06 PM, Tanya Brokhman wrote: If there is more then on

Re: [PATCH] mtd: ubi: Extend UBI layer debug/messaging capabilities

2014-09-29 Thread Richard Weinberger
Am 29.09.2014 14:32, schrieb Kiran Padwal: > On Monday 29 September 2014 05:31 PM, Richard Weinberger wrote: >> Am 29.09.2014 12:50, schrieb Kiran Padwal: >>> Hi Tanya, >>> >>> On Sunday 28 September 2014 12:06 PM, Tanya Brokhman wrote: If there is more then one UBI device mounted, there is no

Re: [PATCH] mtd: ubi: Extend UBI layer debug/messaging capabilities

2014-09-29 Thread Kiran Padwal
On Monday 29 September 2014 05:31 PM, Richard Weinberger wrote: > Am 29.09.2014 12:50, schrieb Kiran Padwal: >> Hi Tanya, >> >> On Sunday 28 September 2014 12:06 PM, Tanya Brokhman wrote: >>> If there is more then one UBI device mounted, there is no way to >>> distinguish between messages from diff

Re: [PATCH] mtd: ubi: Extend UBI layer debug/messaging capabilities

2014-09-29 Thread Richard Weinberger
Am 29.09.2014 12:50, schrieb Kiran Padwal: > Hi Tanya, > > On Sunday 28 September 2014 12:06 PM, Tanya Brokhman wrote: >> 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

Re: [PATCH] mtd: ubi: Extend UBI layer debug/messaging capabilities

2014-09-29 Thread Kiran Padwal
Hi Tanya, On Sunday 28 September 2014 12:06 PM, Tanya Brokhman wrote: > 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. > > > Signed-off-by: Tanya Brokhman > > --- >

Re: [PATCH] mtd: ubi: Extend UBI layer debug/messaging capabilities

2014-09-28 Thread Artem Bityutskiy
On Sun, 2014-09-28 at 11:24 +0300, Tanya Brokhman wrote: > This is how I first implemented this patch. But then I cam across > some > ubi_err prints during the init process (in build.c ubi_init()) when > we > still don't have the ubi structure, so we need to pass some number to > the message. I

Re: [PATCH] mtd: ubi: Extend UBI layer debug/messaging capabilities

2014-09-28 Thread Artem Bityutskiy
On Sun, 2014-09-28 at 10:01 +0200, Richard Weinberger wrote: > Tanya, > > Am 28.09.2014 08:36, 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 ty

Re: [PATCH] mtd: ubi: Extend UBI layer debug/messaging capabilities

2014-09-28 Thread Artem Bityutskiy
On Sun, 2014-09-28 at 09:36 +0300, Tanya Brokhman wrote: > 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. Hi, the goal looks legit to me, but the patch is so large that

Re: [PATCH] mtd: ubi: Extend UBI layer debug/messaging capabilities

2014-09-28 Thread Tanya Brokhman
On 9/28/2014 11:01 AM, Richard Weinberger wrote: Tanya, Am 28.09.2014 08:36, 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. Signed-off-by: Tanya

Re: [PATCH] mtd: ubi: Extend UBI layer debug/messaging capabilities

2014-09-28 Thread Richard Weinberger
Tanya, Am 28.09.2014 08:36, 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. > > > Signed-off-by: Tanya Brokhman Artem's mail is dedekind1@ n

[PATCH] mtd: ubi: Extend UBI layer debug/messaging capabilities

2014-09-27 Thread 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. Signed-off-by: Tanya Brokhman --- drivers/mtd/ubi/attach.c | 138 drivers/mtd/ubi/bu