aboutsummaryrefslogtreecommitdiff
path: root/drivers/platform/surface/aggregator/ssh_parser.c
diff options
context:
space:
mode:
authorDmitry Baryshkov <[email protected]>2023-12-02 00:18:34 +0300
committerDmitry Baryshkov <[email protected]>2023-12-05 22:14:33 +0300
commitb830b06f008755526646bb1d12500c8ccd8be335 (patch)
tree080ddf3a49d26cbd6c9b0f94aab5f2020e855f2d /drivers/platform/surface/aggregator/ssh_parser.c
parent134c78c962279e423f5d699e3d3b379cbf4885c8 (diff)
drm/msm/dpu: remove IS_ERR_OR_NULL for dpu_hw_intr_init() error handling
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. Replace IS_ERR_OR_NULL() with IS_ERR() in the dpu_hw_intr_init() error check. Reviewed-by: Jessica Zhang <[email protected]> Signed-off-by: Dmitry Baryshkov <[email protected]> Patchwork: https://patchwork.freedesktop.org/patch/570036/ Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/platform/surface/aggregator/ssh_parser.c')
0 files changed, 0 insertions, 0 deletions