lkml.org 
[lkml]   [2003]   [Jul]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    SubjectPATCH: fix i810 and cs46xx crashes

    diff -u --new-file --recursive --exclude-from /usr/src/exclude linux.22-pre5/drivers/sound/cs46xx.c linux.22-pre5-ac1/drivers/sound/cs46xx.c
    --- linux.22-pre5/drivers/sound/cs46xx.c 2003-07-14 12:27:39.000000000 +0100
    +++ linux.22-pre5-ac1/drivers/sound/cs46xx.c 2003-07-07 16:08:18.000000000 +0100
    @@ -4257,7 +4257,6 @@
    for (num_ac97 = 0; num_ac97 < NR_AC97; num_ac97++) {
    if ((codec = ac97_alloc_codec()) == NULL)
    return -ENOMEM;
    - memset(codec, 0, sizeof(struct ac97_codec));

    /* initialize some basic codec information, other fields will be filled
    in ac97_probe_codec */
    diff -u --new-file --recursive --exclude-from /usr/src/exclude linux.22-pre5/drivers/sound/i810_audio.c linux.22-pre5-ac1/drivers/sound/i810_audio.c
    --- linux.22-pre5/drivers/sound/i810_audio.c 2003-07-14 12:27:39.000000000 +0100
    +++ linux.22-pre5-ac1/drivers/sound/i810_audio.c 2003-07-07 16:08:18.000000000 +0100
    @@ -2875,7 +2875,6 @@

    if ((codec = ac97_alloc_codec()) == NULL)
    return -ENOMEM;
    - memset(codec, 0, sizeof(struct ac97_codec));

    /* initialize some basic codec information, other fields will be filled
    in ac97_probe_codec */
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/
    \
     
     \ /
      Last update: 2005-03-22 13:46    [W:0.020 / U:59.812 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site