diff options
author | Yang Li <yang.lee@linux.alibaba.com> | 2021-10-15 15:14:41 +0800 |
---|---|---|
committer | Melissa Wen <melissa.srw@gmail.com> | 2021-10-17 21:40:27 +0100 |
commit | 75ad021f21927311b8d454939eb248a50df92525 (patch) | |
tree | df81ebc41dc4d1ff0959be707b226914baf2a22d /arch/nios2 | |
parent | 9aa2c2320e6fb50d8f80963e786d0b564d0695ab (diff) |
drm/v3d: nullify pointer se with a NULL
Currently a plain integer is being used to nullify the pointer
struct v3d_submit_ext *se. Use NULL instead. Cleans up sparse
warnings:
drivers/gpu/drm/v3d/v3d_gem.c:777:53: warning: Using plain integer as
NULL pointer
drivers/gpu/drm/v3d/v3d_gem.c:1010:45: warning: Using plain integer as
NULL pointer
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
Reviewed-by: Melissa Wen <mwen@igalia.com>
Signed-off-by: Melissa Wen <melissa.srw@gmail.com>
Link: https://patchwork.freedesktop.org/patch/msgid/1634282081-72255-1-git-send-email-yang.lee@linux.alibaba.com
Diffstat (limited to 'arch/nios2')
0 files changed, 0 insertions, 0 deletions