diff options
| author | 2026-01-16 08:10:18 +0000 | |
|---|---|---|
| committer | 2026-01-20 09:52:26 +0100 | |
| commit | faff6846474e99295a139997f93ef6db222b5cee (patch) | |
| tree | 31cf0dcd195e7c3c0bd9fa7a535fb6a2534cae52 /tools/testing/selftests/dm-verity/git:/ssh:/git@git.zx2c4.com | |
| parent | Linux 6.19-rc6 (diff) | |
gpio: cdev: Correct return code on memory allocation failure
-ENOMEM is a more appropriate return code for memory allocation
failures. Correct it.
Cc: stable@vger.kernel.org
Fixes: 20bddcb40b2b ("gpiolib: cdev: replace locking wrappers for gpio_device with guards")
Signed-off-by: Tzung-Bi Shih <tzungbi@kernel.org>
Link: https://lore.kernel.org/r/20260116081036.352286-6-tzungbi@kernel.org
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Diffstat (limited to 'tools/testing/selftests/dm-verity/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
