diff options
| author | Adrien Grassein <[email protected]> | 2021-03-31 13:33:13 +0000 |
|---|---|---|
| committer | Robert Foss <[email protected]> | 2021-04-16 15:12:51 +0000 |
| commit | 5a7bd25992e48aacdbd73c09a54f15cd163e92cd (patch) | |
| tree | 766376225aea31c5c44b2756c1b3230cdb3f7108 /drivers/net/ethernet/intel/i40e/i40e_main.c | |
| parent | drm: bridge: fix LONTIUM use of mipi_dsi_() functions (diff) | |
| download | kernel-5a7bd25992e48aacdbd73c09a54f15cd163e92cd.tar.gz kernel-5a7bd25992e48aacdbd73c09a54f15cd163e92cd.zip | |
drm/bridge: lt8912b: fix incorrect handling of of_* return values
A static analysis shows several issues in the driver code at
probing time.
DT parsing errors were bad handled and could lead to bugs:
- Bad error detection;
- Bad release of resources
Fixes: 30e2ae943c26 ("drm/bridge: Introduce LT8912B DSI to HDMI bridge")
Reported-by: Dan Carpenter <[email protected]>
Suggested-by: Dan Carpenter <[email protected]>
Signed-off-by: Adrien Grassein <[email protected]>
Reviewed-by: Andrzej Hajda <[email protected]>
Reviewed-by: Dan Carpenter <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Signed-off-by: Robert Foss <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/i40e/i40e_main.c')
0 files changed, 0 insertions, 0 deletions
