summaryrefslogtreecommitdiff
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorAlex Elder <elder@linaro.org>2021-07-26 20:40:10 +0300
committerDavid S. Miller <davem@davemloft.net>2021-07-27 00:38:11 +0300
commit5bc5588466a1f8b48fb04f56c46474a30508a3d6 (patch)
tree7322b4bc3dcab81b14a86b0a56bc8503b1449d13 /include/linux/debugobjects.h
parent442d68ebf0927681e9405c3db8e9fafb754cb458 (diff)
downloadlinux-5bc5588466a1f8b48fb04f56c46474a30508a3d6.tar.xz
net: ipa: use WARN_ON() rather than assertions
I've added commented assertions to record certain properties that can be assumed to hold in certain places in the IPA code. Convert these into real WARN_ON() calls so the assertions are actually checked, using the standard WARN_ON() mechanism. Where errors can be returned, return an error if a warning is triggered. Signed-off-by: Alex Elder <elder@linaro.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions