diff options
author | Takashi Iwai <tiwai@suse.de> | 2018-07-26 00:00:50 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2018-07-26 09:31:33 +0300 |
commit | dcda6f7853c52c42d242b474bfbd1d17d02c8870 (patch) | |
tree | 00e838db1529a96843b81cbff201ae50b7f20127 /sound | |
parent | bb86124c80780d9d2a2d9bef7f0840e61007ebb7 (diff) | |
download | linux-dcda6f7853c52c42d242b474bfbd1d17d02c8870.tar.xz |
ALSA: msnd: Use NULL instead of 0
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>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/isa/msnd/msnd_pinnacle.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/isa/msnd/msnd_pinnacle.c b/sound/isa/msnd/msnd_pinnacle.c index 7e3f52c8a6c6..11af9c40bc05 100644 --- 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); |