Subrata Modak wrote: > The following patch will solve the build problem reported by Sachin. > But would leave the following warnings. I hope we can ignore them: > > net/netfilter/xt_LED.c: In function �led_timeout_callback�: > net/netfilter/xt_LED.c:78: warning: unused variable �ledinternal� > net/netfilter/xt_LED.c: In function �led_tg_check�: > net/netfilter/xt_LED.c:87: warning: unused variable �err� > > Signed-Off-By: Subrata Modak > --- > > --- a/linux-2.6.29/net/netfilter/xt_LED.c 2009-03-25 18:38:08.000000000 +0530 > +++ b/linux-2.6.29/net/netfilter/xt_LED.c 2009-03-25 18:26:55.000000000 +0530 > @@ -99,6 +99,7 @@ static bool led_tg_check(const struct xt > > ledinternal->netfilter_led_trigger.name = ledinfo->id; > > +#ifdef CONFIG_LEDS_TRIGGERS ... Does this patch fix it?