[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1404837211.932.18.camel@joe-AO725>
Date: Tue, 08 Jul 2014 09:33:31 -0700
From: Joe Perches <joe@...ches.com>
To: Dan Carpenter <dan.carpenter@...cle.com>
Cc: Fabio Falzoi <fabio.falzoi84@...il.com>,
micky <micky_ching@...lsil.com.cn>, devel@...verdev.osuosl.org,
gregkh@...uxfoundation.org, wei_wang@...lsil.com.cn,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 2/4] Staging: rts5208: Replace custom macro with
print_hex_dump_bytes
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
}
--
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