mirror of
https://github.com/team-infusion-developers/android_kernel_samsung_msm8976.git
synced 2024-11-05 18:59:58 +00:00
PCI: drivers/pcmcia/i82092.c: fix up after pci_bus_region changes
drivers/pcmcia/i82092.c: In function 'i82092aa_set_mem_map': drivers/pcmcia/i82092.c:650: warning: format '%lx' expects type 'long unsigned int', but argument 3 has type 'resource_size_t' drivers/pcmcia/i82092.c:650: warning: format '%lx' expects type 'long unsigned int', but argument 4 has type 'resource_size_t' Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
498fbb5d41
commit
f96ee7a41e
1 changed files with 6 additions and 1 deletions
|
@ -647,7 +647,12 @@ static int i82092aa_set_mem_map(struct pcmcia_socket *socket, struct pccard_mem_
|
|||
if ( (mem->card_start > 0x3ffffff) || (region.start > region.end) ||
|
||||
(mem->speed > 1000) ) {
|
||||
leave("i82092aa_set_mem_map: invalid address / speed");
|
||||
printk("invalid mem map for socket %i : %lx to %lx with a start of %x \n",sock,region.start, region.end, mem->card_start);
|
||||
printk("invalid mem map for socket %i: %llx to %llx with a "
|
||||
"start of %x\n",
|
||||
sock,
|
||||
(unsigned long long)region.start,
|
||||
(unsigned long long)region.end,
|
||||
mem->card_start);
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue