projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bb86124
)
ALSA: msnd: Use NULL instead of 0
author
Takashi Iwai
<tiwai@suse.de>
Wed, 25 Jul 2018 21:00:50 +0000
(23:00 +0200)
committer
Takashi Iwai
<tiwai@suse.de>
Thu, 26 Jul 2018 06:31:33 +0000
(08:31 +0200)
Fix a sparse warning:
sound/isa/msnd/msnd_pinnacle.c:813:1: warning: Using plain integer as NULL pointer
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/isa/msnd/msnd_pinnacle.c
patch
|
blob
|
history
diff --git
a/sound/isa/msnd/msnd_pinnacle.c
b/sound/isa/msnd/msnd_pinnacle.c
index 7e3f52c8a6c69c1e4de332943e180f929e900449..11af9c40bc0535b19232eda34b5f04eb6b199876 100644
(file)
--- a/
sound/isa/msnd/msnd_pinnacle.c
+++ b/
sound/isa/msnd/msnd_pinnacle.c
@@
-810,7
+810,7
@@
module_param(calibrate_signal, int, 0444);
#ifndef MSND_CLASSIC
module_param_array(digital, int, NULL, 0444);
module_param_hw_array(cfg, long, ioport, NULL, 0444);
-module_param_array(reset, int,
0
, 0444);
+module_param_array(reset, int,
NULL
, 0444);
module_param_hw_array(mpu_io, long, ioport, NULL, 0444);
module_param_hw_array(mpu_irq, int, irq, NULL, 0444);
module_param_hw_array(ide_io0, long, ioport, NULL, 0444);