[PATCH next] drm/bridge: ite-it6263: Prevent error pointer dereference in probe()
Liu Ying
victor.liu at nxp.com
Wed Nov 13 01:59:39 UTC 2024
On 11/12/2024, Dan Carpenter wrote:
> If devm_i2c_new_dummy_device() fails then we were supposed to return an
> error code, but instead the function continues and will crash on the next
> line. Add the missing return statement.
>
> Fixes: 049723628716 ("drm/bridge: Add ITE IT6263 LVDS to HDMI converter")
> Signed-off-by: Dan Carpenter <dan.carpenter at linaro.org>
> ---
> drivers/gpu/drm/bridge/ite-it6263.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
Reviewed-by: Liu Ying <victor.liu at nxp.com>
More information about the dri-devel
mailing list