public inbox for linux-next@vger.kernel.org 
 help / color / mirror / Atom feed
* linux-next: build warnings after merge of the mfd tree
@ 2010-12-13  2:34 Stephen Rothwell
  0 siblings, 0 replies; 5+ messages in thread
From: Stephen Rothwell @ 2010-12-13  2:34 UTC (permalink / raw)
  To: Samuel Ortiz; +Cc: linux-next, linux-kernel, Andres Salomon

[-- Attachment #1: Type: text/plain, Size: 674 bytes --]

Hi Samuel,

After merging the mfd tree, today's linux-next build (x86_64 allmodconfig)
produced these warnings:

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 commit 9ce4f5640c34ce4a468cfead9b848aef424c33ab ("misc:
Convert cs5535-mfgpt from pci device to platform device").
-- 
Cheers,
Stephen Rothwell                    sfr@canb•auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 490 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* linux-next: build warnings after merge of the mfd tree
@ 2010-12-20  4:25 Stephen Rothwell
  2010-12-20  4:27 ` Randy Dunlap
  0 siblings, 1 reply; 5+ messages in thread
From: Stephen Rothwell @ 2010-12-20  4:25 UTC (permalink / raw)
  To: Samuel Ortiz; +Cc: linux-next, linux-kernel, Andres Salomon

[-- Attachment #1: Type: text/plain, Size: 1135 bytes --]

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 ...
-- 
Cheers,
Stephen Rothwell                    sfr@canb•auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 490 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: linux-next: build warnings after merge of the mfd tree
  2010-12-20  4:25 linux-next: build warnings after merge of the mfd tree Stephen Rothwell
@ 2010-12-20  4:27 ` Randy Dunlap
  2010-12-20 10:31   ` Samuel Ortiz
  0 siblings, 1 reply; 5+ messages in thread
From: Randy Dunlap @ 2010-12-20  4:27 UTC (permalink / raw)
  To: Stephen Rothwell; +Cc: Samuel Ortiz, linux-next, linux-kernel, Andres Salomon

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/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: linux-next: build warnings after merge of the mfd tree
  2010-12-20  4:27 ` Randy Dunlap
@ 2010-12-20 10:31   ` Samuel Ortiz
  0 siblings, 0 replies; 5+ messages in thread
From: Samuel Ortiz @ 2010-12-20 10:31 UTC (permalink / raw)
  To: Randy Dunlap; +Cc: Stephen Rothwell, linux-next, linux-kernel, Andres Salomon

On Sun, Dec 19, 2010 at 08:27:45PM -0800, Randy Dunlap wrote:
> 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.
I never received that one. I found it on patchwork, and applied it now.
Stephen, this is fixed.

Cheers,
Samuel.

-- 
Intel Open Source Technology Centre
http://oss.intel.com/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* linux-next: build warnings after merge of the mfd tree
@ 2011-03-01  4:42 Stephen Rothwell
  0 siblings, 0 replies; 5+ messages in thread
From: Stephen Rothwell @ 2011-03-01  4:42 UTC (permalink / raw)
  To: Samuel Ortiz; +Cc: linux-next, linux-kernel, Andres Salomon

[-- Attachment #1: Type: text/plain, Size: 1439 bytes --]

Hi Samuel,

After merging the mfd tree, today's linux-next build (x86_64 allmodconfig)
produced these warnings:

drivers/video/tmiofb.c: In function 'tmiofb_hw_init':
drivers/video/tmiofb.c:270: warning: initialization discards qualifiers from pointer target type
drivers/video/tmiofb.c: In function 'tmiofb_hw_mode':
drivers/video/tmiofb.c:314: warning: initialization discards qualifiers from pointer target type
drivers/video/tmiofb.c:314: warning: unused variable 'cell'
drivers/video/tmiofb.c: In function 'tmiofb_probe':
drivers/video/tmiofb.c:683: warning: initialization discards qualifiers from pointer target type
drivers/video/tmiofb.c: In function 'tmiofb_remove':
drivers/video/tmiofb.c:811: warning: initialization discards qualifiers from pointer target type
drivers/video/tmiofb.c: In function 'tmiofb_suspend':
drivers/video/tmiofb.c:941: warning: initialization discards qualifiers from pointer target type
drivers/video/tmiofb.c: In function 'tmiofb_resume':
drivers/video/tmiofb.c:973: warning: initialization discards qualifiers from pointer target type

Introduced by commits 2a79bb1d72f5ac22dff96de340d90d512f852ecb ("mfd:
mfd_cell is now implicitly available to tc6393xb drivers") and
b6361637190e6cb7acb84509499942ada69e7136 ("fb: Use mfd_data instead of
driver_data for tmio-fb").

-- 
Cheers,
Stephen Rothwell                    sfr@canb•auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 490 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-03-01  4:42 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-20  4:25 linux-next: build warnings after merge of the mfd tree Stephen Rothwell
2010-12-20  4:27 ` Randy Dunlap
2010-12-20 10:31   ` Samuel Ortiz
  -- strict thread matches above, loose matches on Subject: below --
2011-03-01  4:42 Stephen Rothwell
2010-12-13  2:34 Stephen Rothwell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox