Re: [PATCH] HID: wacom: Make use of the helper function devm_add_action_or_reset()

From: Jiri Kosina
Date: Mon Oct 18 2021 - 11:26:35 EST


On Sun, 17 Oct 2021, Ping Cheng wrote:

> I tested the set of two patches. I didn't see any issues with them
> applied. But, while reviewing the patches, I noticed a minor logic
> mismatch between the current patch and the original code. I'd hope at
> least one of the maintainers (Jiri, Benjamin, or Dimitry) reviews this
> patch, especially the part that I commented below, to make sure that
> we don't trigger any race condition.

I don't see any issue with that ordering, but I'd also prefer for clarity
to keep updating the shared data structure under the mutex protection.

With that, please send me the series with both patches and the Acks /
Review-by accumulated, and I'll apply it.

Thanks,

--
Jiri Kosina
SUSE Labs