lkml.org 
[lkml]   [2004]   [Feb]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [Compile Regression in 2.4.25-pre8][PATCH 15/42]


On Mon, 2 Feb 2004, Kronos wrote:

>
> ../fdomain.c:565: warning: `fdomain_setup' defined but not used
>
> fdomain_setup isn't used when the driver is modular.
>
> diff -Nru -X dontdiff linux-2.4-vanilla/drivers/scsi/fdomain.c linux-2.4/drivers/scsi/fdomain.c
> --- linux-2.4-vanilla/drivers/scsi/fdomain.c Sat Jan 31 15:54:42 2004
> +++ linux-2.4/drivers/scsi/fdomain.c Sat Jan 31 17:21:13 2004
> @@ -561,6 +561,7 @@
> printk( "\n" );
> }
>
> +#ifndef MODULE
> static int __init fdomain_setup( char *str )
> {
> int ints[4];
> @@ -584,6 +585,7 @@
> }
>
> __setup("fdomain=", fdomain_setup);
> +#endif
>
>
> static void do_pause( unsigned amount ) /* Pause for amount*10 milliseconds */

What?

from fdomain.c:

#ifdef MODULE
if (fdomain)
fdomain_setup(fdomain);
#endif


-
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.184 / U:0.120 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site