[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20081103.000558.90080007.davem@davemloft.net>
Date: Mon, 03 Nov 2008 00:05:58 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: vapier@...too.org
Cc: mano@...rinelk.homelinux.net, netdev@...r.kernel.org
Subject: Re: smc91x: commit 51ac3beffd4afaea4350526cf01fe74aaff25eff breaks
compilation
From: "Mike Frysinger" <vapier@...too.org>
Date: Mon, 3 Nov 2008 02:30:01 -0500
> On Mon, Nov 3, 2008 at 2:17 AM, Manuel Lauss wrote:
> > (Resend with correct netdev addr)
> >
> > Hi Mike,
> >
> > your commit 51ac3beffd4afaea4350526cf01fe74aaff25eff causes this
> > compile failure on my SH and MIPS testboards (2.6.28-rc3):
> >
> > CC drivers/net/smc91x.o
> > /mnt/work/sh7760/kernel/linux-2.6.git/drivers/net/smc91x.c: In function 'smc_request_attrib':
> > /mnt/work/sh7760/kernel/linux-2.6.git/drivers/net/smc91x.c:2067: error: 'lp' undeclared (first use in this function)
> > /mnt/work/sh7760/kernel/linux-2.6.git/drivers/net/smc91x.c:2067: error: (Each undeclared identifier is reported only once
> > /mnt/work/sh7760/kernel/linux-2.6.git/drivers/net/smc91x.c:2067: error: for each function it appears in.)
> > /mnt/work/sh7760/kernel/linux-2.6.git/drivers/net/smc91x.c: In function 'smc_release_attrib':
> > /mnt/work/sh7760/kernel/linux-2.6.git/drivers/net/smc91x.c:2079: error: 'lp' undeclared (first use in this function)
> > make[2]: *** [drivers/net/smc91x.o] Error 1
> > make[1]: *** [drivers/net/smc91x.o] Error 2
> >
> > Reverting this commit fixes it.
>
> are you using modifiied sources or something ? there's clearly no lp
> reference in mainline:
Mike, read the damn code!
ATTRIB_SIZE uses SMC_IO_SHIFT, which in some configurations
evaluates to 'lp->io_shift'.
See my other reply with the fix patch.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists