aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_timer.c
diff options
context:
space:
mode:
authorJosé Expósito <[email protected]>2022-01-09 20:24:31 +0100
committerDmitry Baryshkov <[email protected]>2022-01-25 05:45:39 +0300
commit170b22234d5495f5e0844246e23f004639ee89ba (patch)
tree9cb397449e31b28a2e386ac1abb26aa9f56c521c /net/lapb/lapb_timer.c
parent774fe0cd838d1b1419d41ab4ea0613c80d4ecbd7 (diff)
drm/msm/dpu: invalid parameter check in dpu_setup_dspp_pcc
The function performs a check on the "ctx" input parameter, however, it is used before the check. Initialize the "base" variable after the sanity check to avoid a possible NULL pointer dereference. Fixes: 4259ff7ae509e ("drm/msm/dpu: add support for pcc color block in dpu driver") Addresses-Coverity-ID: 1493866 ("Null pointer dereference") Signed-off-by: José Expósito <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Dmitry Baryshkov <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions