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

Patchwork patchwork at emeril.freedesktop.org
Mon May 23 17:03:58 UTC 2022


== Series Details ==

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

== Summary ==

Error: dim checkpatch failed
461a66ade2f0 drm/i915/hwmon: Add HWMON power sensor support
Traceback (most recent call last):
  File "scripts/spdxcheck.py", line 10, in <module>
    import git
ModuleNotFoundError: No module named 'git'
Traceback (most recent call last):
  File "scripts/spdxcheck.py", line 10, in <module>
    import git
ModuleNotFoundError: No module named 'git'
-:15: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating?
#15: 
new file mode 100644

-:135: CHECK:MACRO_ARG_REUSE: Macro argument reuse '__mask' - possible side-effects?
#135: FILE: drivers/gpu/drm/i915/i915_hwmon.c:24:
+#define FIELD_SHIFT(__mask)				    \
+	(BUILD_BUG_ON_ZERO(!__builtin_constant_p(__mask)) + \
+		BUILD_BUG_ON_ZERO((__mask) == 0) +	    \
+		__bf_shf(__mask))

total: 0 errors, 1 warnings, 1 checks, 559 lines checked
14d8fb223c66 drm/i915/hwmon: Add HWMON energy support
629e24ca4b59 drm/i915/hwmon: Add HWMON current voltage support




More information about the Intel-gfx mailing list