Re: v2.3.17pre1 - Patches, Complaints, Questions and Jubilations

list.kernel@iahastie.clara.net
Sun, 05 Sep 1999 15:29:17 +0100


>Perhaps the following patch should be applied -- at least then the
>compiler warning won't cause people to attempt to `fix' it.
>
>--- 8390.c~ Sun Sep 5 11:48:50 1999
>+++ 8390.c Sun Sep 5 11:55:15 1999
>@@ -1090,6 +1090,9 @@
> {
> int e8390_base = dev->base_addr;
> struct ei_device *ei_local = (struct ei_device *) dev->priv;
>+
>+ /* Suppress compiler warning. See EI_SHIFT in 8390.h for details */
>+ (void)ei_local;

Or use __attribute__ ((__unused__)) on the declaration.

p.

-
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/

-
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/