zephyr/drivers/ethernet
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:
5d02614e34

Signed-off-by: Simon Hein <SHein@baumer.com>
2022-07-26 15:30:24 -04:00
..
phy drivers: add mising braces to single line if statements 2022-07-06 11:00:45 -04:00
CMakeLists.txt ethernet: Synopsys DesignWare MAC driver 2021-10-27 10:43:05 -04:00
Kconfig ethernet: Synopsys DesignWare MAC driver 2021-10-27 10:43:05 -04:00
Kconfig.dsa kconfig: remove Enable from boolean prompts 2022-03-09 15:35:54 +01:00
Kconfig.dwmac ethernet: Synopsys DesignWare MAC driver 2021-10-27 10:43:05 -04:00
Kconfig.e1000 kconfig: remove Enable from boolean prompts 2022-03-09 15:35:54 +01:00
Kconfig.enc28j60 drivers: Replace GPIO_CS Kconfig with devicetree detection 2020-05-09 13:07:05 +02:00
Kconfig.enc424j600 drivers: Replace GPIO_CS Kconfig with devicetree detection 2020-05-09 13:07:05 +02:00
Kconfig.gecko drivers: ethernet: remove stale Kconfig IRQ priority 2021-03-03 12:16:06 +03:00
Kconfig.liteeth drivers: ethernet: remove stale Kconfig IRQ priority 2021-03-03 12:16:06 +03:00
Kconfig.mcux drivers: ethernet: mcux: Increase available RX buffers 2022-07-12 09:53:56 +02:00
Kconfig.native_posix net: native_posix: gptp: Add multiport support 2020-08-19 12:47:09 -04:00
Kconfig.sam_gmac drivers: eth_sam_gmac: use PHY driver 2021-08-27 11:43:48 -04:00
Kconfig.smsc911x
Kconfig.stellaris kconfig: remove Enable from boolean prompts 2022-03-09 15:35:54 +01:00
Kconfig.stm32_hal drivers: ethernet: stm32_hal: remove superfluous default n for boolean 2022-04-15 10:32:24 -07:00
Kconfig.w5500 drivers: eth: add driver for w5500 Ethernet Controller 2020-10-02 11:34:57 +02:00
Kconfig.xlnx_gem drivers: ethernet: xlnx_gem: update referenced SoC configuration items 2022-01-21 11:34:09 -05:00
dsa_ksz8xxx.c drivers: ethernet: dsa_ksz8xxx: use NET_DEVICE_DT_DEFINE_INSTANCE 2022-06-15 17:05:33 -05:00
dsa_ksz8794.h net: dsa: ksz8794: Fix the port numbering for this ETH switch IC 2021-12-01 13:58:08 -06:00
dsa_ksz8863.h dts: ksz8974: add support for ksz8863 2021-07-26 19:37:22 -04:00
eth.h drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
eth_dwmac.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
eth_dwmac_mmu.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
eth_dwmac_priv.h ethernet: Synopsys DesignWare MAC driver 2021-10-27 10:43:05 -04:00
eth_dwmac_stm32h7x.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
eth_e1000.c all: logging: Remove log_strdup function 2022-06-23 13:42:23 +02:00
eth_e1000_priv.h drivers: Fix coding guidelines MISRAC:2012 Rule 14.4 do-whiles/Zero checks 2022-07-26 15:30:24 -04:00
eth_enc28j60.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
eth_enc28j60_priv.h drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
eth_enc424j600.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
eth_enc424j600_priv.h drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
eth_gecko.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
eth_gecko_priv.h drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
eth_liteeth.c drivers: use unsigned int for irq_lock() 2022-07-14 14:37:13 -05:00
eth_mcux.c drivers: Fix coding guidelines MISRAC:2012 Rule 14.4 do-whiles/Zero checks 2022-07-26 15:30:24 -04:00
eth_native_posix.c all: logging: Remove log_strdup function 2022-06-23 13:42:23 +02:00
eth_native_posix_adapt.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
eth_native_posix_priv.h
eth_sam0_gmac.h drivers: ethernet: eth_sam_gmac: Add SAM0 family support 2020-04-17 04:56:28 -05:00
eth_sam_gmac.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
eth_sam_gmac_priv.h drivers: eth: Update sam/sam0 eth drivers to use pinctrl 2022-03-24 15:45:37 -07:00
eth_smsc911x.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
eth_smsc911x_priv.h drivers: eth_smsc911x_priv: Remove obsolete macros 2022-03-16 10:22:55 +01:00
eth_stellaris.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
eth_stellaris_priv.h drivers: ethernet: drop DEV_DATA/DEV_CFG usage 2022-01-19 18:16:02 +01:00
eth_stm32_hal.c drivers: use unsigned int for irq_lock() 2022-07-14 14:37:13 -05:00
eth_stm32_hal_priv.h drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
eth_w5500.c drivers: add mising braces to single line if statements 2022-07-06 11:00:45 -04:00
eth_w5500_priv.h drivers: ethernet: w5500: keep thread blocking in command read-back 2022-06-07 18:56:31 +02:00
eth_xlnx_gem.c drivers: ethernet: xlnx: gem: do not lock/unlock the SLCRs 2022-06-28 20:46:11 +02:00
eth_xlnx_gem_priv.h drivers: ethernet: xlnx: gem: do not lock/unlock the SLCRs 2022-06-28 20:46:11 +02:00
phy_gecko.c drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00
phy_gecko.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
phy_xlnx_gem.c drivers: add mising braces to single line if statements 2022-07-06 11:00:45 -04:00
phy_xlnx_gem.h drivers: migrate includes to <zephyr/...> 2022-05-06 19:58:21 +02:00