[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <201102011345.30618.roman.fietze@telemotive.de>
Date: Tue, 1 Feb 2011 13:45:30 +0100
From: Roman Fietze <roman.fietze@...emotive.de>
To: Joe Perches <realty@...ches.com>
Cc: Jason Baron <jbaron@...hat.com>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 0/2] Fixed proposal to add dynamic debug feature for print_hex_dump
Hello Joe,
On Friday, 14.January.2011 19:19:06 Joe Perches wrote:
> A high percentage of these print_hex_dump() uses are
> (,,, 16, 1, buf, len, true) so there's some value
> in doing this.
I found some calls using 16 and 32 bit words to dump their data, e.g.
in UBIFS, NFC, USB IP, MTD Tests and libata, so I think we should
rather ask the callers to add the "16, 1," for byte dumps instead of
rendering hex_dump_xx unusable in quite some cases by defaulting to
byte dumps.
> I suggest simplifying naming to just hex_dump_<level>.
Done.
> Adding a hex_dump_printk function to hexdump.c
If the first of the following two patches will be accepted I can work
on that issue.
Roman
--
Roman Fietze Telemotive AG Buero Muehlhausen
Breitwiesen 73347 Muehlhausen
Tel.: +49(0)7335/18493-45 http://www.telemotive.de
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists