mod_timer fix for synclink.c

mod_timer fix for synclink.c

Post by Vinay K Nallamoth » Sun, 04 May 2003 17:00:19

synclink.c: trivial {del,add}_timer to mod_timer conversion.

--- linux-2.5.68/drivers/char/synclink.c        2003-03-25 10:07:40.000000000 +0530


                        /* restart transmit timer */
-                       del_timer(&info->tx_timer);
-                       info->tx_timer.expires = jiffies + jiffies_from_ms(5000);
-                       add_timer(&info->tx_timer);
+                       mod_timer(&info->tx_timer, jiffies + jiffies_from_ms(5000));

                        ret = 1;

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at
Please read the FAQ at


1. 2.5.3-dj5 synclink.c fix so that it compiles

This is a temp fix for thje synclink.c file in drivers/char it work's for me
so DJ will you please apply this patch.
Thank you Victor Torres.
All it does it removes the #error please convert me to
it compiles and work's great for me.
Please apply

< 1K Download

2. On pl15 upgrade Mitsumi is not found

3. mod_timer fix for sch_cbq.c

4. Slack 1.1.1 and Remote X sessions

5. mod_timer fix for floppy.c

6. Installing with separate / and /usr partitions

7. trivial mod_timer fixes for sdla_chdlc.c

8. NEWBIE:Is there Single Port TCPIP Client/Server Program ?

9. IA64 SN mod_timer fix for kernel/irq.c

10. mod_timer fix for dst.c

11. mod_timer fix for sdla_fr.c

12. mod_timer fix for floppy98.c

13. fix mod_timer() race