Re: [PATCH 2/4] v4l: async: abort if memory allocation fails when unregistering notifiers

2017-08-24 Thread Sakari Ailus
Hi Niklas, On Mon, Jul 31, 2017 at 12:31:56AM +0200, Niklas Söderlund wrote: > Instead of trying to cope with the failed memory allocation and still > leaving the kernel in a semi-broken state (the subdevices will be > released but never re-probed) simply abort. The kernel have already > printed

[PATCH 2/4] v4l: async: abort if memory allocation fails when unregistering notifiers

2017-07-30 Thread Niklas Söderlund
Instead of trying to cope with the failed memory allocation and still leaving the kernel in a semi-broken state (the subdevices will be released but never re-probed) simply abort. The kernel have already printed a warning about allocation failure but keep the error printout to ease pinpointing the