PATCH: (forwarded) fix atm errors with gcc 3.2

PATCH: (forwarded) fix atm errors with gcc 3.2

Post by Alan Co » Wed, 09 Oct 2002 21:10:09

diff -u --new-file --recursive --exclude-from /usr/src/exclude linux.2.5.41/drivers/atm/firestream.c linux.2.5.41-ac1/drivers/atm/firestream.c
--- linux.2.5.41/drivers/atm/firestream.c       2002-10-02 21:33:21.000000000 +0100

 #define FS_DEBUG_QSIZE   0x00001000

-#define func_enter() fs_dprintk (FS_DEBUG_FLOW, "fs: enter " __FUNCTION__ "\n")
-#define func_exit()  fs_dprintk (FS_DEBUG_FLOW, "fs: exit  " __FUNCTION__ "\n")
+#define func_enter() fs_dprintk(FS_DEBUG_FLOW, "fs: enter %s\n", __FUNCTION__ )
+#define func_exit()  fs_dprintk(FS_DEBUG_FLOW, "fs: exit %s\n", __FUNCTION__ )

                                skb_put (skb, qe->p1 & 0xffff);
                                ATM_SKB(skb)->vcc = atm_vcc;
-                               skb->stamp = xtime;
+                               do_gettimeofday(&skb->stamp);
                                fs_dprintk (FS_DEBUG_ALLOC, "Free rec-skb: %p (pushed)\n", skb);
                                atm_vcc->push (atm_vcc, skb);
                                fs_dprintk (FS_DEBUG_ALLOC, "Free rec-d: %p\n", pe);
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at
Please read the FAQ at