lkml.org 
[lkml]   [1999]   [Jan]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[patch]2.2.0-pre5 warnings
    Hello Linus/Alan,
    These patches removes warning with sound configured. New call to
    request_module in soundcore_open of sound_core.c resulted in
    prototype warning and unused variable dummy in ess_init of sb_common.c.
    Please apply to pre6 and to your tree also Alan.
    Thanks,
    Albert

    --- linux-2.2.0-pre5/drivers/sound/sound_core.c.orig Thu Jan 7
    01:57:04 1999
    +++ linux/drivers/sound/sound_core.c Thu Jan 7 02:00:15 1999
    @@ -43,6 +43,9 @@
    #include <linux/fs.h>
    #include <linux/sound.h>
    #include <linux/major.h>
    +#ifdef CONFIG_KMOD
    +#include <linux/kmod.h>
    +#endif


    struct sound_unit
    --- linux-2.2.0-pre5/drivers/sound/sb_common.c.orig Thu Jan 7
    02:17:16 1999
    +++ linux/drivers/sound/sb_common.c Thu Jan 7 02:18:16 1999
    @@ -568,8 +568,6 @@
    chip = "ES688";
    };
    if (chip == NULL) {
    - int type, dummy;
    -
    type = ess_identify (devc);

    switch (type) {
    ----PATCH END------
    --
    Albert Cranford Deerfield Beach FL USA
    AlbertC@millennium.net
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.rutgers.edu
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 13:49    [W:0.018 / U:0.508 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site