Re: [PATCH] watchdog/iTCO_wdt: fix bug related to gcc uninit warning

From: Wim Van Sebroeck
Date: Wed Oct 11 2006 - 17:16:07 EST


Hi Jeff,

> gcc emits the following warning:
>
> drivers/char/watchdog/iTCO_wdt.c: In function âiTCO_wdt_ioctlâ:
> drivers/char/watchdog/iTCO_wdt.c:429: warning: âtime_leftâ may be used uninitialized in this function

Don't know how I missed that.
Anyway: patch applied to my linux-2.6-watchdog-mm tree.

Thanks,
Wim.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/