[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for Allow privileged user to map the OA buffer

Patchwork
2020-10-03T00:13:47Z

== Series Details ==

Series: Allow privileged user to map the OA buffer
URL : https://patchwork.freedesktop.org/series/82353/
State : warning

== Summary ==

$ dim checkpatch origin/drm-tip
febfa8b6a73d drm/i915/perf: Ensure observation logic is not clock gated
ed4d60599ff2 drm/i915/gt: Lock intel_engine_apply_whitelist with uncore->lock
1b52c6e17fa6 drm/i915/perf: Whitelist OA report trigger registers
-:91: ERROR:TRAILING_WHITESPACE: trailing whitespace
#91: FILE: drivers/gpu/drm/i915/gt/intel_workarounds.c:153:
+ $

-:91: WARNING:LEADING_SPACE: please, no spaces at the start of a line
#91: FILE: drivers/gpu/drm/i915/gt/intel_workarounds.c:153:
+ $

-:140: ERROR:TRAILING_WHITESPACE: trailing whitespace
#140: FILE: drivers/gpu/drm/i915/gt/intel_workarounds.c:2094:
+^I * Once we remove the workarounds, we compact the list again in $

-:238: CHECK:COMPARISON_TO_NULL: Comparison to NULL could be written "!stream->perf->oa_wl"
#238: FILE: drivers/gpu/drm/i915/i915_perf.c:1382:
+ stream->perf->oa_wl == NULL)

total: 2 errors, 1 warnings, 1 checks, 306 lines checked
85cfd888057c drm/i915/gt: Refactor _wa_add to reuse wa_index and wa_list_grow
cc19652f4807 drm/i915/perf: Whitelist OA counter and buffer registers
a29845c583c3 drm/i915/perf: Map OA buffer to user space for gen12 performance query