Re: [PATCH] leds: make sure we unregister a trigger only once

2014-04-09 Thread Bryan Wu
On Mon, Apr 7, 2014 at 3:30 PM, Sasha Levin wrote: > On 04/07/2014 06:08 PM, Bryan Wu wrote: >> On Fri, Apr 4, 2014 at 10:01 AM, Sasha Levin wrote: >>> Currently, we may attempt to unregister a trigger more than once, for >>> example when we receive two consecutive reboot notifications, or when

Re: [PATCH] leds: make sure we unregister a trigger only once

2014-04-09 Thread Bryan Wu
On Mon, Apr 7, 2014 at 3:30 PM, Sasha Levin sasha.le...@oracle.com wrote: On 04/07/2014 06:08 PM, Bryan Wu wrote: On Fri, Apr 4, 2014 at 10:01 AM, Sasha Levin sasha.le...@oracle.com wrote: Currently, we may attempt to unregister a trigger more than once, for example when we receive two

Re: [PATCH] leds: make sure we unregister a trigger only once

2014-04-07 Thread Sasha Levin
On 04/07/2014 06:08 PM, Bryan Wu wrote: > On Fri, Apr 4, 2014 at 10:01 AM, Sasha Levin wrote: >> Currently, we may attempt to unregister a trigger more than once, for >> example when we receive two consecutive reboot notifications, or when >> we do a regular unregistration plus reboot

Re: [PATCH] leds: make sure we unregister a trigger only once

2014-04-07 Thread Bryan Wu
On Fri, Apr 4, 2014 at 10:01 AM, Sasha Levin wrote: > Currently, we may attempt to unregister a trigger more than once, for > example when we receive two consecutive reboot notifications, or when > we do a regular unregistration plus reboot notification. > > This leads to the following error

Re: [PATCH] leds: make sure we unregister a trigger only once

2014-04-07 Thread Bryan Wu
On Fri, Apr 4, 2014 at 10:01 AM, Sasha Levin sasha.le...@oracle.com wrote: Currently, we may attempt to unregister a trigger more than once, for example when we receive two consecutive reboot notifications, or when we do a regular unregistration plus reboot notification. This leads to the

Re: [PATCH] leds: make sure we unregister a trigger only once

2014-04-07 Thread Sasha Levin
On 04/07/2014 06:08 PM, Bryan Wu wrote: On Fri, Apr 4, 2014 at 10:01 AM, Sasha Levin sasha.le...@oracle.com wrote: Currently, we may attempt to unregister a trigger more than once, for example when we receive two consecutive reboot notifications, or when we do a regular unregistration plus

[PATCH] leds: make sure we unregister a trigger only once

2014-04-04 Thread Sasha Levin
Currently, we may attempt to unregister a trigger more than once, for example when we receive two consecutive reboot notifications, or when we do a regular unregistration plus reboot notification. This leads to the following error since we try to delete the list node twice: [ 2780.254922]

[PATCH] leds: make sure we unregister a trigger only once

2014-04-04 Thread Sasha Levin
Currently, we may attempt to unregister a trigger more than once, for example when we receive two consecutive reboot notifications, or when we do a regular unregistration plus reboot notification. This leads to the following error since we try to delete the list node twice: [ 2780.254922]