drivers: sensors: akm09918: make submit function more unblocking #155627
Annotations
14 errors, 5 warnings, and 2 notices
Run Compliance Tests:
drivers/sensor/asahi_kasei/akm09918c/akm09918c_async.c#L65
drivers/sensor/asahi_kasei/akm09918c/akm09918c_async.c:65 spaces required around that '<' (ctx:OxW)
|
Run Compliance Tests:
drivers/sensor/asahi_kasei/akm09918c/akm09918c_async.c#L74
drivers/sensor/asahi_kasei/akm09918c/akm09918c_async.c:74 spaces required around that '==' (ctx:ExO)
|
Run Compliance Tests:
drivers/sensor/asahi_kasei/akm09918c/akm09918c_async.c#L74
drivers/sensor/asahi_kasei/akm09918c/akm09918c_async.c:74 spaces required around that '==' (ctx:OxO)
|
Run Compliance Tests:
drivers/sensor/asahi_kasei/akm09918c/akm09918c_async.c#L74
drivers/sensor/asahi_kasei/akm09918c/akm09918c_async.c:74 spaces required around that '==' (ctx:OxO)
|
Run Compliance Tests:
drivers/sensor/asahi_kasei/akm09918c/akm09918c_async.c#L74
drivers/sensor/asahi_kasei/akm09918c/akm09918c_async.c:74 spaces required around that '=' (ctx:OxE)
|
Run Compliance Tests:
drivers/sensor/asahi_kasei/akm09918c/akm09918c_async.c#L75
drivers/sensor/asahi_kasei/akm09918c/akm09918c_async.c:75 space required before the open brace '{'
|
Run Compliance Tests:
drivers/sensor/asahi_kasei/akm09918c/akm09918c_async.c#L75
drivers/sensor/asahi_kasei/akm09918c/akm09918c_async.c:75 space required before the open parenthesis '('
|
Run Compliance Tests:
drivers/sensor/asahi_kasei/akm09918c/akm09918c_async.c#L78
drivers/sensor/asahi_kasei/akm09918c/akm09918c_async.c:78 space required before the open brace '{'
|
Run Compliance Tests:
drivers/sensor/asahi_kasei/akm09918c/akm09918c_async.c#L78
drivers/sensor/asahi_kasei/akm09918c/akm09918c_async.c:78 space required after that close brace '}'
|
Run Compliance Tests:
drivers/sensor/asahi_kasei/akm09918c/akm09918c_async.c#L81
drivers/sensor/asahi_kasei/akm09918c/akm09918c_async.c:81 spaces required around that '>' (ctx:OxW)
|
check-warns:
Checkpatch.txt#L1
See https://docs.zephyrproject.org/latest/contribute/guidelines.html#coding-style for more details.
SPACING: spaces required around that '<' (ctx:OxW)
File:drivers/sensor/asahi_kasei/akm09918c/akm09918c_async.c
Line:65
SPACING: spaces required around that '==' (ctx:ExO)
File:drivers/sensor/asahi_kasei/akm09918c/akm09918c_async.c
Line:74
SPACING: spaces required around that '==' (ctx:OxO)
File:drivers/sensor/asahi_kasei/akm09918c/akm09918c_async.c
Line:74
SPACING: spaces required around that '==' (ctx:OxO)
File:drivers/sensor/asahi_kasei/akm09918c/akm09918c_async.c
Line:74
SPACING: spaces required around that '=' (ctx:OxE)
File:drivers/sensor/asahi_kasei/akm09918c/akm09918c_async.c
Line:74
SPACING: space required before the open brace '{'
File:drivers/sensor/asahi_kasei/akm09918c/akm09918c_async.c
Line:75
SPACING: space required before the open parenthesis '('
File:drivers/sensor/asahi_kasei/akm09918c/akm09918c_async.c
Line:75
TYPO_SPELLING: 'to to' may be misspelled - perhaps 'to'?
File:drivers/sensor/asahi_kasei/akm09918c/akm09918c_async.c
Line:76
LONG_LINE_STRING: line length of 115 exceeds 100 columns
File:drivers/sensor/asahi_kasei/akm09918c/akm09918c_async.c
Line:76
SPACING: space required before the open brace '{'
File:drivers/sensor/asahi_kasei/akm09918c/akm09918c_async.c
Line:78
SPACING: space required after that close brace '}'
File:drivers/sensor/asahi_kasei/akm09918c/akm09918c_async.c
Line:78
SPACING: space prohibited between function name and open parenthesis '('
File:drivers/sensor/asahi_kasei/akm09918c/akm09918c_async.c
Line:81
SPACING: spaces required around that '>' (ctx:OxW)
File:drivers/sensor/asahi_kasei/akm09918c/akm09918c_async.c
Line:81
SPACING: spaces required around that ':' (ctx:VxW)
File:drivers/sensor/asahi_kasei/akm09918c/akm09918c_async.c
Line:81
SPACING: spaces required around that ':' (ctx:VxW)
File:drivers/sensor/asahi_kasei/akm09918c/akm09918c_async.c
Line:81
SPACING: spaces required around that ':' (ctx:VxW)
File:drivers/sensor/asahi_kasei/akm09918c/akm09918c_async.c
Line:81
TRAILING_WHITESPACE: trailing whitespace
File:drivers/sensor/asahi_kasei/akm09918c/akm09918c_async.c
Line:96
MISSING_EOF_NEWLINE: adding a line without newline at end of file
File:drivers/sensor/asahi_kasei/akm09918c/akm09918c_async.c
Line:112
|
check-warns:
GitDiffCheck.txt#L1
Git conflict markers and whitespace errors are not allowed in added changes
627b0ad604bba9869623b634c253e2531bd51f53: drivers/sensor/asahi_kasei/akm09918c/akm09918c_async.c:96: trailing whitespace.
|
check-warns:
Nits.txt#L1
See https://docs.zephyrproject.org/latest/contribute/guidelines.html#coding-style for more details.
Missing newline at end of 'drivers/sensor/asahi_kasei/akm09918c/akm09918c_async.c'. Check your text editor settings.
|
check-warns
Process completed with exit code 1.
|
Run Compliance Tests:
drivers/sensor/asahi_kasei/akm09918c/akm09918c_async.c#L76
drivers/sensor/asahi_kasei/akm09918c/akm09918c_async.c:76 'to to' may be misspelled - perhaps 'to'?
|
Run Compliance Tests:
drivers/sensor/asahi_kasei/akm09918c/akm09918c_async.c#L76
drivers/sensor/asahi_kasei/akm09918c/akm09918c_async.c:76 line length of 115 exceeds 100 columns
|
Run Compliance Tests:
drivers/sensor/asahi_kasei/akm09918c/akm09918c_async.c#L81
drivers/sensor/asahi_kasei/akm09918c/akm09918c_async.c:81 space prohibited between function name and open parenthesis '('
|
Run Compliance Tests:
drivers/sensor/asahi_kasei/akm09918c/akm09918c_async.c#L112
drivers/sensor/asahi_kasei/akm09918c/akm09918c_async.c:112 adding a line without newline at end of file
|
check-warns:
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:
- if(!req){
- LOG_ERR("RTIO work item allocation failed. Consider to to increase CONFIG_RTIO_WORKQ_POOL_ITEMS.");
+ if (!req) {
+ LOG_ERR("RTIO work item allocation failed. Consider to to increase "
+ "CONFIG_RTIO_WORKQ_POOL_ITEMS.");
rtio_iodev_sqe_err(iodev_sqe, -ENOMEM);
- }else{
+ } else {
File:drivers/sensor/asahi_kasei/akm09918c/akm09918c_async.c
Line:79
You may want to run clang-format on this change:
-
+
File:drivers/sensor/asahi_kasei/akm09918c/akm09918c_async.c
Line:97
|
Run Compliance Tests:
drivers/sensor/asahi_kasei/akm09918c/akm09918c_async.c#L79
drivers/sensor/asahi_kasei/akm09918c/akm09918c_async.c:79
- if(!req){
- LOG_ERR("RTIO work item allocation failed. Consider to to increase CONFIG_RTIO_WORKQ_POOL_ITEMS.");
+ if (!req) {
+ LOG_ERR("RTIO work item allocation failed. Consider to to increase "
+ "CONFIG_RTIO_WORKQ_POOL_ITEMS.");
rtio_iodev_sqe_err(iodev_sqe, -ENOMEM);
- }else{
+ } else {
|
Run Compliance Tests:
drivers/sensor/asahi_kasei/akm09918c/akm09918c_async.c#L97
drivers/sensor/asahi_kasei/akm09918c/akm09918c_async.c:97
-
+
|
Loading