Re: [PATCH] ipc: Remove uses of return value of seq_printf/seq_puts

From: Andrew Morton
Date: Tue Feb 17 2015 - 17:52:52 EST


On Tue, 17 Feb 2015 11:44:48 -0800 Joe Perches <joe@xxxxxxxxxxx> wrote:

> These functions are soon going to return void

That's news to me.

> so remove the
> return value uses.
>
> Convert the return value to test seq_has_overflowed() instead.

Why not make seq_printf() return seq_has_overflowed()?

I'm sure it's all very sensible, but the changelogging is poor. Perhaps
doing all this in a coherent patch series would be a better way.

--
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/