* [Patch -next] Fix net/3c503.c build break
[not found] <20090904182309.dbb05c96.sfr@canb.auug.org.au>
@ 2009-09-04 10:36 ` Sachin Sant
2009-09-04 10:41 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: Sachin Sant @ 2009-09-04 10:36 UTC (permalink / raw)
To: netdev; +Cc: linux-next, David Miller
[-- Attachment #1: Type: text/plain, Size: 494 bytes --]
Today's Next failed to build on a x86 box with following error.
drivers/net/3c503.c: In function 'el2_open':
drivers/net/3c503.c:406: error: 'reval' undeclared (first use in this function)
drivers/net/3c503.c:406: error: (Each undeclared identifier is reported only once
drivers/net/3c503.c:406: error: for each function it appears in.)
Most probably because of commit ab08999d6029bb2c79c16be5405d63d2bedbdfea
The patch had a typo in it. Below patch fixes the issue for me.
Thanks
-Sachin
[-- Attachment #2: net-3c503-typo-fix.patch --]
[-- Type: text/x-patch, Size: 497 bytes --]
Fix a build break because of a typo in drivers/net/3c503.c
Signed-off-by: Sachin Sant <sachinp@in.ibm.com>
---
diff -Naurp a/drivers/net/3c503.c b/drivers/net/3c503.c
--- a/drivers/net/3c503.c 2009-09-04 15:50:06.000000000 +0530
+++ b/drivers/net/3c503.c 2009-09-04 15:50:41.000000000 +0530
@@ -403,7 +403,7 @@ el2_open(struct net_device *dev)
break;
} else {
if (retval != -EBUSY)
- return reval;
+ return retval;
}
} while (*++irqp);
if (*irqp == 0) {
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Patch -next] Fix net/3c503.c build break
2009-09-04 10:36 ` [Patch -next] Fix net/3c503.c build break Sachin Sant
@ 2009-09-04 10:41 ` David Miller
0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2009-09-04 10:41 UTC (permalink / raw)
To: sachinp; +Cc: netdev, linux-next
From: Sachin Sant <sachinp@in.ibm.com>
Date: Fri, 04 Sep 2009 16:06:02 +0530
> Today's Next failed to build on a x86 box with following error.
>
> drivers/net/3c503.c: In function 'el2_open':
> drivers/net/3c503.c:406: error: 'reval' undeclared (first use in this
> function)
> drivers/net/3c503.c:406: error: (Each undeclared identifier is
> reported only once
> drivers/net/3c503.c:406: error: for each function it appears in.)
>
> Most probably because of commit
> ab08999d6029bb2c79c16be5405d63d2bedbdfea
> The patch had a typo in it. Below patch fixes the issue for me.
Applied, thank you.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-09-04 10:41 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20090904182309.dbb05c96.sfr@canb.auug.org.au>
2009-09-04 10:36 ` [Patch -next] Fix net/3c503.c build break Sachin Sant
2009-09-04 10:41 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).