Skip to contentSkip to conversation

Minor patch to ppp_generic.c

Linux-ia64 Peter Chubb 1 participant 1 message Jun 14, 2002 Network drivers

lore
Share & tools
lore
#0 lore raw

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.

drivers/net/ppp_generic.c renamed from tmp/geta376 +2 -2
@@ -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);