diff options
author | Fabio Estevam <festevam@gmail.com> | 2019-05-27 21:37:14 +0300 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2019-05-28 10:03:06 +0300 |
commit | fd86575fe5d0ac9b15ad52760243245fcd57fd92 (patch) | |
tree | a24d88305a3cfa52b868dea6d375583b063e516f /drivers/hwmon/vt1211.c | |
parent | 0500c04ea14a4143edf902d087079c4e7b2f0229 (diff) | |
download | linux-fd86575fe5d0ac9b15ad52760243245fcd57fd92.tar.xz |
drm/damage-helper: Use NULL instead of 0
The 'clips' member is a pointer, so assign NULL instead of 0.
This fixes the following sparse warning:
drivers/gpu/drm/drm_damage_helper.c:289:31: warning: Using plain integer as NULL pointer
Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20190527183714.11168-1-festevam@gmail.com
Diffstat (limited to 'drivers/hwmon/vt1211.c')
0 files changed, 0 insertions, 0 deletions