✗ Fi.CI.CHECKPATCH: warning for compiler.h: refactor __is_constexpr() into is_const{,_true,_false}()

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

 



== Series Details ==

Series: compiler.h: refactor __is_constexpr() into is_const{,_true,_false}()
URL   : https://patchwork.freedesktop.org/series/142040/
State : warning

== Summary ==

Error: dim checkpatch failed
65c5a73cbdd2 compiler.h: add statically_false()
25d8e6973c58 compiler.h: add is_const() as a replacement of __is_constexpr()
-:75: CHECK:SPACING: spaces preferred around that '*' (ctx:WxO)
#75: FILE: include/linux/compiler.h:349:
+	_Generic(0 ? (void *)(long)(x) : (char *)0, char *: 1, void *: 0)
 	                                                 ^

-:75: ERROR:SPACING: spaces required around that ':' (ctx:OxW)
#75: FILE: include/linux/compiler.h:349:
+	_Generic(0 ? (void *)(long)(x) : (char *)0, char *: 1, void *: 0)
 	                                                  ^

-:75: CHECK:SPACING: spaces preferred around that '*' (ctx:WxO)
#75: FILE: include/linux/compiler.h:349:
+	_Generic(0 ? (void *)(long)(x) : (char *)0, char *: 1, void *: 0)
 	                                                            ^

-:75: ERROR:SPACING: spaces required around that ':' (ctx:OxW)
#75: FILE: include/linux/compiler.h:349:
+	_Generic(0 ? (void *)(long)(x) : (char *)0, char *: 1, void *: 0)
 	                                                             ^

-:75: CHECK:CAMELCASE: Avoid CamelCase: <_Generic>
#75: FILE: include/linux/compiler.h:349:
+	_Generic(0 ? (void *)(long)(x) : (char *)0, char *: 1, void *: 0)

total: 2 errors, 0 warnings, 3 checks, 47 lines checked
9181394c886a compiler.h: add is_const_true() and is_const_false()
-:61: WARNING:COMMIT_LOG_LONG_LINE: Prefer a maximum 75 chars per line (possible unwrapped commit description?)
#61: 
[2] commit 3c8ba0d61d04 ("kernel.h: Retain constant expression output for max()/min()")

total: 0 errors, 1 warnings, 0 checks, 29 lines checked
8b2cdc22fd9b linux/bits.h: simplify GENMASK_INPUT_CHECK() by using is_const_true()
859590955aab minmax: simplify __clamp_once() by using is_const_false()
eae7d9d255a9 fortify: replace __is_constexpr() by is_const() in strlen()
2895a98c2a4b overflow: replace __is_constexpr() by is_const()
f9520db87ce7 drm/i915/reg: replace __is_const_expr() by is_const_true() or is_const()
dc6257bbdf30 coresight: etm4x: replace __is_const_expr() by is_const()
-:12: WARNING:COMMIT_LOG_LONG_LINE: Prefer a maximum 75 chars per line (possible unwrapped commit description?)
#12: 
[1] commit 4d45bc82df66 ("coresight: etm4x: avoid build failure with unrolled loops")

total: 0 errors, 1 warnings, 0 checks, 8 lines checked
166991fa5613 compiler.h: remove __is_constexpr()





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

  Powered by Linux