Re: [PATCH net-next v2] mctp i2c: add sysfs control for mux child netdevs
From: Kenny Hsieh
Date: Wed Nov 04 2026 - 09:30:31 EST
Hi Matt,
On Wed, 2026-11-04 at 14:44 +0800, Matt Johnston wrote:
> > - adding a bus that already has a netdev, or removing one that
> > doesn't, just returns success
>
> Would it be better to return EEXIST (add) or ENODEV (remove) for those cases?
> That could catch mistakes. Usually there'd be a single userspace program
> managing it, so it doesn't need to be idempotent?
Agreed, in v3 those will get EEXIST and ENODEV.
BR,
Kenny