diff options
| author | Dan Carpenter <[email protected]> | 2025-01-13 06:15:41 +0000 |
|---|---|---|
| committer | Benjamin Tissoires <[email protected]> | 2025-01-13 09:47:12 +0000 |
| commit | 0b0d62fa73f22884e1ddd4ed6e288f959ad116ae (patch) | |
| tree | f022b670900ca77508115a5dd4503a9cc16cd85f /net/unix/unix_bpf.c | |
| parent | HID: intel-thc-hid: intel-quicki2c: Add PM implementation (diff) | |
| download | kernel-0b0d62fa73f22884e1ddd4ed6e288f959ad116ae.tar.gz kernel-0b0d62fa73f22884e1ddd4ed6e288f959ad116ae.zip | |
HID: intel-thc-hid: intel-thc: Fix error code in thc_i2c_subip_init()
Return -ENOMEM if the allocation fails. Don't return success.
Fixes: 4228966def88 ("HID: intel-thc-hid: intel-thc: Add THC I2C config interfaces")
Signed-off-by: Dan Carpenter <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Benjamin Tissoires <[email protected]>
Diffstat (limited to 'net/unix/unix_bpf.c')
0 files changed, 0 insertions, 0 deletions
