aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorDmitry Baryshkov <[email protected]>2022-06-15 15:57:02 +0300
committerRob Clark <[email protected]>2022-09-18 09:38:02 -0700
commitbc778bb9841a6527d7fdd23062515e6d4a1b2874 (patch)
tree9b691ce07b5635d91608069c37034fc89e91124a /scripts/gdb/linux/utils.py
parent7538f80ae0d98bf51eb89eee5344aec219902d42 (diff)
drm/msm/dpu: fix error handling around dpu_hw_vbif_init
Using IS_ERR_OR_NULL() together with PTR_ERR() is a typical mistake. If the value is NULL, then the function will return 0 instead of a proper return code. Moreover dpu_hw_vbif_init() function can not return NULL. So, replace corresponding IS_ERR_OR_NULL() call with IS_ERR(). Reviewed-by: Abhinav Kumar <[email protected]> Signed-off-by: Dmitry Baryshkov <[email protected]> Patchwork: https://patchwork.freedesktop.org/patch/489570/ Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Dmitry Baryshkov <[email protected]> Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions