[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20210106162157.4e0d5690@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com>
Date: Wed, 6 Jan 2021 16:21:57 -0800
From: Jakub Kicinski <kuba@...nel.org>
To: Andrew Lunn <andrew@...n.ch>,
Rafał Miłecki <zajec5@...il.com>
Cc: Vivien Didelot <vivien.didelot@...il.com>,
Florian Fainelli <f.fainelli@...il.com>,
Vladimir Oltean <olteanv@...il.com>,
"David S . Miller" <davem@...emloft.net>, netdev@...r.kernel.org,
Rafał Miłecki <rafal@...ecki.pl>
Subject: Re: [PATCH next] net: dsa: print error on invalid port index
On Wed, 6 Jan 2021 23:33:07 +0100 Andrew Lunn wrote:
> On Wed, Jan 06, 2021 at 10:09:15AM +0100, Rafał Miłecki wrote:
> > From: Rafał Miłecki <rafal@...ecki.pl>
> >
> > Looking for an -EINVAL all over the dsa code could take hours for
> > inexperienced DSA users.
>
> Following this argument, you should add dev_err() by every -EINVAL.
>
> > Signed-off-by: Rafał Miłecki <rafal@...ecki.pl>
>
> Reviewed-by: Andrew Lunn <andrew@...n.ch>
Applied, thanks!
Powered by blists - more mailing lists