diff options
| author | Christophe JAILLET <[email protected]> | 2025-03-03 19:58:06 +0000 |
|---|---|---|
| committer | Andi Shyti <[email protected]> | 2025-03-12 11:24:52 +0000 |
| commit | 6e55caaf30c88209d097e575a169b1dface1ab69 (patch) | |
| tree | d2edc94ee3e4096dd426328c9ac6d02d044c3e6a /net/unix/unix_bpf.c | |
| parent | i2c: ali1535: Fix an error handling path in ali1535_probe() (diff) | |
| download | kernel-6e55caaf30c88209d097e575a169b1dface1ab69.tar.gz kernel-6e55caaf30c88209d097e575a169b1dface1ab69.zip | |
i2c: ali15x3: Fix an error handling path in ali15x3_probe()
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 <[email protected]>
Signed-off-by: Andi Shyti <[email protected]>
Link: https://lore.kernel.org/r/9b2090cbcc02659f425188ea05f2e02745c4e67b.1741031878.git.christophe.jaillet@wanadoo.fr
Diffstat (limited to 'net/unix/unix_bpf.c')
0 files changed, 0 insertions, 0 deletions
