Re: [PATCH v2] drm/bridge: display-connector: implement the error path of .probe()

2025-01-30 Thread Joe Hattori
-connector-implement-the-error-path-of-probe/20241214-230605 base: linus/master patch link: https://lore.kernel.org/r/20241214012652.2104807-1-joe%40pf.is.s.u-tokyo.ac.jp patch subject: [PATCH v2] drm/bridge: display-connector: implement the error path of .probe() config: x86_64-randconfig-161

Re: [PATCH v2] drm/bridge: display-connector: implement the error path of .probe()

2025-01-06 Thread Dan Carpenter
/master patch link: https://lore.kernel.org/r/20241214012652.2104807-1-joe%40pf.is.s.u-tokyo.ac.jp patch subject: [PATCH v2] drm/bridge: display-connector: implement the error path of .probe() config: x86_64-randconfig-161-20241220 (https://download.01.org/0day-ci/archive/20241221/202412212129

Re: [PATCH v2] drm/bridge: display-connector: implement the error path of .probe()

2024-12-14 Thread Laurent Pinchart
Hi Joe, Thank you for the patch. On Sat, Dec 14, 2024 at 10:26:52AM +0900, Joe Hattori wrote: > Current implementation of .probe() leaks a reference of i2c_adapter. > Implement an error path and call put_device() on the obtained > i2c_adapter in it to fix this refcount bug. > > This bug was foun

Re: [PATCH v2] drm/bridge: display-connector: implement the error path of .probe()

2024-12-14 Thread Dmitry Baryshkov
On Sat, Dec 14, 2024 at 10:26:52AM +0900, Joe Hattori wrote: > Current implementation of .probe() leaks a reference of i2c_adapter. > Implement an error path and call put_device() on the obtained > i2c_adapter in it to fix this refcount bug. > > This bug was found by an experimental static analysi

[PATCH v2] drm/bridge: display-connector: implement the error path of .probe()

2024-12-14 Thread Joe Hattori
Current implementation of .probe() leaks a reference of i2c_adapter. Implement an error path and call put_device() on the obtained i2c_adapter in it to fix this refcount bug. This bug was found by an experimental static analysis tool that I am developing. Fixes: 0c275c30176b ("drm/bridge: Add bri