aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci
diff options
context:
space:
mode:
authorMárton Németh <nm127@freemail.hu>2011-05-14 19:27:33 +0200
committerJesse Barnes <jbarnes@virtuousgeek.org>2011-06-01 11:51:05 -0700
commit6e33a852a37dee02979ec9d82bea26c07cee5bce (patch)
treec896c5dd0e00b6414c8cd06c65e96c1fe43b1091 /drivers/pci
parent3f37d6229ca309f96b163b943ff982f4697630cd (diff)
downloadkernel_samsung_smdk4412-6e33a852a37dee02979ec9d82bea26c07cee5bce.zip
kernel_samsung_smdk4412-6e33a852a37dee02979ec9d82bea26c07cee5bce.tar.gz
kernel_samsung_smdk4412-6e33a852a37dee02979ec9d82bea26c07cee5bce.tar.bz2
x86/PCI/ACPI: fix type mismatch
The flags field of struct resource from linux/ioport.h is "unsigned long". Change the "type" parameter of coalesce_windows() function to match that field. This fixes the following warning messages when compiling with "make C=1 W=1 bzImage modules": arch/x86/pci/acpi.c: In function ‘coalesce_windows’: arch/x86/pci/acpi.c:198: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result arch/x86/pci/acpi.c:203: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result Signed-off-by: Márton Németh <nm127@freemail.hu> Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'drivers/pci')
0 files changed, 0 insertions, 0 deletions