[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Y2uT1AZHtL4XJ20E@shredder>
Date: Wed, 9 Nov 2022 13:49:40 +0200
From: Ido Schimmel <idosch@...sch.org>
To: Jiri Pirko <jiri@...nulli.us>
Cc: netdev@...r.kernel.org, davem@...emloft.net, kuba@...nel.org,
pabeni@...hat.com, edumazet@...gle.com, bigeasy@...utronix.de,
imagedong@...cent.com, kuniyu@...zon.com, petrm@...dia.com
Subject: Re: [patch net-next v2 3/3] net: devlink: add WARN_ON to check
return value of unregister_netdevice_notifier_net() call
On Tue, Nov 08, 2022 at 02:22:08PM +0100, Jiri Pirko wrote:
> From: Jiri Pirko <jiri@...dia.com>
>
> As the return value is not 0 only in case there is no such notifier
> block registered, add a WARN_ON() to yell about it.
>
> Suggested-by: Ido Schimmel <idosch@...sch.org>
> Signed-off-by: Jiri Pirko <jiri@...dia.com>
Reviewed-by: Ido Schimmel <idosch@...dia.com>
Powered by blists - more mailing lists