zdsp: macros-based utilities #153100
Annotations
4 errors, 3 warnings, and 2 notices
|
Checkpatch.txt#L1
See https://docs.zephyrproject.org/latest/contribute/guidelines.html#coding-style for more details.
LONG_LINE: line length of 104 exceeds 100 columns
File:tests/subsys/dsp/macros/src/q7.c
Line:102
LONG_LINE: line length of 104 exceeds 100 columns
File:tests/subsys/dsp/macros/src/q7.c
Line:106
|
Nits.txt#L1
See https://docs.zephyrproject.org/latest/contribute/guidelines.html#coding-style for more details.
Missing newline at end of 'tests/subsys/dsp/macros/src/q15.c'. Check your text editor settings.
Missing newline at end of 'tests/subsys/dsp/macros/src/q31.c'. Check your text editor settings.
|
|
tests/subsys/dsp/macros/src/q7.c#L102
tests/subsys/dsp/macros/src/q7.c:102 line length of 104 exceeds 100 columns
|
tests/subsys/dsp/macros/src/q7.c#L106
tests/subsys/dsp/macros/src/q7.c:106 line length of 104 exceeds 100 columns
|
ClangFormat.txt#L1
See https://docs.zephyrproject.org/latest/contribute/guidelines.html#clang-format for more details.
You may want to run clang-format on this change:
-#define SCALE(i, imin, imax, omin, omax) \
+#define SCALE(i, imin, imax, omin, omax) \
File:include/zephyr/sys/util.h
Line:432
You may want to run clang-format on this change:
- zassert_within(INTq7(Q7i(INT32_MIN, INT32_MIN, INT32_MAX), INT32_MIN, INT32_MAX), INT32_MIN, e);
+ zassert_within(INTq7(Q7i(INT32_MIN, INT32_MIN, INT32_MAX), INT32_MIN, INT32_MAX), INT32_MIN,
+ e);
zassert_within(INTq7(Q7i(-1032, INT32_MIN, INT32_MAX), INT32_MIN, INT32_MAX), -1032, e);
zassert_within(INTq7(Q7i(0, INT32_MIN, INT32_MAX), INT32_MIN, INT32_MAX), 0, e);
zassert_within(INTq7(Q7i(1032, INT32_MIN, INT32_MAX), INT32_MIN, INT32_MAX), 1032, e);
- zassert_within(INTq7(Q7i(INT32_MAX, INT32_MIN, INT32_MAX), INT32_MIN, INT32_MAX), INT32_MAX, e);
+ zassert_within(INTq7(Q7i(INT32_MAX, INT32_MIN, INT32_MAX), INT32_MIN, INT32_MAX), INT32_MAX,
+ e);
File:tests/subsys/dsp/macros/src/q7.c
Line:107
|
include/zephyr/sys/util.h#L432
include/zephyr/sys/util.h:432
-#define SCALE(i, imin, imax, omin, omax) \
+#define SCALE(i, imin, imax, omin, omax) \
|
tests/subsys/dsp/macros/src/q7.c#L107
tests/subsys/dsp/macros/src/q7.c:107
- zassert_within(INTq7(Q7i(INT32_MIN, INT32_MIN, INT32_MAX), INT32_MIN, INT32_MAX), INT32_MIN, e);
+ zassert_within(INTq7(Q7i(INT32_MIN, INT32_MIN, INT32_MAX), INT32_MIN, INT32_MAX), INT32_MIN,
+ e);
zassert_within(INTq7(Q7i(-1032, INT32_MIN, INT32_MAX), INT32_MIN, INT32_MAX), -1032, e);
zassert_within(INTq7(Q7i(0, INT32_MIN, INT32_MAX), INT32_MIN, INT32_MAX), 0, e);
zassert_within(INTq7(Q7i(1032, INT32_MIN, INT32_MAX), INT32_MIN, INT32_MAX), 1032, e);
- zassert_within(INTq7(Q7i(INT32_MAX, INT32_MIN, INT32_MAX), INT32_MIN, INT32_MAX), INT32_MAX, e);
+ zassert_within(INTq7(Q7i(INT32_MAX, INT32_MIN, INT32_MAX), INT32_MIN, INT32_MAX), INT32_MAX,
+ e);
|
This job failed
Loading