From: Tanya Brokhman <tlinder@codeaurora.org>
To: Joe Perches <joe@perches.com>, Richard Weinberger <richard@nod.at>
Cc: dedekind1@gmail.com, linux-mtd@lists.infradead.org,
linux-arm-msm@vger.kernel.org,
Artem Bityutskiy <artem.bityutskiy@linux.intel.com>,
David Woodhouse <dwmw2@infradead.org>,
Brian Norris <computersforpeace@gmail.com>,
open list <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH V6] UBI: Extend UBI layer debug/messaging capabilities
Date: Tue, 11 Nov 2014 10:24:38 +0200 [thread overview]
Message-ID: <5461C7C6.6060604@codeaurora.org> (raw)
In-Reply-To: <1415642273.8868.8.camel@perches.com>
On 11/10/2014 7:57 PM, 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?
I did. Its not my place to re-post your change in my patch. I personally
prefer it the way I've done it but it's just a matter of opinion and
personal preference. Artem took this one in...
>
> https://lkml.org/lkml/2014/10/14/280
>
> smaller code, consistent prefixing, consistent with
> typical kernel style, etc.
>
>> While testing I noticed that the log output looks quite different.
>>
>> e.g.
>> [ 26.564111] UBI-0: ubi_attach_mtd_dev:default fastmap pool size: 256
>> [ 26.565438] UBI-0: ubi_attach_mtd_dev:default fastmap WL pool size: 128
>
> If __func__ is really desired, it's generally better to
> put a space after the "%s:", __func__ so there's visual
> separation between the prefixes and the content.
>
> I agree that emitting function names isn't particularly
> useful.
I have to disagree here, but again - this is personal preference.
>
> (and Richard, do please remember to trim your posts,
> you sent > 100KB of unnecessary quoted stuff)
>
Thanks,
Tanya Brokhman
--
Qualcomm Israel, on behalf of Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project
WARNING: multiple messages have this Message-ID (diff)
From: Tanya Brokhman <tlinder@codeaurora.org>
To: Joe Perches <joe@perches.com>, Richard Weinberger <richard@nod.at>
Cc: dedekind1@gmail.com, linux-arm-msm@vger.kernel.org,
open list <linux-kernel@vger.kernel.org>,
linux-mtd@lists.infradead.org,
Artem Bityutskiy <artem.bityutskiy@linux.intel.com>,
Brian Norris <computersforpeace@gmail.com>,
David Woodhouse <dwmw2@infradead.org>
Subject: Re: [PATCH V6] UBI: Extend UBI layer debug/messaging capabilities
Date: Tue, 11 Nov 2014 10:24:38 +0200 [thread overview]
Message-ID: <5461C7C6.6060604@codeaurora.org> (raw)
In-Reply-To: <1415642273.8868.8.camel@perches.com>
On 11/10/2014 7:57 PM, 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?
I did. Its not my place to re-post your change in my patch. I personally
prefer it the way I've done it but it's just a matter of opinion and
personal preference. Artem took this one in...
>
> https://lkml.org/lkml/2014/10/14/280
>
> smaller code, consistent prefixing, consistent with
> typical kernel style, etc.
>
>> While testing I noticed that the log output looks quite different.
>>
>> e.g.
>> [ 26.564111] UBI-0: ubi_attach_mtd_dev:default fastmap pool size: 256
>> [ 26.565438] UBI-0: ubi_attach_mtd_dev:default fastmap WL pool size: 128
>
> If __func__ is really desired, it's generally better to
> put a space after the "%s:", __func__ so there's visual
> separation between the prefixes and the content.
>
> I agree that emitting function names isn't particularly
> useful.
I have to disagree here, but again - this is personal preference.
>
> (and Richard, do please remember to trim your posts,
> you sent > 100KB of unnecessary quoted stuff)
>
Thanks,
Tanya Brokhman
--
Qualcomm Israel, on behalf of Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project
next prev parent reply other threads:[~2014-11-11 8:24 UTC|newest]
Thread overview: 43+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-03 13:58 [PATCH V6] UBI: Extend UBI layer debug/messaging capabilities Tanya Brokhman
2014-11-03 13:58 ` Tanya Brokhman
2014-11-03 13:58 ` Tanya Brokhman
2014-11-05 15:35 ` Artem Bityutskiy
2014-11-05 15:35 ` Artem Bityutskiy
2014-11-07 10:08 ` hujianyang
2014-11-07 10:08 ` hujianyang
2014-11-07 10:08 ` hujianyang
2014-11-07 12:32 ` Tanya Brokhman
2014-11-10 17:37 ` Richard Weinberger
2014-11-10 17:37 ` Richard Weinberger
2014-11-10 17:57 ` Joe Perches
2014-11-10 17:57 ` Joe Perches
2014-11-11 8:24 ` Tanya Brokhman [this message]
2014-11-11 8:24 ` Tanya Brokhman
2014-11-11 8:34 ` Joe Perches
2014-11-11 8:34 ` Joe Perches
2014-11-11 8:56 ` Richard Weinberger
2014-11-11 8:56 ` Richard Weinberger
2014-11-11 9:53 ` Tanya Brokhman
2014-11-11 11:35 ` Artem Bityutskiy
2014-11-11 11:44 ` Artem Bityutskiy
2014-11-11 11:44 ` Artem Bityutskiy
2014-11-11 8:15 ` Richard Weinberger
2014-11-11 8:15 ` Richard Weinberger
2014-11-11 12:03 ` Artem Bityutskiy
2014-11-11 12:03 ` Artem Bityutskiy
2014-11-11 12:25 ` Richard Weinberger
2014-11-11 12:25 ` Richard Weinberger
2014-11-11 13:27 ` Artem Bityutskiy
2014-11-11 13:27 ` Artem Bityutskiy
2014-11-11 19:49 ` Richard Weinberger
2014-11-11 19:49 ` Richard Weinberger
2014-11-12 12:32 ` Artem Bityutskiy
2014-11-12 12:32 ` Artem Bityutskiy
2014-12-29 3:14 ` hujianyang
2014-12-29 3:14 ` hujianyang
2014-12-29 3:14 ` hujianyang
2014-12-29 14:15 ` Tanya Brokhman
2014-12-29 14:15 ` Tanya Brokhman
2014-12-30 1:27 ` hujianyang
2014-12-30 1:27 ` hujianyang
2014-12-30 1:27 ` hujianyang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5461C7C6.6060604@codeaurora.org \
--to=tlinder@codeaurora.org \
--cc=artem.bityutskiy@linux.intel.com \
--cc=computersforpeace@gmail.com \
--cc=dedekind1@gmail.com \
--cc=dwmw2@infradead.org \
--cc=joe@perches.com \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mtd@lists.infradead.org \
--cc=richard@nod.at \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.