Re: [PATCH v1 1/5] seq_file: provide an analogue of print_hex_dump()

From: Joe Perches
Date: Thu Jul 10 2014 - 06:01:55 EST


On Thu, 2014-07-10 at 12:50 +0300, Andy Shevchenko wrote:
> I have considered to modify hex_dump_to_buffer() to return how many
> bytes it actually proceed to the buffer. In that case we can directly
> print to m->buf like other seq_<foo> calls do.
>
> But I still have doubts about it. Any opinion?

Simpler is better.


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