zephyr/drivers/can
Simon Hein d0921018fc drivers: Fix coding guidelines MISRAC:2012 Rule 14.4 do-whiles/Zero checks
MISRA C:2012 Rule 14.4 (The controlling expression of an if statement
and the controlling expression of an iteration-statement shall have
essentially Boolean type.)

Use `do { ... } while (false)' instead of `do { ... } while (0)'.
Use comparisons with zero instead of implicitly testing integers.

The commit is a subset of the original auditable-branch commit:
5d02614e34a86b549c7707d3d9f0984bc3a5f22a

Signed-off-by: Simon Hein <SHein@baumer.com>
2022-07-26 15:30:24 -04:00
..
transceiver drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
can_common.c drivers: can: rename API functions from timing_*_data to timing_data_* 2022-05-11 10:47:54 +02:00
can_handlers.c drivers: can: add API for getting supported capabilities 2022-07-13 10:13:56 +02:00
can_loopback.c drivers: can: loopback: add CAN-FD loopback support 2022-07-18 18:43:36 +02:00
can_mcan.c drivers: can: mcan: acknowledge all received frames 2022-07-18 13:24:54 +00:00
can_mcan.h drivers: can: mcan: increase maximum supported bitrate 2022-07-18 14:30:47 +00:00
can_mcan_priv.h drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
can_mcp2515.c drivers: can: add API for getting supported capabilities 2022-07-13 10:13:56 +02:00
can_mcp2515.h drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
can_mcux_flexcan.c drivers: Fix coding guidelines MISRAC:2012 Rule 14.4 do-whiles/Zero checks 2022-07-26 15:30:24 -04:00
can_mcux_mcan.c drivers: can: mcux: mcan: add pinctrl support 2022-07-13 18:10:52 +02:00
can_rcar.c drivers: can: add API for getting supported capabilities 2022-07-13 10:13:56 +02:00
can_sam.c drivers: can: add API for getting supported capabilities 2022-07-13 10:13:56 +02:00
can_shell.c drivers: can: shell: add support for setting triple sampling mode 2022-07-13 19:06:59 +02:00
can_stm32.c drivers: can: stm32: list one-shot capability 2022-07-13 15:51:39 +02:00
can_stm32.h drivers: can: stm32: switch to supporting CAN_MODE_ONE_SHOT 2022-07-13 10:13:42 +02:00
can_stm32fd.c drivers: can: add API for getting supported capabilities 2022-07-13 10:13:56 +02:00
can_stm32h7.c drivers: can: add API for getting supported capabilities 2022-07-13 10:13:56 +02:00
can_utils.h drivers: can: catch up on API naming changes 2021-12-07 15:39:06 -05:00
CMakeLists.txt drivers: net: canbus: move CAN bus network driver to drivers/net 2022-07-13 10:34:51 +02:00
Kconfig drivers: net: canbus: move CAN bus network driver to drivers/net 2022-07-13 10:34:51 +02:00
Kconfig.loopback drivers: can: Update drivers to use devicetree Kconfig symbol 2022-07-21 06:02:28 -05:00
Kconfig.mcan kconfig: remove Enable from boolean prompts 2022-03-09 15:35:54 +01:00
Kconfig.mcp2515 drivers: can: Update drivers to use devicetree Kconfig symbol 2022-07-21 06:02:28 -05:00
Kconfig.mcux drivers: can: Update drivers to use devicetree Kconfig symbol 2022-07-21 06:02:28 -05:00
Kconfig.rcar drivers: can: Update drivers to use devicetree Kconfig symbol 2022-07-21 06:02:28 -05:00
Kconfig.sam drivers: can: Update drivers to use devicetree Kconfig symbol 2022-07-21 06:02:28 -05:00
Kconfig.stm32 drivers: can: Update drivers to use devicetree Kconfig symbol 2022-07-21 06:02:28 -05:00
Kconfig.stm32fd drivers: can: Update drivers to use devicetree Kconfig symbol 2022-07-21 06:02:28 -05:00
Kconfig.stm32h7 drivers: can: Update drivers to use devicetree Kconfig symbol 2022-07-21 06:02:28 -05:00