== Series Details ==

Series: drm: address potential UAF bugs with drm_master ptrs (rev2)
URL   : https://patchwork.freedesktop.org/series/91969/
State : warning

== Summary ==

$ dim checkpatch origin/drm-tip
74cef89ae027 drm: avoid circular locks in drm_mode_getconnector
cb2470da87f5 drm: add a locked version of drm_is_current_master
5c1685ef444e drm: protect drm_master pointers in drm_lease.c
-:94: CHECK:COMPARISON_TO_NULL: Comparison to NULL could be written "!master"
#94: FILE: drivers/gpu/drm/drm_lease.c:116:
+       if (master == NULL)

-:113: CHECK:COMPARISON_TO_NULL: Comparison to NULL could be written "!master"
#113: FILE: drivers/gpu/drm/drm_lease.c:144:
+       if (master == NULL)

-:136: CHECK:COMPARISON_TO_NULL: Comparison to NULL could be written "!master"
#136: FILE: drivers/gpu/drm/drm_lease.c:177:
+       if (master == NULL)

total: 0 errors, 0 warnings, 3 checks, 269 lines checked


_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to