Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754540AbbFQIyk (ORCPT ); Wed, 17 Jun 2015 04:54:40 -0400 Received: from smtp.citrix.com ([66.165.176.89]:9087 "EHLO SMTP.CITRIX.COM" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753430AbbFQIyR (ORCPT ); Wed, 17 Jun 2015 04:54:17 -0400 X-IronPort-AV: E=Sophos;i="5.13,632,1427760000"; d="scan'208";a="272778059" Message-ID: <1434531253.13744.254.camel@citrix.com> Subject: Re: [PATCH v4 3/3] net/xen-netback: Don't mix hexa and decimal with 0x in the printf format From: Ian Campbell To: Joe Perches CC: Sergei Shtylyov , Julien Grall , , , Wei Liu , Date: Wed, 17 Jun 2015 09:54:13 +0100 In-Reply-To: <1434498919.2689.35.camel@perches.com> References: <1434481848-26387-1-git-send-email-julien.grall@citrix.com> <1434481848-26387-4-git-send-email-julien.grall@citrix.com> <5580821D.4080408@cogentembedded.com> <1434492550.2689.8.camel@perches.com> <5580A33C.4040007@cogentembedded.com> <1434498919.2689.35.camel@perches.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.12.9-1+b1 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-DLP: MIA1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 507 Lines: 14 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/