mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-29 22:46:47 +07:00
PCI hotplug: cpcihp: fix debug module parameter to be bool
Fix debug variable from module parameter to be really bool to fix 'warning: return from incompatible pointer type'. Acked-by: Scott Murray <scott@spiteful.org> Signed-off-by: Danny Kukawka <danny.kukawka@bisect.de> Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
This commit is contained in:
parent
26f41062f2
commit
309c665110
@ -62,7 +62,7 @@
|
|||||||
#define warn(format, arg...) printk(KERN_WARNING "%s: " format "\n", MY_NAME , ## arg)
|
#define warn(format, arg...) printk(KERN_WARNING "%s: " format "\n", MY_NAME , ## arg)
|
||||||
|
|
||||||
/* local variables */
|
/* local variables */
|
||||||
static int debug;
|
static bool debug;
|
||||||
static char *bridge;
|
static char *bridge;
|
||||||
static u8 bridge_busnr;
|
static u8 bridge_busnr;
|
||||||
static u8 bridge_slot;
|
static u8 bridge_slot;
|
||||||
|
Loading…
Reference in New Issue
Block a user