[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for Rename IS_ACTIVE() and move to kconfig.h

Patchwork patchwork at emeril.freedesktop.org
Wed Sep 29 18:43:49 UTC 2021


== Series Details ==

Series: Rename IS_ACTIVE() and move to kconfig.h
URL   : https://patchwork.freedesktop.org/series/95229/
State : warning

== Summary ==

$ dim checkpatch origin/drm-tip
700a1ad38302 drm/i915: rename IS_ACTIVE
74e2f2ef0ee5 drm/i915/utils: do not depend on config being defined
-:29: WARNING:COMMIT_LOG_LONG_LINE: Possible unwrapped commit description (prefer a maximum 75 chars per line)
#29: 
  52021    1070     232   53323    d04b drivers/gpu/drm/i915/gem/i915_gem_context.o.new

-:51: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'config' - possible side-effects?
#51: FILE: drivers/gpu/drm/i915/i915_utils.h:473:
+#define IS_CONFIG_NONZERO(config) (						\
+	(__stringify_1(config)[0] > '0' && __stringify_1(config)[0] < '9') ||	\
+	__stringify_1(config)[0] == '-'						\
+)

total: 0 errors, 1 warnings, 1 checks, 17 lines checked
c3464f46082b Move IS_CONFIG_NONZERO() to kconfig.h
-:11: WARNING:COMMIT_LOG_LONG_LINE: Possible unwrapped commit description (prefer a maximum 75 chars per line)
#11: 
babaab2f4738 ("drm/i915: Encapsulate kconfig constant values inside boolean predicates")

-:85: CHECK:MACRO_ARG_REUSE: Macro argument reuse 'config' - possible side-effects?
#85: FILE: include/linux/kconfig.h:82:
+#define IS_CONFIG_NONZERO(config) (						\
+	(__stringify_1(config)[0] > '0' && __stringify_1(config)[0] < '9') ||	\
+	__stringify_1(config)[0] == '-'						\
+)

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




More information about the Intel-gfx mailing list