Re: [PATCH net-next v8 4/4] net: dsa: add basic initial driver for MxL862xx switches
From: Andrew Lunn
Date: Tue Jan 27 2026 - 13:29:16 EST
> Some of the error values are useful, it *is* good to know whether eg. a
> bridge cannot be allocated because (for what ever reason) of resource
> exhaustion (-ENOMEM) or because of otherwise invalid settings (-EINVAL).
We need to be careful with these. POSIX defines ENOMEM and EINVAL, but
not their value. So you should add ZEPHYR_ENOMEM and ZEPHYR_EINVAL,
just to make the name spaces clear.
Andrew