aboutsummaryrefslogtreecommitdiff
path: root/include/linux/blkdev.h
diff options
context:
space:
mode:
authorJiri Pirko <[email protected]>2022-11-25 11:02:55 +0100
committerPaolo Abeni <[email protected]>2022-11-29 13:37:53 +0100
commit7666dbec7268458505d44ef3ae22fd9181c09b01 (patch)
tree24fac626fcacf3a5aa4ded6d7efc666099209894 /include/linux/blkdev.h
parentcb55ff7ac471bf011243a633d5ae58679eabd2ad (diff)
net: devlink: add WARN_ON_ONCE to check return value of unregister_netdevice_notifier_net() call
As the return value is not 0 only in case there is no such notifier block registered, add a WARN_ON_ONCE() to yell about it. Suggested-by: Ido Schimmel <[email protected]> Signed-off-by: Jiri Pirko <[email protected]> Reviewed-by: Ido Schimmel <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'include/linux/blkdev.h')
0 files changed, 0 insertions, 0 deletions