lkml.org 
[lkml]   [2009]   [Feb]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 16/16] ALSA: msnd: fix sparse warning: Using plain integer as NULL pointer
    Date
    Fix this sparse warning:
    sound/isa/msnd/msnd_pinnacle.c:808:1: warning: Using plain integer as NULL pointer

    Signed-off-by: Hannes Eder <hannes@hanneseder.net>
    ---
    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 60b6abd..add6c0a 100644
    --- a/sound/isa/msnd/msnd_pinnacle.c
    +++ b/sound/isa/msnd/msnd_pinnacle.c
    @@ -805,7 +805,7 @@ module_param(calibrate_signal, int, S_IRUGO);
    #ifndef MSND_CLASSIC
    module_param_array(digital, int, NULL, S_IRUGO);
    module_param_array(cfg, long, NULL, S_IRUGO);
    -module_param_array(reset, int, 0, S_IRUGO);
    +module_param_array(reset, int, NULL, S_IRUGO);
    module_param_array(mpu_io, long, NULL, S_IRUGO);
    module_param_array(mpu_irq, int, NULL, S_IRUGO);
    module_param_array(ide_io0, long, NULL, S_IRUGO);


    \
     
     \ /
      Last update: 2009-02-22 01:09    [W:0.020 / U:62.292 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site