diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2025-03-03 23:26:54 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-03-22 22:56:58 +0300 |
commit | d5e3ecbd3cb3fd65f86fda7832b59187231295ad (patch) | |
tree | 69b91faadaf91889e43ebbd24e1c6e1d1e78d20d /scripts/gdb/linux/utils.py | |
parent | f2ca4f009509d5d0a01754a7e48f69dc5c35b2db (diff) | |
download | linux-d5e3ecbd3cb3fd65f86fda7832b59187231295ad.tar.xz |
i2c: sis630: Fix an error handling path in sis630_probe()
[ Upstream commit 2b22459792fcb4def9f0936d64575ac11a95a58d ]
If i2c_add_adapter() fails, the request_region() call in sis630_setup()
must be undone by a corresponding release_region() call, as done in the
remove function.
Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://lore.kernel.org/r/3d607601f2c38e896b10207963c6ab499ca5c307.1741033587.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions