Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S936351Ab3DIUwX (ORCPT ); Tue, 9 Apr 2013 16:52:23 -0400 Received: from mga03.intel.com ([143.182.124.21]:53551 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1762739Ab3DIUwW (ORCPT ); Tue, 9 Apr 2013 16:52:22 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.87,441,1363158000"; d="scan'208";a="225224674" Date: Tue, 9 Apr 2013 22:52:16 +0200 From: Samuel Ortiz To: Alexander Shiyan Cc: linux-kernel@vger.kernel.org, Dong Aisheng , Mark Brown , Arnd Bergmann Subject: Re: [PATCH] mfd: syscon: fix warnings when printing resource_size_t Message-ID: <20130409205216.GB24058@zurbaran> References: <1365529802-17844-1-git-send-email-shc_work@mail.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1365529802-17844-1-git-send-email-shc_work@mail.ru> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1015 Lines: 26 Hi Alexander, On Tue, Apr 09, 2013 at 09:50:02PM +0400, Alexander Shiyan wrote: > Gets rid of these warnings when compile module for 64 bit targets: > CC drivers/mfd/syscon.o > drivers/mfd/syscon.c: In function 'syscon_probe': > drivers/mfd/syscon.c:155:2: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'resource_size_t' [-Wformat] > drivers/mfd/syscon.c:155:2: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'resource_size_t' [-Wformat] > > Signed-off-by: Alexander Shiyan > --- > drivers/mfd/syscon.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Applied, thanks. Cheers, Samuel. -- Intel Open Source Technology Centre http://oss.intel.com/ -- 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/