Re: [PATCH v1 1/1] backlight: hx8357: Fix potential NULL pointer dereference
From: Daniel Thompson <hidden>
Date: 2024-01-15 17:21:30
Also in:
dri-devel, lkml
From: Daniel Thompson <hidden>
Date: 2024-01-15 17:21:30
Also in:
dri-devel, lkml
On Sun, Jan 14, 2024 at 04:39:21PM +0200, Andy Shevchenko wrote:
The "im" pins are optional. Add missing check in the hx8357_probe(). Reported-by: Dan Carpenter <redacted> Closes: https://lore.kernel.org/r/642e1230-3358-4006-a17f-3f297897ae74@moroto.mountain (local) Fixes: 7d84a63a39b7 ("backlight: hx8357: Convert to agnostic GPIO API") Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Daniel Thompson <redacted> Daniel.