diff options
| author | Peng Fan <peng.fan@nxp.com> | 2026-10-08 08:49:45 +0800 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-10-08 09:46:00 +0200 |
| commit | f52260f49b107fddbcf7c75f9cf2347a5031f0f7 (patch) | |
| tree | 3d52d7abff879d10b340339c5aae6de9db997d3d /scripts/livepatch | |
| parent | 5ff1a5ca9f58681f870501ac58c4293306fdce0e (diff) | |
| download | linux-next-f52260f49b107fddbcf7c75f9cf2347a5031f0f7.tar.gz linux-next-f52260f49b107fddbcf7c75f9cf2347a5031f0f7.zip | |
regmap: debugfs: Use __free(kfree) for regmap_reg_ranges_read_file
Convert buf and entry in regmap_reg_ranges_read_file() from manual
kfree() to __free(kfree) scope-based cleanup. This eliminates the
goto error path and the manual kfree(buf) on entry allocation failure,
simplifying the function to use straight-line returns.
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Link: https://patch.msgid.link/20261008-regmap-debugfs-fix-v1-1-3df2f25c01b6@nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'scripts/livepatch')
0 files changed, 0 insertions, 0 deletions
