diff options
author | Miles Chen <[email protected]> | 2023-01-11 10:44:41 +0800 |
---|---|---|
committer | Chun-Kuang Hu <[email protected]> | 2023-01-27 00:39:15 +0000 |
commit | 4744cde06f57dd6fbaac468663b1fe2f653eaa16 (patch) | |
tree | 2f4df47f2186bcd9272d06b5bde4b140c02af571 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 91aeaed2c1147e3b1157dc084d23f190856a6c23 (diff) |
drm/mediatek: Use NULL instead of 0 for NULL pointer
Use NULL for NULL pointer to fix the following sparse warning:
drivers/gpu/drm/mediatek/mtk_drm_gem.c:265:27: sparse: warning: Using plain integer as NULL pointer
Fixes: 3df64d7b0a4f ("drm/mediatek: Implement gem prime vmap/vunmap function")
Signed-off-by: Miles Chen <[email protected]>
Reviewed-by: AngeloGioacchino Del Regno <[email protected]>
Link: https://patchwork.kernel.org/project/linux-mediatek/patch/[email protected]/
Signed-off-by: Chun-Kuang Hu <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions