Re: [PATCH] seq_file: Fix seq_putc() to be consistent with seq_puts()

From: Al Viro
Date: Mon Sep 29 2014 - 12:42:05 EST


On Mon, Sep 29, 2014 at 12:09:27PM -0400, Steven Rostedt wrote:

> Note, I'm trying to make a seq_buf.c file that consolidates the code in
> trace_seq.c and seq_file.c. This will extend slightly the use cases of
> the seq_buf functions, but I think all the seq_*() functions from
> seq_file.c can be turned into functions that return void.

Umm... seq_path() and friends might want to return real errors.
And seq_path_root() needs to be able to return SEQ_SKIP.
--
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/