[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220214155205.22135ebb@hermes.local>
Date: Mon, 14 Feb 2022 15:52:05 -0800
From: Stephen Hemminger <stephen@...workplumber.org>
To: Vladimir Oltean <vladimir.oltean@....com>
Cc: netdev@...r.kernel.org, Roopa Prabhu <roopa@...dia.com>,
Nikolay Aleksandrov <nikolay@...dia.com>,
"David S. Miller" <davem@...emloft.net>,
Jakub Kicinski <kuba@...nel.org>
Subject: Re: [PATCH net-next] net: bridge: vlan: check for errors from
__vlan_del in __vlan_flush
On Tue, 15 Feb 2022 01:36:46 +0200
Vladimir Oltean <vladimir.oltean@....com> wrote:
> + if (err) {
> + br_err(br,
> + "port %u(%s) failed to delete vlan %d: %pe\n",
> + (unsigned int) p->port_no, p->dev->name,
> + vlan->vid, ERR_PTR(err));
Don't understand this last argument here.
It takes an integer error number, then converts it to an error pointer
just so the error message can then decode with %pe? Why?
Powered by blists - more mailing lists