Skip to contentSkip to conversation

cpcihp_generic: fix module_param data type

PATCH Applied Randy.Dunlap 2 participants 2 messages Nov 16, 2004 – Nov 19, 2004

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 cpcihp_generic: fix module_param data type

drivers/pci/hotplug/cpcihp_generic.c:214: warning: return from incompatible pointer type

diffstat:=

  drivers/pci/hotplug/cpcihp_generic.c |    2 +-
  1 files changed, 1 insertion(+), 1 deletion(-)
drivers/pci/hotplug/cpcihp_generic.c renamed from drivers/pci/hotplug/cpcihp_generic.c~cpcihp_charp +1 -1
diff -Naurp ./drivers/pci/hotplug/cpcihp_generic.c~cpcihp_charp ./drivers/pci/hotplug/cpcihp_generic.c
@@ -63,7 +63,7 @@
 
 /* local variables */
 static int debug;
-static char bridge[256];
+static char *bridge;
 static u8 bridge_busnr;
 static u8 bridge_slot;
 static struct pci_bus *bus;
Applied
#1 lore raw
Quoted 9 lines · Randy.Dunlap

drivers/pci/hotplug/cpcihp_generic.c:214: warning: return from incompatible pointer type

diffstat:=

  drivers/pci/hotplug/cpcihp_generic.c |    2 +-
  1 files changed, 1 insertion(+), 1 deletion(-)

Applied, thanks.

greg k-h