summaryrefslogtreecommitdiff
path: root/include/net/devlink.h
diff options
context:
space:
mode:
authorParav Pandit <parav@mellanox.com>2019-02-09 00:15:00 +0300
committerDavid S. Miller <davem@davemloft.net>2019-02-12 00:21:25 +0300
commitb904aada8033749558e3aaeb574a2200bf0458f0 (patch)
tree5bae307e117c65fe6fbb5a5b34c1afca1ee92181 /include/net/devlink.h
parentcbd72b485214f085a022b56a3051524577d891fe (diff)
downloadlinux-b904aada8033749558e3aaeb574a2200bf0458f0.tar.xz
devlink: Add WARN_ON to catch errors of not cleaning devlink objects
Add WARN_ON to make sure that all sub objects of a devlink device are cleanedup before freeing the devlink device. This helps to catch any driver bugs. Signed-off-by: Parav Pandit <parav@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/devlink.h')
0 files changed, 0 insertions, 0 deletions