aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/testing/selftests/dm-verity/git:/ssh:/git@git.zx2c4.com
diff options
context:
space:
mode:
authorMyeonghun Pak <mhun512@gmail.com>2026-04-24 21:50:41 +0900
committerJiri Kosina <jkosina@suse.com>2026-05-12 18:01:05 +0200
commitb08665fe80fab0956e64741c07d9bbcec635c34d (patch)
tree5c8efc09d9e3f6cbe1d477b75a4eb4474e973d59 /tools/testing/selftests/dm-verity/git:/ssh:/git@git.zx2c4.com
parentHID: appletb-kbd: run inactivity autodim from workqueues (diff)
HID: google: hammer: stop hardware on devres action failure
hammer_probe() starts the HID hardware before registering the devres action that stops it. If devm_add_action() fails, probe returns an error with the hardware still started because the cleanup action was never registered and the driver's remove callback is not called after a failed probe. Use devm_add_action_or_reset() so the stop action runs immediately on registration failure while preserving the existing devres-managed cleanup path for later probe failures and remove. Signed-off-by: Myeonghun Pak <mhun512@gmail.com> Signed-off-by: Jiri Kosina <jkosina@suse.com>
Diffstat (limited to 'tools/testing/selftests/dm-verity/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions