summaryrefslogtreecommitdiffstats
path: root/arch/x86_64/pci
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2006-02-04 02:28:01 +0100
committerAl Viro <viro@zeniv.linux.org.uk>2006-02-08 02:59:01 +0100
commitcc59853b4a9973126e15e0e6bdddf0627d4b99c4 (patch)
tree21e0f3e860c30f9913372c76c3e212d13c0f60de /arch/x86_64/pci
parent[PATCH] net/ipv6/mcast.c NULL noise removal (diff)
downloadlinux-cc59853b4a9973126e15e0e6bdddf0627d4b99c4.tar.xz
linux-cc59853b4a9973126e15e0e6bdddf0627d4b99c4.zip
[PATCH] arch/x86_64/pci/mmconfig.c NULL noise removal
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/x86_64/pci')
-rw-r--r--arch/x86_64/pci/mmconfig.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86_64/pci/mmconfig.c b/arch/x86_64/pci/mmconfig.c
index b4a3fe4ec249..18f371fe37f8 100644
--- a/arch/x86_64/pci/mmconfig.c
+++ b/arch/x86_64/pci/mmconfig.c
@@ -49,7 +49,7 @@ static char __iomem *get_virt(unsigned int seg, unsigned bus)
return pci_mmcfg_virt[0].virt;
/* Fall back to type 0 */
- return 0;
+ return NULL;
}
static char __iomem *pci_dev_base(unsigned int seg, unsigned int bus, unsigned int devfn)