Re: [PATCH -next] iio: core: fix missing mutex_unlock() in iio_device_claim_buffer_mode()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Nov 4, 2022 at 11:05 AM Peng Wu <wupeng58@xxxxxxxxxx> wrote:
>
> In the success path of iio_device_claim_buffer_mode(), mutex_unlock()
> should be called before return.

Please, understand how the code works.
NAK.

Nuno, perhaps we need to put a comment inside the function to explain this?

-- 
With Best Regards,
Andy Shevchenko



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux