diff options
| author | Parav Pandit <parav@mellanox.com> | 2019-02-09 00:15:00 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2019-02-12 00:21:25 +0300 |
| commit | b904aada8033749558e3aaeb574a2200bf0458f0 (patch) | |
| tree | 5bae307e117c65fe6fbb5a5b34c1afca1ee92181 /include | |
| parent | cbd72b485214f085a022b56a3051524577d891fe (diff) | |
| download | linux-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')
0 files changed, 0 insertions, 0 deletions
