diff options
| author | Carlo Szelinsky <github@szelinsky.de> | 2026-10-20 19:11:32 +0200 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-10-20 18:18:21 -0700 |
| commit | 70c29b35fd87f87a7b8dad6eb8d55ce54a0d549a (patch) | |
| tree | 891ebd68d9e046b7e37907e6c74328ae7c90216a /tools/lib/python/kdoc | |
| parent | 599d0e97610f09162d84c4ede4164628c066921e (diff) | |
net: pse-pd: si3474: fix use-after-free in ancillary client error path
If devm_add_action_or_reset() fails, it has already unregistered the
ancillary I2C client, and the error message then reads that client's
device. It can only fail with -ENOMEM, which is already reported, so
drop the message.
Found by code inspection. Not reproduced.
Fixes: a2317231df4b ("net: pse-pd: Add Si3474 PSE controller driver")
Reviewed-by: Kory Maincent <kory.maincent@bootlin.com>
Signed-off-by: Carlo Szelinsky <github@szelinsky.de>
Link: https://patch.msgid.link/20261020171134.852878-2-github@szelinsky.de
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/lib/python/kdoc')
0 files changed, 0 insertions, 0 deletions
