i2c: Bug fixes for default RTIO handler #156499
Annotations
4 errors, 3 warnings, and 1 notice
Run Compliance Tests:
drivers/i2c/i2c_rtio_default.c#L96
drivers/i2c/i2c_rtio_default.c:96 code indent should use tabs where possible
|
Run Compliance Tests
Process completed with exit code 2.
|
check-warns:
Checkpatch.txt#L1
See https://docs.zephyrproject.org/latest/contribute/guidelines.html#coding-style for more details.
BLOCK_COMMENT_STYLE: Block comments should align the * on each line
File:drivers/i2c/i2c_rtio_default.c
Line:90
LONG_LINE_STRING: line length of 101 exceeds 100 columns
File:drivers/i2c/i2c_rtio_default.c
Line:95
CODE_INDENT: code indent should use tabs where possible
File:drivers/i2c/i2c_rtio_default.c
Line:96
|
check-warns
Process completed with exit code 1.
|
Run Compliance Tests:
drivers/i2c/i2c_rtio_default.c#L90
drivers/i2c/i2c_rtio_default.c:90 Block comments should align the * on each line
|
Run Compliance Tests:
drivers/i2c/i2c_rtio_default.c#L95
drivers/i2c/i2c_rtio_default.c:95 line length of 101 exceeds 100 columns
|
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:
- * sized array here. It's pretty unlikely we have more than 4 i2c messages
- * in a transaction as we typically would only have 2, one to write a
- * register address, and another to read/write the register into an array
- */
+ * sized array here. It's pretty unlikely we have more than 4 i2c messages
+ * in a transaction as we typically would only have 2, one to write a
+ * register address, and another to read/write the register into an array
+ */
if (num_msgs > CONFIG_I2C_RTIO_FALLBACK_MSGS) {
- LOG_ERR("At most " CONFIG_I2C_RTIO_FALLBACK_MSGS " submissions in a transaction are "
- "allowed in the default handler");
+ LOG_ERR("At most " CONFIG_I2C_RTIO_FALLBACK_MSGS
+ " submissions in a transaction are "
+ "allowed in the default handler");
File:drivers/i2c/i2c_rtio_default.c
Line:97
|
Run Compliance Tests:
drivers/i2c/i2c_rtio_default.c#L97
drivers/i2c/i2c_rtio_default.c:97
- * sized array here. It's pretty unlikely we have more than 4 i2c messages
- * in a transaction as we typically would only have 2, one to write a
- * register address, and another to read/write the register into an array
- */
+ * sized array here. It's pretty unlikely we have more than 4 i2c messages
+ * in a transaction as we typically would only have 2, one to write a
+ * register address, and another to read/write the register into an array
+ */
if (num_msgs > CONFIG_I2C_RTIO_FALLBACK_MSGS) {
- LOG_ERR("At most " CONFIG_I2C_RTIO_FALLBACK_MSGS " submissions in a transaction are "
- "allowed in the default handler");
+ LOG_ERR("At most " CONFIG_I2C_RTIO_FALLBACK_MSGS
+ " submissions in a transaction are "
+ "allowed in the default handler");
|
Loading