Browse Source

[PATCH] arch/x86_64/pci/mmconfig.c NULL noise removal

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Al Viro 19 years ago
parent
commit
cc59853b4a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      arch/x86_64/pci/mmconfig.c

+ 1 - 1
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)