summaryrefslogtreecommitdiff
path: root/include/linux/flex_array.h
diff options
context:
space:
mode:
authorParav Pandit <parav@mellanox.com>2019-02-08 15:15:00 -0600
committerDavid S. Miller <davem@davemloft.net>2019-02-11 13:21:25 -0800
commitb904aada8033749558e3aaeb574a2200bf0458f0 (patch)
tree5bae307e117c65fe6fbb5a5b34c1afca1ee92181 /include/linux/flex_array.h
parentcbd72b485214f085a022b56a3051524577d891fe (diff)
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/linux/flex_array.h')
0 files changed, 0 insertions, 0 deletions