public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
* [Linux-ia64] Minor patch to ppp_generic.c
@ 2002-06-14  0:01 Peter Chubb
  0 siblings, 0 replies; only message in thread
From: Peter Chubb @ 2002-06-14  0:01 UTC (permalink / raw)
  To: linux-ia64

To compile ppp_generic.c, you need to attached patch, because the IA64
headers #define outl to be something that doesn't look like a label.

The `real' fix is probably to fix the outl definitions to avoid using
up namespace.


--- /tmp/geta376	Fri Jun 14 09:57:19 2002
+++ linux-2.5.18-patched/drivers/net/ppp_generic.c	Fri Jun 14 09:54:49 2002
@@ -2437,7 +2437,7 @@
 	write_lock_bh(&pch->upl);
 	ret = -EINVAL;
 	if (pch->ppp != 0)
-		goto outl;
+		goto out1;
 
 	ppp_lock(ppp);
 	if (pch->file.hdrlen > ppp->file.hdrlen)
@@ -2452,7 +2452,7 @@
 	ppp_unlock(ppp);
 	ret = 0;
 
- outl:
+ out1:
 	write_unlock_bh(&pch->upl);
  out:
 	up(&all_ppp_sem);


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-06-14  0:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-06-14  0:01 [Linux-ia64] Minor patch to ppp_generic.c Peter Chubb

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox