[parisc-linux] 2.6.18-rc1-pa1: new printk's warning?
Joel Soete
soete.joel at scarlet.be
Tue Jul 11 07:27:59 MDT 2006
Hello,
Because of this resource_size_t change in this new 2.6.18-rc1:
include/linux/types.h
#ifdef CONFIG_RESOURCES_64BIT
typedef u64 resource_size_t;
#else
typedef u32 resource_size_t;
#endif
and related resource structure:
include/linux/ioport.h
struct resource {
resource_size_t start;
resource_size_t end;
const char *name;
unsigned long flags;
struct resource *parent, *sibling, *child;
};
(btw, as start and end are actualy addresses, I would find more relevant to
use resource_addr_t as new typedef ;-?)
some printk() warning appears:
# grep resource_size_t /var/logs/k-2.6.18-rc1-pa1-c110-t
/Debian-apt/SRC/linux-2.6.18-rc1-pa1/arch/parisc/kernel/drivers.c:837: warning:
format '%lx' expects type 'long unsigned int', but argument 4 has type
'resource_size_t'
/Debian-apt/SRC/linux-2.6.18-rc1-pa1/drivers/net/lasi_82596.c:1545: warning:
format '%lx' expects type 'long unsigned int', but argument 3 has type
'resource_size_t'
/Debian-apt/SRC/linux-2.6.18-rc1-pa1/drivers/net/lasi_82596.c:1550: warning:
format '%lx' expects type 'long unsigned int', but argument 2 has type
'resource_size_t'
/Debian-apt/SRC/linux-2.6.18-rc1-pa1/drivers/parisc/ccio-dma.c:1402: warning:
format '%08lx' expects type 'long unsigned int', but argument 3 has type
'resource_size_t'
/Debian-apt/SRC/linux-2.6.18-rc1-pa1/drivers/parisc/ccio-dma.c:1402: warning:
format '%08lx' expects type 'long unsigned int', but argument 4 has type
'resource_size_t'
/Debian-apt/SRC/linux-2.6.18-rc1-pa1/drivers/parisc/ccio-dma.c:1554: warning:
format '%lx' expects type 'long unsigned int', but argument 3 has type
'resource_size_t'
/Debian-apt/SRC/linux-2.6.18-rc1-pa1/drivers/parisc/asp.c:85: warning: format
'%lx' expects type 'long unsigned int', but argument 4 has type 'resource_size_t'
/Debian-apt/SRC/linux-2.6.18-rc1-pa1/drivers/parisc/eisa.c:318: warning: format
'%08lx' expects type 'long unsigned int', but argument 3 has type
'resource_size_t'
/Debian-apt/SRC/linux-2.6.18-rc1-pa1/drivers/parisc/eisa_enumerator.c:101:
warning: format '%lx' expects type 'long unsigned int', but argument 2 has
type 'resource_size_t'
/Debian-apt/SRC/linux-2.6.18-rc1-pa1/drivers/parisc/eisa_enumerator.c:101:
warning: format '%lx' expects type 'long unsigned int', but argument 3 has
type 'resource_size_t'
/Debian-apt/SRC/linux-2.6.18-rc1-pa1/drivers/parisc/eisa_enumerator.c:191:
warning: format '%lx' expects type 'long unsigned int', but argument 2 has
type 'resource_size_t'
/Debian-apt/SRC/linux-2.6.18-rc1-pa1/drivers/parisc/eisa_enumerator.c:191:
warning: format '%lx' expects type 'long unsigned int', but argument 3 has
type 'resource_size_t'
/Debian-apt/SRC/linux-2.6.18-rc1-pa1/drivers/parport/parport_gsc.c:363:
warning: format '%lx' expects type 'long unsigned int', but argument 2 has
type 'resource_size_t'
/Debian-apt/SRC/linux-2.6.18-rc1-pa1/drivers/serial/8250_gsc.c:45: warning:
format '%lx' expects type 'long unsigned int', but argument 2 has type
'resource_size_t'
Any idea?
Thanks,
Joel
----------
Club Scarlet : Tout le monde gagne! Si vous devenez aujourd'hui Scarlet One grace a un client existant de Scarlet, vous recevez tous les deux un cadeau d'une valeur de 50 euros! Surfez vite sur http://www.clubscarlet.be
More information about the parisc-linux
mailing list