[PATCH 7/7] docg3: Fix miuse of seq_printf return value
Steven Rostedt
rostedt at goodmis.org
Tue Oct 28 08:13:01 PDT 2014
On Wed, 22 Oct 2014 01:29:16 -0700
Brian Norris <computersforpeace at gmail.com> wrote:
> On Mon, Sep 29, 2014 at 04:08:27PM -0700, Joe Perches wrote:
> > seq_printf doesn't return a useful value, so remove
> > these misuses.
>
> Good catch. So it looks like this driver always had some form of
> wrongness (returning a character count) in its debugfs callbacks, but
> nobody noticed.
>
> Applied to l2-mtd.git. Thanks!
>
Note, I'm going to be working on changes to remove the return value of
seq_printf() and friends. I need this change as well. If you
already applied it to your git tree, if you can still rebase, can you
make a separate branch off of Linus's tree that I can pull to do work
on?
Or I can take this patch as well, with your Acked-by.
Thanks!
-- Steve
More information about the linux-mtd
mailing list