[PATCH] llc & 2.5.48

From: Petr Vandrovec (vandrove@vc.cvut.cz)
Date: Mon Nov 18 2002 - 09:14:37 EST


Hi,
   patch below fixes couple of compilation warnings in llc.
Please apply.
                                        Thanks,
                                                Petr Vandrovec
                                                vandrove@vc.cvut.cz

diff -urdN linux/net/llc/llc_main.c linux/net/llc/llc_main.c
--- linux/net/llc/llc_main.c 2002-11-18 13:50:40.000000000 +0000
+++ linux/net/llc/llc_main.c 2002-11-18 13:55:51.000000000 +0000
@@ -181,22 +181,22 @@
         llc->inc_cntr = llc->dec_cntr = 2;
         llc->dec_step = llc->connect_step = 1;
 
- init_timer(&llc->ack_timer);
+ init_timer(&llc->ack_timer.timer);
         llc->ack_timer.expire = LLC_ACK_TIME;
         llc->ack_timer.timer.data = (unsigned long)sk;
         llc->ack_timer.timer.function = llc_conn_ack_tmr_cb;
 
- init_timer(&llc->pf_cycle_timer);
+ init_timer(&llc->pf_cycle_timer.timer);
         llc->pf_cycle_timer.expire = LLC_P_TIME;
         llc->pf_cycle_timer.timer.data = (unsigned long)sk;
         llc->pf_cycle_timer.timer.function = llc_conn_pf_cycle_tmr_cb;
 
- init_timer(&llc->rej_sent_timer);
+ init_timer(&llc->rej_sent_timer.timer);
         llc->rej_sent_timer.expire = LLC_REJ_TIME;
         llc->rej_sent_timer.timer.data = (unsigned long)sk;
         llc->rej_sent_timer.timer.function = llc_conn_rej_tmr_cb;
 
- init_timer(&llc->busy_state_timer);
+ init_timer(&llc->busy_state_timer.timer);
         llc->busy_state_timer.expire = LLC_BUSY_TIME;
         llc->busy_state_timer.timer.data = (unsigned long)sk;
         llc->busy_state_timer.timer.function = llc_conn_busy_tmr_cb;
-
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/



This archive was generated by hypermail 2b29 : Sat Nov 23 2002 - 22:00:22 EST