[parisc-linux] Some warning: ... cleanup?

Joel Soete soete.joel at scarlet.be
Mon Jun 18 07:22:02 MDT 2007


Hello Kyle,

I was trying your patch v2.6.22-rc4 and fiure out some warnings:

/CAD/linux-2.6.22-rc4/drivers/parisc/dino.c:821: warning: format ‘%lx’ expects
type ‘long unsigned int’, but argument 4 has type ‘resource_size_t’
/CAD/linux-2.6.22-rc4/drivers/parisc/dino.c:821: warning: format ‘%lx’ expects
type ‘long unsigned int’, but argument 5 has type ‘resource_size_t’
/CAD/linux-2.6.22-rc4/drivers/parisc/dino.c:901: warning: format ‘%lx’ expects
type ‘long unsigned int’, but argument 3 has type ‘resource_size_t’
/CAD/linux-2.6.22-rc4/drivers/parisc/dino.c:901: warning: format ‘%lx’ expects
type ‘long unsigned int’, but argument 4 has type ‘resource_size_t’
/CAD/linux-2.6.22-rc4/drivers/parisc/asp.c:85: warning: format ‘%lx’ expects
type ‘long unsigned int’, but argument 4 has type ‘resource_size_t’
/CAD/linux-2.6.22-rc4/drivers/parisc/eisa.c:317: warning: format ‘%08lx’
expects type ‘long unsigned int’, but argument 3 has type ‘resource_size_t’
/CAD/linux-2.6.22-rc4/drivers/parisc/eisa_enumerator.c:101: warning: format
‘%lx’ expects type ‘long unsigned int’, but argument 2 has type ‘resource_size_t’
/CAD/linux-2.6.22-rc4/drivers/parisc/eisa_enumerator.c:101: warning: format
‘%lx’ expects type ‘long unsigned int’, but argument 3 has type ‘resource_size_t’
/CAD/linux-2.6.22-rc4/drivers/parisc/eisa_enumerator.c:191: warning: format
‘%lx’ expects type ‘long unsigned int’, but argument 2 has type ‘resource_size_t’
/CAD/linux-2.6.22-rc4/drivers/parisc/eisa_enumerator.c:191: warning: format
‘%lx’ expects type ‘long unsigned int’, but argument 3 has type ‘resource_size_t’
/CAD/linux-2.6.22-rc4/drivers/parport/parport_gsc.c:362: warning: format ‘%lx’
expects type ‘long unsigned int’, but argument 2 has type ‘resource_size_t’
/CAD/linux-2.6.22-rc4/drivers/serial/8250_gsc.c:44: warning: format ‘%lx’
expects type ‘long unsigned int’, but argument 2 has type ‘resource_size_t’

I just got this SomeStuff.diff.

(imho just the same kind of patch already applied upstream a while ago,
regarding resource_size_t change:
<http://www.linuxhq.com/kernel/v2.6/18/kernel/resource.c>)

Fill free to use it at your best convenience.

J.


---
http://www.scarlet.be/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: SomeStuff.diff
Type: application/octet-stream
Size: 3612 bytes
Desc: not available
Url : http://lists.parisc-linux.org/pipermail/parisc-linux/attachments/20070618/c36c42d4/attachment.obj 


More information about the parisc-linux mailing list