summaryrefslogtreecommitdiff
path: root/scripts/stackusage
diff options
context:
space:
mode:
authorVincent Cloutier <vincent@cloutier.co>2026-07-26 21:13:01 -0400
committerSebastian Reichel <sebastian.reichel@collabora.com>2026-07-27 20:32:38 +0200
commite8e7cdd9ce46a763e5428e2673e90c6a5f91f6d8 (patch)
tree5290992b0ef41fd9cb642654362d607072542e49 /scripts/stackusage
parentf05e30fd2ffd962e6f30dc0abd528b4182ecdf4b (diff)
downloadlinux-e8e7cdd9ce46a763e5428e2673e90c6a5f91f6d8.tar.gz
linux-e8e7cdd9ce46a763e5428e2673e90c6a5f91f6d8.zip
power: supply: max17042_battery: Use bool for init_complete
init_complete is a binary state. Change it from int to bool before adding retry support. The initialization worker and probe path update the flag while property reads sample it. Use READ_ONCE() and WRITE_ONCE() to make those lockless accesses explicit. Assisted-by: OpenCode:gpt-5.6-sol Signed-off-by: Vincent Cloutier <vincent@cloutier.co> Link: https://patch.msgid.link/20260727011319.621794-4-vincent.cloutier@icloud.com Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions