Re: [PATCH] regulator: event: Ensure atomicity for sequence number

From: Matti Vaittinen
Date: Fri Jan 05 2024 - 02:07:26 EST


Hi Naresh,

On 1/4/24 16:13, Naresh Solanki wrote:
Previously, the sequence number in the regulator event subsystem was
updated without atomic operations, potentially leading to race
conditions. This commit addresses the issue by making the sequence
number atomic.

Signed-off-by: Naresh Solanki <naresh.solanki@xxxxxxxxxxxxx>

Maybe this deserves a Fixes tag?

Other than that this looks great - Thanks!

Yours,
-- Matti


--
Matti Vaittinen
Linux kernel developer at ROHM Semiconductors
Oulu Finland

~~ When things go utterly wrong vim users can always type :help! ~~