lkml.org 
[lkml]   [2009]   [Feb]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 3/7] sound/pci/hda: fix sparse warning: different signedness
    Date
    Fix this sparse warning:
    sound/pci/hda/hda_codec.c:1544:19: warning: incorrect type in assignment (different signedness)
    sound/pci/hda/hda_codec.c:1544:19: expected unsigned long *vals
    sound/pci/hda/hda_codec.c:1544:19: got long *<noident>

    Signed-off-by: Hannes Eder <hannes@hanneseder.net>
    ---
    sound/pci/hda/hda_local.h | 2 +-
    1 files changed, 1 insertions(+), 1 deletions(-)

    diff --git a/sound/pci/hda/hda_local.h b/sound/pci/hda/hda_local.h
    index 4bd82a3..03ee9dd 100644
    --- a/sound/pci/hda/hda_local.h
    +++ b/sound/pci/hda/hda_local.h
    @@ -136,7 +136,7 @@ extern struct hda_ctl_ops snd_hda_bind_sw; /* for bind-switch */

    struct hda_bind_ctls {
    struct hda_ctl_ops *ops;
    - long values[];
    + unsigned long values[];
    };

    int snd_hda_mixer_bind_ctls_info(struct snd_kcontrol *kcontrol,


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