Re: [PATCH] drm/msm/dsi: add missing put_device()

2023-07-18 Thread Dmitry Baryshkov
On 18/07/2023 11:33, sunran...@208suo.com wrote: The of_find_device_by_node() takes a reference to the underlying device structure, we should release that reference. Detected by coccinelle with the following ERROR: ./drivers/gpu/drm/msm/dsi/dsi.c:50:1-7: ERROR: missing put_device; call of_find_d

[PATCH] drm/msm/dsi: add missing put_device()

2023-07-18 Thread sunran001
The of_find_device_by_node() takes a reference to the underlying device structure, we should release that reference. Detected by coccinelle with the following ERROR: ./drivers/gpu/drm/msm/dsi/dsi.c:50:1-7: ERROR: missing put_device; call of_find_device_by_node on line 32, but without a correspond

Re: [PATCH] drm/msm/dsi: add missing put_device()

2023-07-18 Thread Dmitry Baryshkov
On 18/07/2023 11:13, sunran...@208suo.com wrote: The of_find_device_by_node() takes a reference to the underlying device structure, we should release that reference. Detected by coccinelle with the following ERROR: ./drivers/gpu/drm/msm/dsi/dsi.c:50:1-7: ERROR: missing put_device; call of_find_d

[PATCH] drm/msm/dsi: add missing put_device()

2023-07-18 Thread sunran001
The of_find_device_by_node() takes a reference to the underlying device structure, we should release that reference. Detected by coccinelle with the following ERROR: ./drivers/gpu/drm/msm/dsi/dsi.c:50:1-7: ERROR: missing put_device; call of_find_device_by_node on line 32, but without a correspond