Re: [PATCH] seq_file: Fix seq_putc() to be consistent with seq_puts()
From: Joe Perches <joe@perches.com>
Date: 2014-09-29 16:08:07
From: Joe Perches <joe@perches.com>
Date: 2014-09-29 16:08:07
On Mon, 2014-09-29 at 16:47 +0100, Al Viro wrote:
On Mon, Sep 29, 2014 at 04:41:22PM +0200, Petr Mladek wrote:quoted
Hmm, this inconsistency seems to be in more functions. I would divide it into three categories:
[]
No. _Any_ caller that decides to report that error to its caller is fucking broken. We had some cases like that.
[]
And let's make seq_printf and friends return void. Any breakage we miss on grep will be caught by compiler. Enough is enough.
https://lkml.org/lkml/2013/12/11/8