[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for drm/i915: Add HWMON support (rev5)

Patchwork
2022-08-25T14:01:43Z

== Series Details ==

Series: drm/i915: Add HWMON support (rev5)
URL : https://patchwork.freedesktop.org/series/104278/
State : warning

== Summary ==

Error: dim checkpatch failed
4d2dbe77d024 drm/i915/hwmon: Add HWMON infrastructure
Traceback (most recent call last):
File "scripts/spdxcheck.py", line 6, in <module>
from ply import lex, yacc
ModuleNotFoundError: No module named 'ply'
Traceback (most recent call last):
File "scripts/spdxcheck.py", line 6, in <module>
from ply import lex, yacc
ModuleNotFoundError: No module named 'ply'
-:83: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating?
#83:
new file mode 100644

total: 0 errors, 1 warnings, 0 checks, 196 lines checked
c2288792c911 drm/i915/hwmon: Add HWMON current voltage support
-:23: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating?
#23:
new file mode 100644

total: 0 errors, 1 warnings, 0 checks, 98 lines checked
896c4806810e drm/i915/hwmon: Power PL1 limit and TDP setting
-:70: CHECK:MACRO_ARG_REUSE: Macro argument reuse '__mask' - possible side-effects?
#70: FILE: drivers/gpu/drm/i915/i915_hwmon.c:22:
+#define FIELD_SHIFT(__mask) \
+ (BUILD_BUG_ON_ZERO(!__builtin_constant_p(__mask)) + \
+ BUILD_BUG_ON_ZERO((__mask) == 0) + \
+ __bf_shf(__mask))

total: 0 errors, 0 warnings, 1 checks, 290 lines checked
0d7f6bd1a25b drm/i915/hwmon: Show device level energy usage
cc18f86da554 drm/i915/hwmon: Expose card reactive critical power
90028741f465 drm/i915/hwmon: Expose power1_max_interval
0f7b7b59ec09 drm/i915/hwmon: Extend power/energy for XEHPSDV