Re: [PATCH] watchdog: Fix race condition in registration code

2013-04-06 Thread Arkadiusz Miskiewicz
On Saturday 06 of April 2013, Guenter Roeck wrote: > A race condition exists when registering the first watchdog device. > Sequence of events: > > - watchdog_register_device calls watchdog_dev_register > - watchdog_dev_register creates the watchdog misc device by calling > misc_register. > At

Re: [PATCH] watchdog: Fix race condition in registration code

2013-04-06 Thread Arkadiusz Miskiewicz
On Saturday 06 of April 2013, Guenter Roeck wrote: A race condition exists when registering the first watchdog device. Sequence of events: - watchdog_register_device calls watchdog_dev_register - watchdog_dev_register creates the watchdog misc device by calling misc_register. At that

[PATCH] watchdog: Fix race condition in registration code

2013-04-05 Thread Guenter Roeck
A race condition exists when registering the first watchdog device. Sequence of events: - watchdog_register_device calls watchdog_dev_register - watchdog_dev_register creates the watchdog misc device by calling misc_register. At that time, the matching character device (/dev/watchdog0) does

[PATCH] watchdog: Fix race condition in registration code

2013-04-05 Thread Guenter Roeck
A race condition exists when registering the first watchdog device. Sequence of events: - watchdog_register_device calls watchdog_dev_register - watchdog_dev_register creates the watchdog misc device by calling misc_register. At that time, the matching character device (/dev/watchdog0) does