summaryrefslogtreecommitdiff
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorMichael Reeves <michael.reeves077@gmail.com>2026-10-06 18:03:15 +1100
committerMark Brown <broonie@kernel.org>2026-10-13 00:11:43 +0100
commit834035934cef9e60169de682f4dc9feafd49e51a (patch)
tree27e36351c404d50c09b64c1a105882780df30c2d /scripts/Makefile.thinlto
parent24a19b953e2a3d0ea5a8c4951a0ab8f32720c907 (diff)
downloadlinux-next-834035934cef9e60169de682f4dc9feafd49e51a.tar.gz
linux-next-834035934cef9e60169de682f4dc9feafd49e51a.zip
regmap: Remove debugfs before cache teardown
regmap_exit() and regmap_reinit_cache() destroy the register cache before removing debugfs. A concurrent debugfs cache operation can therefore access cache state after the backend exit callback starts freeing it. Remove debugfs before cache teardown, and clear the debugfs pointer after removal. During cache reinitialization, recreate debugfs only after the new cache initializes successfully. Signed-off-by: Michael Reeves <michael.reeves077@gmail.com> Reviewed-by: Peng Fan <peng.fan@nxp.com> Link: https://patch.msgid.link/20261006-regcache-lifecycle-submit-v3-1-37bdd82fd47c@gmail.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions