aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/unix_bpf.c
diff options
context:
space:
mode:
authorChristophe JAILLET <[email protected]>2023-12-03 15:24:05 +0000
committerGuenter Roeck <[email protected]>2023-12-03 17:07:26 +0000
commit35fe2ad259a3bfca15ab78c8ffb5278cb6149c89 (patch)
tree7337dd14adce938f1942cfa741ad30365f8eb62b /net/unix/unix_bpf.c
parenthwmon: (acpi_power_meter) Fix 4.29 MW bug (diff)
downloadkernel-35fe2ad259a3bfca15ab78c8ffb5278cb6149c89.tar.gz
kernel-35fe2ad259a3bfca15ab78c8ffb5278cb6149c89.zip
hwmon: (nzxt-kraken2) Fix error handling path in kraken2_probe()
There is no point in calling hid_hw_stop() if hid_hw_start() has failed. There is no point in calling hid_hw_close() if hid_hw_open() has failed. Update the error handling path accordingly. Fixes: 82e3430dfa8c ("hwmon: add driver for NZXT Kraken X42/X52/X62/X72") Reported-by: Aleksa Savic <[email protected]> Closes: https://lore.kernel.org/all/[email protected]/ Signed-off-by: Christophe JAILLET <[email protected]> Reviewed-by: Jonas Malaco <[email protected]> Link: https://lore.kernel.org/r/a768e69851a07a1f4e29f270f4e2559063f07343.1701617030.git.christophe.jaillet@wanadoo.fr Signed-off-by: Guenter Roeck <[email protected]>
Diffstat (limited to 'net/unix/unix_bpf.c')
0 files changed, 0 insertions, 0 deletions