dst_gc_timer initialization
Subsystems (2)
PATCH 1/1 dst_gc_timer initialization
The second and third parameters of TIMER_INITIALIZER macro, which is used to initialize dst_gc_timer, are swapped. The patch puts them into the right order.
Alex
dst.c.patched renamed from dst.c +1 -1
@@ -40,7 +40,7 @@ static void ___dst_free(struct dst_entry * dst); static struct timer_list dst_gc_timer = - TIMER_INITIALIZER(dst_run_gc, 0, DST_GC_MIN); + TIMER_INITIALIZER(dst_run_gc, DST_GC_MIN, 0); static void dst_run_gc(unsigned long dummy) {
Quoted 3 lines · On Mon, 19 Jan 2004 16:14:07 -0800 Alex Pankratov <[email protected]> wrote:
The second and third parameters of
TIMER_INITIALIZERmacro, which is used to initializedst_gc_timer, are swapped. The patch puts them into the right order.
Patch applied, thanks Alex.