lkml.org 
[lkml]   [2004]   [Feb]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[Compile Regression in 2.4.25-pre8][PATCH 14/42]

    dtc.c:182: warning: `dtc_setup' defined but not used

    dtc_setup isn't used when the driver is modular.

    diff -Nru -X dontdiff linux-2.4-vanilla/drivers/scsi/dtc.c linux-2.4/drivers/scsi/dtc.c
    --- linux-2.4-vanilla/drivers/scsi/dtc.c Tue Nov 11 17:51:39 2003
    +++ linux-2.4/drivers/scsi/dtc.c Sat Jan 31 17:17:40 2004
    @@ -172,6 +172,7 @@

    #define NO_SIGNATURES (sizeof (signatures) / sizeof (struct signature))

    +#ifndef MODULE
    /**
    * dtc_setup - option setup for dtc3x80
    *
    @@ -202,6 +203,7 @@
    }

    __setup("dtc=", dtc_setup);
    +#endif

    /**
    * dtc_detect - detect DTC 3x80 controllers
    --
    Reply-To: kronos@kronoz.cjb.net
    Home: http://kronoz.cjb.net
    Alcuni pensano che io sia una persona orribile, ma non vero. Ho il
    cuore di un ragazzino - in un vaso sulla scrivania.
    -
    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 14:00    [W:0.044 / U:96.944 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site