diff options
| author | Christophe JAILLET | 2025-03-03 20:58:06 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman | 2025-04-10 14:29:37 +0200 |
| commit | 20521ee78cd63f8631932094de12ae232fa60fe2 (patch) | |
| tree | 5abf3c421b61a4754da2e2f866a535d2c2d7a13d /scripts/checkstack.pl | |
| parent | 75148adf8cdfb6f3e3cf29b8897f15f31e7bc0ab (diff) | |
i2c: ali15x3: Fix an error handling path in ali15x3_probe()
[ Upstream commit 6e55caaf30c88209d097e575a169b1dface1ab69 ]
If i2c_add_adapter() fails, the request_region() call in ali15x3_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>
Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
Link: https://lore.kernel.org/r/9b2090cbcc02659f425188ea05f2e02745c4e67b.1741031878.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'scripts/checkstack.pl')
0 files changed, 0 insertions, 0 deletions
