Re: [PATCH v2 2/9] i2c: atr: unlock mutex after c2a access
From: Romain Gantois
Date: Thu Feb 27 2025 - 05:44:28 EST
Hello Cosmin,
On mardi 25 février 2025 12:39:30 heure normale d’Europe centrale Cosmin
Tanislav wrote:
> i2c_atr_release_alias(), i2c_atr_destroy_c2a(), and c2a access, are
> protected everywhere with alias_pairs_lock, use it here too.
>
> i2c_atr_destroy_c2a() accesses the elements inside alias_pairs, which
> needs to be mutex protected.
This looks like something that should be fixed in my FPC202 series. I'll fix it
in v9 so that you don't have to do it in your series. FYI here's the link to
v8 of my FPC202 series:
https://lore.kernel.org/all/20250227-fpc202-v8-0-b7994117fbe2@xxxxxxxxxxx/
I'll put you in Cc of v9.
Thanks,
--
Romain Gantois, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
Attachment:
signature.asc
Description: This is a digitally signed message part.