Skip to contentSkip to conversation

Fix pcibios_setup

PATCH New Matthew Wilcox 1 participant 1 message Feb 24, 2006

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

Index: ./arch/ia64/pci/pci.c
=================================RCS file: /var/cvs/linux-2.6/arch/ia64/pci/pci.c,v retrieving revision 1.30

arch/ia64/pci/pci.c +1 -1
diff -u -p -r1.30 pci.c
@@ -579,7 +579,7 @@ pcibios_align_resource (void *data, stru
 char * __init
 pcibios_setup (char *str)
 {
-	return NULL;
+	return str;
 }
 
 int