35b7fde8a6
The j iterator is used for priorities, and the i iterator is used for choosing the actual screening register. Therefore the screening register availability needs to be checked with i. This commit also improves the readability by doing two things: * by moving the screening register index check to a place where the index is going to be actually used * by using the ARRAY_SIZE macro instead of a hard-coded number as the upper limit Signed-off-by: Tomasz Gorochowik <tgorochowik@antmicro.com> |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
Kconfig | ||
Kconfig.dw | ||
Kconfig.e1000 | ||
Kconfig.enc28j60 | ||
Kconfig.mcux | ||
Kconfig.native_posix | ||
Kconfig.sam_gmac | ||
Kconfig.smsc911x | ||
Kconfig.stellaris | ||
Kconfig.stm32_hal | ||
eth_dw.c | ||
eth_dw_priv.h | ||
eth_e1000.c | ||
eth_e1000_priv.h | ||
eth_enc28j60.c | ||
eth_enc28j60_priv.h | ||
eth_mcux.c | ||
eth_native_posix.c | ||
eth_native_posix_adapt.c | ||
eth_native_posix_priv.h | ||
eth_sam_gmac.c | ||
eth_sam_gmac_priv.h | ||
eth_smsc911x.c | ||
eth_smsc911x_priv.h | ||
eth_stellaris.c | ||
eth_stellaris_priv.h | ||
eth_stm32_hal.c | ||
eth_stm32_hal_priv.h | ||
phy_sam_gmac.c | ||
phy_sam_gmac.h |