diff options
author | 2024-10-02 21:16:55 +0300 | |
---|---|---|
committer | 2024-10-04 10:29:24 +0300 | |
commit | 8231ac7e72ae38e0e13d1eab0a11b48878bc9779 (patch) | |
tree | b18ae0f124239162783a715146472a12137ad835 /scripts/generate_rust_analyzer.py | |
parent | drm/i915/dsb: Use DSB for plane/color management updates (diff) | |
download | wireguard-linux-8231ac7e72ae38e0e13d1eab0a11b48878bc9779.tar.xz wireguard-linux-8231ac7e72ae38e0e13d1eab0a11b48878bc9779.zip |
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 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions