Forráskód Böngészése

[IA64] Fix pcibios_setup

pcibios_setup() should return NULL if it handled a parameter.  Since ia64
handles no parameters, it should return the string that was passed in,
not NULL.  This brings ia64 into line with all other architectures that
handle no parameters.

Signed-off-by: Matthew Wilcox <matthew@wil.cx>
Signed-off-by: Tony Luck <tony.luck@intel.com>
Matthew Wilcox 19 éve
szülő
commit
ac311ac2b7
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      arch/ia64/pci/pci.c

+ 1 - 1
arch/ia64/pci/pci.c

@@ -579,7 +579,7 @@ pcibios_align_resource (void *data, struct resource *res,
 char * __init
 pcibios_setup (char *str)
 {
-	return NULL;
+	return str;
 }
 
 int