Re: [PATCH 7/7] docg3: Fix miuse of seq_printf return value
From: Steven Rostedt
Date: Tue Oct 28 2014 - 11:13:12 EST
On Wed, 22 Oct 2014 01:29:16 -0700
Brian Norris <computersforpeace@xxxxxxxxx> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/