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

Patchwork patchwork at emeril.freedesktop.org
Sat May 15 01:13:19 UTC 2021


== Series Details ==

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

== Summary ==

$ dim checkpatch origin/drm-tip
72896d03e908 drm/i915/dg1: Add HWMON power support
-:22: WARNING:FILE_PATH_CHANGES: added, moved or deleted file(s), does MAINTAINERS need updating?
#22: 
new file mode 100644

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

-:1001: WARNING:RETURN_VOID: void function return statements are not generally useful
#1001: FILE: drivers/gpu/drm/i915/i915_hwmon.c:777:
+	return;
+}

total: 0 errors, 2 warnings, 1 checks, 1071 lines checked




More information about the Intel-gfx mailing list