linux/drivers/hid/amd-sfh-hid
Basavaraj Natikar 2a33ad4a0b HID: amd_sfh: Fix warning unwind goto
Return directly instead of using existing goto will not cleanup
previously allocated resources. Hence replace return with goto
to fix warning unwind goto which cleanups previously allocated
resources.

Fixes: 93ce5e0231 ("HID: amd_sfh: Implement SFH1.1 functionality")
Reported-by: kernel test robot <lkp@intel.com>
Reported-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Basavaraj Natikar <Basavaraj.Natikar@amd.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
2023-01-06 16:06:05 +01:00
..
hid_descriptor HID: amd_sfh: Add descriptor operations in amd_mp2_ops 2022-07-21 13:43:58 +02:00
sfh1_1 HID: amd_sfh: Fix warning unwind goto 2023-01-06 16:06:05 +01:00
amd_sfh_client.c HID: amd_sfh: Fix warning unwind goto 2023-01-06 16:06:05 +01:00
amd_sfh_common.h HID: amd_sfh: Implement SFH1.1 functionality 2022-07-21 13:44:04 +02:00
amd_sfh_hid.c HID: amd_sfh: Add NULL check for hid device 2022-07-21 13:43:58 +02:00
amd_sfh_hid.h HID: amd_sfh: Add descriptor operations in amd_mp2_ops 2022-07-21 13:43:58 +02:00
amd_sfh_pcie.c HID: AMD_SFH: Add a DMI quirk entry for Chromebooks 2022-08-25 11:42:54 +02:00
amd_sfh_pcie.h HID: amd_sfh: Move global functions to static 2022-07-21 13:43:59 +02:00
Kconfig
Makefile HID: amd_sfh: Implement SFH1.1 functionality 2022-07-21 13:44:04 +02:00