Re: [PATCH v2] v4l: async: Protect against double notifier registrations

2018-01-25 Thread Kieran Bingham
Hi Geert, Thanks for the review On 17/01/18 08:00, Geert Uytterhoeven wrote: > Hi Kieran, > > On Wed, Jan 17, 2018 at 12:47 AM, Kieran Bingham > wrote: >> From: Kieran Bingham >> >> It can be easy to attempt to register

Re: [PATCH v2] v4l: async: Protect against double notifier registrations

2018-01-17 Thread Geert Uytterhoeven
Hi Kieran, On Wed, Jan 17, 2018 at 12:47 AM, Kieran Bingham wrote: > From: Kieran Bingham > > It can be easy to attempt to register the same notifier twice > in mis-handled error cases such as working with -EPROBE_DEFER.

[PATCH v2] v4l: async: Protect against double notifier registrations

2018-01-16 Thread Kieran Bingham
From: Kieran Bingham It can be easy to attempt to register the same notifier twice in mis-handled error cases such as working with -EPROBE_DEFER. This results in odd kernel crashes where the notifier_list becomes corrupted due to adding the same entry