Re: [PATCH V3 05/14] i3c: Make dev->desc locking assumptions explicit
[email protected] Tue, 04 Aug 2026 14:18:13 +0000
| Newsgroups | org.kernel.vger.linux-pci,org.infradead.lists.linux-i3c |
|---|---|
| Message-ID | <[email protected]> |
> i3c_device_get_info() takes the bus normal-use lock before accessing > dev->desc. Under that lock, the descriptor pointer is guaranteed to be > valid for the duration of the access. >=20 > Remove the unnecessary NULL check on dev->desc so the code more clearly > reflects the locking rules and expected descriptor lifetime. >=20 > Signed-off-by: Adrian Hunter <[email protected]> Sashiko has reviewed this patch and found no issues. It looks great! --=20 Sashiko AI review =C2=B7 https://sashiko.dev/#/patchset/20260804133810.1849= [email protected]?part=3D5