summaryrefslogtreecommitdiff
path: root/scripts/stackusage
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2026-05-11 16:37:08 +0200
committerWolfram Sang <wsa+renesas@sang-engineering.com>2026-05-30 23:57:18 +0200
commit2295d2bb101faa663fbc45fadbb3fec45f107441 (patch)
tree6b8fbf8beab7c7fb804846874f1faa4e718b0028 /scripts/stackusage
parent3c7e164344e5bcf6f274bbf59a3274f5caad9bc1 (diff)
i2c: core: fix NULL-deref on adapter registration failure
If adapter registration ever fails the release callback would trigger a NULL-pointer dereference as the completion struct has not been initialised. Note that before the offending commit this would instead have resulted in a minor memory leak of the adapter name. Fixes: 3f8c4f5e9a57 ("i2c: core: fix reference leak in i2c_register_adapter()") Cc: stable@vger.kernel.org Cc: Joe Hattori <joe@pf.is.s.u-tokyo.ac.jp> Signed-off-by: Johan Hovold <johan@kernel.org> Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions