net: dsa: print error on invalid port index
Looking for an -EINVAL all over the dsa code could take hours for inexperienced DSA users. Signed-off-by: NRafał Miłecki <rafal@milecki.pl> Reviewed-by: NAndrew Lunn <andrew@lunn.ch> Link: https://lore.kernel.org/r/20210106090915.21439-1-zajec5@gmail.comSigned-off-by: NJakub Kicinski <kuba@kernel.org>
Showing
想要评论请 注册 或 登录