diff options
author | Andy Shevchenko <[email protected]> | 2024-01-14 16:39:21 +0200 |
---|---|---|
committer | Lee Jones <[email protected]> | 2024-03-07 09:03:28 +0000 |
commit | b1ba8bcb2d1ffce11b308ce166c9cc28d989e3b9 (patch) | |
tree | aa6a5266953386dd17469e9fb9db1f6f01e63824 /tools/testing/selftests/bpf/progs/recvmsg_unix_prog.c | |
parent | 7774f3d1dd3822e938e236df67766436c0debd11 (diff) |
backlight: hx8357: Fix potential NULL pointer dereference
The "im" pins are optional. Add missing check in the hx8357_probe().
Reported-by: Dan Carpenter <[email protected]>
Closes: https://lore.kernel.org/r/[email protected]
Fixes: 7d84a63a39b7 ("backlight: hx8357: Convert to agnostic GPIO API")
Signed-off-by: Andy Shevchenko <[email protected]>
Reviewed-by: Daniel Thompson <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Lee Jones <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/recvmsg_unix_prog.c')
0 files changed, 0 insertions, 0 deletions