[PATCH v2] doc: Fix eth_env_[gs]et_enetaddr() return value
Heinrich Schuchardt
heinrich.schuchardt at canonical.com
Tue Jan 3 11:10:40 CET 2023
On 12/18/22 08:05, Marek Vasut wrote:
> Per env/common.c, eth_env_get_enetaddr() returns the same return
> values as is_valid_ethaddr(), i.e. true if valid, false otherwise.
> Per env/common.c, eth_env_set_enetaddr() may return -EEXIST is the
> ethaddr is already set. Fix both.
>
> Signed-off-by: Marek Vasut <marex at denx.de>
Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt at canonical.com>
More information about the U-Boot
mailing list