[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915/selftests: Add a mock i915_vma to the mock_ring

Patchwork patchwork at emeril.freedesktop.org
Tue Jan 14 12:57:43 UTC 2020


== Series Details ==

Series: drm/i915/selftests: Add a mock i915_vma to the mock_ring
URL   : https://patchwork.freedesktop.org/series/72005/
State : warning

== Summary ==

$ dim checkpatch origin/drm-tip
63ab231fcfb0 drm/i915/selftests: Add a mock i915_vma to the mock_ring
-:21: CHECK:COMPARISON_TO_NULL: Comparison to NULL could be written "!ring->vma"
#21: FILE: drivers/gpu/drm/i915/gt/mock_engine.c:63:
+	if (ring->vma == NULL) {

total: 0 errors, 0 warnings, 1 checks, 20 lines checked



More information about the Intel-gfx mailing list