Re: 2.5.66-mm3: drivers/atm/iphase.c doesn't compile

chas williams (chas@locutus.cmf.nrl.navy.mil)
Thu, 03 Apr 2003 07:24:03 -0500


In message <20030403121422.GJ3693@fs.tum.de>,Adrian Bunk writes:
>drivers/atm/iphase.c:2979: `pad' undeclared (first use in this function)
>drivers/atm/iphase.c:2979: (Each undeclared identifier is reported only once
>drivers/atm/iphase.c:2979: for each function it appears in.)

i missed this one since i normally dont compile the iphase with debugging.
apply the following please to the 2.4 and 2.5 tree:

Index: linux/drivers/atm/iphase.c
===================================================================
RCS file: /home/chas/CVSROOT/linux/drivers/atm/iphase.c,v
retrieving revision 1.2
diff -u -r1.2 iphase.c
--- linux/drivers/atm/iphase.c 26 Mar 2003 17:28:02 -0000 1.2
+++ linux/drivers/atm/iphase.c 3 Apr 2003 12:20:15 -0000
@@ -2976,7 +2970,7 @@
make it aligned on a 48 byte boundary. */
total_len = skb->len + sizeof(struct cpcs_trailer);
total_len = ((total_len + 47) / 48) * 48;
- IF_TX(printk("ia packet len:%d padding:%d\n", total_len, pad);)
+ IF_TX(printk("ia packet len:%d padding:%d\n", total_len, total_len - skb->len);)

/* Put the packet in a tx buffer */
trailer = iadev->tx_buf[desc-1].cpcs;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/