Re: [char-misc for 3.8] mei: avoid oops in watchdog unregister code path

2012-12-16 Thread Wanlong Gao
On 12/16/2012 07:23 PM, Tomas Winkler wrote: > With commit c7d3df3 "mei: use internal watchdog device registration > tracking" will crash the kernel on shutdown path on systems > where ME watchdog is not present. > Since the watchdog was never initialized in such case > the WDOG_UNREGISTERED bit

[char-misc for 3.8] mei: avoid oops in watchdog unregister code path

2012-12-16 Thread Tomas Winkler
With commit c7d3df3 "mei: use internal watchdog device registration tracking" will crash the kernel on shutdown path on systems where ME watchdog is not present. Since the watchdog was never initialized in such case the WDOG_UNREGISTERED bit is never set and the system crashes on access to

[char-misc for 3.8] mei: avoid oops in watchdog unregister code path

2012-12-16 Thread Tomas Winkler
With commit c7d3df3 mei: use internal watchdog device registration tracking will crash the kernel on shutdown path on systems where ME watchdog is not present. Since the watchdog was never initialized in such case the WDOG_UNREGISTERED bit is never set and the system crashes on access to

Re: [char-misc for 3.8] mei: avoid oops in watchdog unregister code path

2012-12-16 Thread Wanlong Gao
On 12/16/2012 07:23 PM, Tomas Winkler wrote: With commit c7d3df3 mei: use internal watchdog device registration tracking will crash the kernel on shutdown path on systems where ME watchdog is not present. Since the watchdog was never initialized in such case the WDOG_UNREGISTERED bit is never