Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752821Ab0LTE3K (ORCPT ); Sun, 19 Dec 2010 23:29:10 -0500 Received: from rcsinet10.oracle.com ([148.87.113.121]:25894 "EHLO rcsinet10.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752650Ab0LTE3I (ORCPT ); Sun, 19 Dec 2010 23:29:08 -0500 Date: Sun, 19 Dec 2010 20:27:45 -0800 From: Randy Dunlap To: Stephen Rothwell Cc: Samuel Ortiz , linux-next@vger.kernel.org, linux-kernel@vger.kernel.org, Andres Salomon Subject: Re: linux-next: build warnings after merge of the mfd tree Message-Id: <20101219202745.c733f7f8.randy.dunlap@oracle.com> In-Reply-To: <20101220152505.f9974119.sfr@canb.auug.org.au> References: <20101220152505.f9974119.sfr@canb.auug.org.au> Organization: Oracle Linux Eng. X-Mailer: Sylpheed 2.7.1 (GTK+ 2.16.6; x86_64-unknown-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1571 Lines: 32 On Mon, 20 Dec 2010 15:25:05 +1100 Stephen Rothwell wrote: > Hi Samuel, > > After merging the mfd tree, today's linux-next build (x86_64 allmodconfig) > produced these warnings: > > drivers/gpio/cs5535-gpio.c: In function 'cs5535_gpio_probe': > drivers/gpio/cs5535-gpio.c:269: warning: format '%x' expects type 'unsigned int', but argument 3 has type 'resource_size_t' > drivers/gpio/cs5535-gpio.c:269: warning: format '%x' expects type 'unsigned int', but argument 4 has type 'resource_size_t' > drivers/misc/cs5535-mfgpt.c: In function 'cs5535_mfgpt_probe': > drivers/misc/cs5535-mfgpt.c:320: warning: format '%x' expects type 'unsigned int', but argument 3 has type 'resource_size_t' > drivers/misc/cs5535-mfgpt.c:320: warning: format '%x' expects type 'unsigned int', but argument 4 has type 'resource_size_t' > > Introduced by commits d8fefd6ff3a8444ab34f6eb6c7c1961f0ca0008a ("gpio: > Convert cs5535 from pci device to platform device") and > 6a85d28cfca9663c0db297a04ca43777dc5bcaa6 ("misc: Convert cs5535-mfgpt > from pci device to platform device"). We have %pR for printing > resources ... Yes, and Joe Perches has posted a patch for that. It just needs to be merged.... --- ~Randy *** Remember to use Documentation/SubmitChecklist when testing your code *** desserts: http://www.xenotime.net/linux/recipes/ -- 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/