summaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-inline.c
diff options
context:
space:
mode:
authorJani Nikula <jani.nikula@intel.com>2024-10-02 21:16:55 +0300
committerJani Nikula <jani.nikula@intel.com>2024-10-04 10:29:24 +0300
commit8231ac7e72ae38e0e13d1eab0a11b48878bc9779 (patch)
treeb18ae0f124239162783a715146472a12137ad835 /lib/mpi/mpi-inline.c
parent45c548642b563ec7fd761a3f3a412e99b3c88e27 (diff)
downloadlinux-8231ac7e72ae38e0e13d1eab0a11b48878bc9779.tar.xz
drm/i915: use NULL for zero wakeref_t instead of plain integer 0
As of commit 2edc6a75f26c ("drm/i915: switch intel_wakeref_t underlying type to struct ref_tracker *") we gained quite a few sparse warnings about "Using plain integer as NULL pointer" for using 0 to initialize wakeref_t. Switch to NULL everywhere. Signed-off-by: Jani Nikula <jani.nikula@intel.com> Reviewed-by: Chaitanya Kumar Borah <chaitanya.kumar.borah@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20241002181655.582597-1-jani.nikula@intel.com
Diffstat (limited to 'lib/mpi/mpi-inline.c')
0 files changed, 0 insertions, 0 deletions