[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1434531253.13744.254.camel@citrix.com>
Date: Wed, 17 Jun 2015 09:54:13 +0100
From: Ian Campbell <ian.campbell@...rix.com>
To: Joe Perches <joe@...ches.com>
CC: Sergei Shtylyov <sergei.shtylyov@...entembedded.com>,
Julien Grall <julien.grall@...rix.com>,
<xen-devel@...ts.xenproject.org>, <linux-kernel@...r.kernel.org>,
Wei Liu <wei.liu2@...rix.com>, <netdev@...r.kernel.org>
Subject: Re: [PATCH v4 3/3] net/xen-netback: Don't mix hexa and decimal with
0x in the printf format
On Tue, 2015-06-16 at 16:55 -0700, Joe Perches wrote:
> 0x%x is easier and simpler to visualize than %#x.
They also don't produce the same output if the value is 0 (0x%x=>0x0, %
#x=>0), which can matter if you are trying to line up a column or
whatever.
Ian.
--
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