* [PATCH] Fix pcibios_setup
@ 2006-02-24 19:46 Matthew Wilcox
0 siblings, 0 replies; only message in thread
From: Matthew Wilcox @ 2006-02-24 19:46 UTC (permalink / raw)
To: linux-ia64
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>
Index: ./arch/ia64/pci/pci.c
=================================RCS file: /var/cvs/linux-2.6/arch/ia64/pci/pci.c,v
retrieving revision 1.30
diff -u -p -r1.30 pci.c
--- ./arch/ia64/pci/pci.c 4 Feb 2006 04:51:25 -0000 1.30
+++ ./arch/ia64/pci/pci.c 24 Feb 2006 19:40:20 -0000
@@ -579,7 +579,7 @@ pcibios_align_resource (void *data, stru
char * __init
pcibios_setup (char *str)
{
- return NULL;
+ return str;
}
int
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-02-24 19:46 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-24 19:46 [PATCH] Fix pcibios_setup Matthew Wilcox
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox