commit | b904aada8033749558e3aaeb574a2200bf0458f0 | [log] [tgz] |
---|---|---|
author | Parav Pandit <parav@mellanox.com> | Fri Feb 08 15:15:00 2019 -0600 |
committer | David S. Miller <davem@davemloft.net> | Mon Feb 11 13:21:25 2019 -0800 |
tree | 5bae307e117c65fe6fbb5a5b34c1afca1ee92181 | |
parent | cbd72b485214f085a022b56a3051524577d891fe [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>