[PATCH v2 2/4] Staging: rts5208: Replace custom macro with print_hex_dump_bytes
Joe Perches
joe at perches.com
Tue Jul 8 16:33:31 UTC 2014
On Tue, 2014-07-08 at 11:45 +0300, Dan Carpenter wrote:
> On Tue, Jul 08, 2014 at 08:23:02AM +0200, Fabio Falzoi wrote:
> I'm gonna fix it, thanks.
> And leave out the semi-colon as well.
another way to do this is:
static void rtsx_hex_dump(void *buf, size_t len)
{
#if DEBUG
print_hex_dump_bytes(KBUILD_MODNAME ": ", DUMP_PREFIX_NONE, buf, len);
#endif
}
More information about the devel
mailing list