summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2006-02-03 20:28:01 -0500
committerAl Viro <viro@zeniv.linux.org.uk>2006-02-07 20:59:01 -0500
commitcc59853b4a9973126e15e0e6bdddf0627d4b99c4 (patch)
tree21e0f3e860c30f9913372c76c3e212d13c0f60de
parente80e28b6b67ecc25fa89c9129a5f70de6389b2a6 (diff)
downloadlinux-cc59853b4a9973126e15e0e6bdddf0627d4b99c4.tar.gz
linux-cc59853b4a9973126e15e0e6bdddf0627d4b99c4.tar.bz2
linux-cc59853b4a9973126e15e0e6bdddf0627d4b99c4.zip
[PATCH] arch/x86_64/pci/mmconfig.c NULL noise removal
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
-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)