From: "Luiz Fernando N. Capitulino" <lcapitulino@prefeitura.sp.gov.br>,
me
drivers/pcmcia/rsrc_mgr.c: In function `find_io_region':
drivers/pcmcia/rsrc_mgr.c:604: warning: large integer implicitly truncated to unsigned type
We don't really know what underlying type an ioaddr_t has, so just use an
integer here and let the compiler promote it appropriately.
int ret;
if (align == 0)
- align = 0x10000UL;
+ align = 0x10000;
data.mask = align - 1;
data.offset = *base & data.mask;