Re: [PATCH next] drm/bridge: ite-it6263: Prevent error pointer dereference in probe()

2025-01-14 Thread Liu Ying
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 con

Re: [PATCH next] drm/bridge: ite-it6263: Prevent error pointer dereference in probe()

2024-11-12 Thread Liu Ying
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 con

RE: [PATCH next] drm/bridge: ite-it6263: Prevent error pointer dereference in probe()

2024-11-12 Thread Biju Das
Hi Dan Carpenter, Thanks for the patch. > -Original Message- > From: Dan Carpenter > Sent: 12 November 2024 10:23 > Subject: [PATCH next] drm/bridge: ite-it6263: Prevent error pointer > dereference in probe() > > If devm_i2c_new_dummy_device() fails then we were

[PATCH next] drm/bridge: ite-it6263: Prevent error pointer dereference in probe()

2024-11-12 Thread Dan Carpenter
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 --- dr