From f4a4ff8de8b2f23266ab11b7b962dc0fe8f959ce Mon Sep 17 00:00:00 2001 From: Chas Williams Date: Wed, 2 Apr 2003 12:39:17 -0800 Subject: [PATCH] [ATM]: Fix IPHASE build with debugging enabled. --- drivers/atm/iphase.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/atm/iphase.c b/drivers/atm/iphase.c index 269af5dd557a6..7d47bb1288c53 100644 --- a/drivers/atm/iphase.c +++ b/drivers/atm/iphase.c @@ -2976,7 +2976,7 @@ static int ia_pkt_tx (struct atm_vcc *vcc, struct sk_buff *skb) { 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; -- 2.53.0