From: "Dr. David Alan Gilbert" <linux@treblig.org>
To: Andy Shevchenko <andy@kernel.org>
Cc: kees@kernel.org, akpm@linux-foundation.org, pmladek@suse.com,
rostedt@goodmis.org, linux@rasmusvillemoes.dk,
senozhatsky@chromium.org, linux-hardening@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] printf: Remove unused 'bprintf'
Date: Wed, 2 Oct 2024 14:52:23 +0000 [thread overview]
Message-ID: <Zv1eJ-07dY2Drmh_@gallifrey> (raw)
In-Reply-To: <Zv1chIuTlOdu-ved@smile.fi.intel.com>
* Andy Shevchenko (andy@kernel.org) wrote:
> On Wed, Oct 02, 2024 at 02:31:19PM +0000, Dr. David Alan Gilbert wrote:
> > * Andy Shevchenko (andy@kernel.org) wrote:
> > > On Wed, Oct 02, 2024 at 02:21:25AM +0100, linux@treblig.org wrote:
> > > > From: "Dr. David Alan Gilbert" <linux@treblig.org>
> > > >
> > > > bprintf is unused. Remove it.
> > >
> > > bprintf()
> >
> > OK.
> >
> > > > It was added in
> > > > commit 4370aa4aa753 ("vsprintf: add binary printf")
> > > >
> > > > but as far as I can see was never used, unlike the other
> > > > two functions in that patch.
> > >
> > > Please, rewrap these lines to use more room on each line.
> >
> > Something like this? :
>
> > bprintf() is unused. Remove it. It was added in
> >
> > commit 4370aa4aa753 ("vsprintf: add binary printf")
> >
> > but as far as I can see was never used, unlike the other two functions in
> > that patch.
>
> You have two blank lines in the middle, do you really need them?
No, I was just trying to keep the commit reference separate, I'm never
quite sure what checkpatch gets upset by.
> I would put it like this
>
> bprintf() is unused. Remove it. It was added in the commit 4370aa4aa753
> ("vsprintf: add binary printf") but as far as I can see was never used,
> unlike the other two functions in that patch.
Sure, I can send a v2 like that.
Dave
> --
> With Best Regards,
> Andy Shevchenko
>
>
--
-----Open up your eyes, open up your mind, open up your code -------
/ Dr. David Alan Gilbert | Running GNU/Linux | Happy \
\ dave @ treblig.org | | In Hex /
\ _________________________|_____ http://www.treblig.org |_______/
next prev parent reply other threads:[~2024-10-02 14:52 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-02 1:21 [PATCH] printf: Remove unused 'bprintf' linux
2024-10-02 14:11 ` Andy Shevchenko
2024-10-02 14:31 ` Dr. David Alan Gilbert
2024-10-02 14:45 ` Andy Shevchenko
2024-10-02 14:52 ` Dr. David Alan Gilbert [this message]
2024-10-02 14:48 ` Steven Rostedt
2024-10-02 17:32 ` Dr. David Alan Gilbert
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=Zv1eJ-07dY2Drmh_@gallifrey \
--to=linux@treblig.org \
--cc=akpm@linux-foundation.org \
--cc=andy@kernel.org \
--cc=kees@kernel.org \
--cc=linux-hardening@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@rasmusvillemoes.dk \
--cc=pmladek@suse.com \
--cc=rostedt@goodmis.org \
--cc=senozhatsky@chromium.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox