diff options
| author | Marek BehĂșn <[email protected]> | 2021-10-09 19:33:42 +0200 |
|---|---|---|
| committer | Stefan Roese <[email protected]> | 2021-10-21 07:39:05 +0200 |
| commit | 0034d84a66eaa51263a4881274b75de5b1c4f800 (patch) | |
| tree | 8741bc20c286da2f2b9765ff3c4c9c617b18f487 /include/linux/stringify.h | |
| parent | f3c71e75b08b7cbe35acc29d89e90c05edd70d40 (diff) | |
arm: mvebu: turris_mox: Better check for valid ethernet addresses in env
Currently we overwrite ethaddr and eth1addr only if these variables
don't exist.
Better overwrite them even if the env variable exists, but is invalid -
eth_env_get_enetaddr_by_index() checks for validity.
Refactor the code to use a for cycle.
Signed-off-by: Marek BehĂșn <[email protected]>
Reviewed-by: Stefan Roese <[email protected]>
Diffstat (limited to 'include/linux/stringify.h')
0 files changed, 0 insertions, 0 deletions
