✗ Fi.CI.CHECKPATCH: warning for series starting with [v2,1/3] drm/i915/perf: Add helper macros for comparing with whitelisted registers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



== Series Details ==

Series: series starting with [v2,1/3] drm/i915/perf: Add helper macros for comparing with whitelisted registers
URL   : https://patchwork.freedesktop.org/series/68130/
State : warning

== Summary ==

$ dim checkpatch origin/drm-tip
2a67cb3ab9f8 drm/i915/perf: Add helper macros for comparing with whitelisted registers
-:20: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'addr' - possible side-effects?
#20: FILE: drivers/gpu/drm/i915/i915_perf.c:3517:
+#define ADDR_IN_RANGE(addr, start, end) \
+	((addr) >= (start) && \
+	 (addr) <= (end))

-:24: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'addr' - possible side-effects?
#24: FILE: drivers/gpu/drm/i915/i915_perf.c:3521:
+#define REG_IN_RANGE(addr, start, end) \
+	((addr) >= i915_mmio_reg_offset(start) && \
+	 (addr) <= i915_mmio_reg_offset(end))

total: 0 errors, 0 warnings, 2 checks, 98 lines checked
feaf3920fcd1 drm/i915/tgl: Add perf support on TGL
-:723: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating?
#723: 
new file mode 100644

total: 0 errors, 1 warnings, 0 checks, 775 lines checked
e357e3e132ed drm/i915/perf: enable OAR context save/restore of performance counters
-:168: CHECK:COMPARISON_TO_NULL: Comparison to NULL could be written "oa_config"
#168: FILE: drivers/gpu/drm/i915/i915_perf.c:2384:
+			err = gen12_configure_context_oar(ctx, oa_config != NULL);

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

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




[Index of Archives]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux