Re: [PATCH v4 1/1] drm/bridge: lt8912b: Fix issues found during static analysis

2021-03-31 Thread Dan Carpenter
On Wed, Mar 31, 2021 at 02:57:31PM +0200, Andrzej Hajda wrote: > > > > if (!of_device_is_compatible(port_node, "hdmi-connector")) { > > dev_err(lt->dev, "%s: Failed to get hdmi port\n", __func__); > > + of_node_put(port_node); > > ret = -EINVAL; > > +

Re: [PATCH v4 1/1] drm/bridge: lt8912b: Fix issues found during static analysis

2021-03-31 Thread Andrzej Hajda
W dniu 31.03.2021 o 13:49, Adrien Grassein pisze: > Some issues where found during static analysis of this driver. Subject should describe what has been fixed, description why. If there is multiple different issues maybe patch split would be better. > > Reported-by: Dan Carpenter >

Re: [PATCH v4 1/1] drm/bridge: lt8912b: Fix issues found during static analysis

2021-03-31 Thread Dan Carpenter
Thanks! regards, dan carpenter ___ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel

[PATCH v4 1/1] drm/bridge: lt8912b: Fix issues found during static analysis

2021-03-31 Thread Adrien Grassein
Some issues where found during static analysis of this driver. Reported-by: Dan Carpenter Suggested-by: Dan Carpenter Signed-off-by: Adrien Grassein --- drivers/gpu/drm/bridge/lontium-lt8912b.c | 27 +++- 1 file changed, 17 insertions(+), 10 deletions(-) diff --git