lkml.org 
[lkml]   [1999]   [Sep]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
SubjectRe: v2.3.17pre1 - Patches, Complaints, Questions and Jubilations
Date
From
alan@lxorguk.ukuu.org.uk (Alan Cox) writes:
> > 8390.c: In function `NS8390_trigger_send':
> > 8390.c:1092: warning: unused variable `ei_local'
>
> Not this one again. Its not a bug, its used on some non x86 builds ;)

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;

outb_p(E8390_NODMA+E8390_PAGE0, e8390_base+E8390_CMD);

--
`O O' | Home: Nick.Holloway@alfie.demon.co.uk http://www.alfie.demon.co.uk/
// ^ \\ | Work: Nick.Holloway@parallax.co.uk
-
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/



-
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:53    [W:0.235 / U:0.328 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site