diff options
author | Alex Elder <elder@linaro.org> | 2021-07-26 19:40:10 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-07-26 23:38:11 +0200 |
commit | 5bc5588466a1f8b48fb04f56c46474a30508a3d6 (patch) | |
tree | 7322b4bc3dcab81b14a86b0a56bc8503b1449d13 /drivers/iio/test | |
parent | net: ipa: kill the remaining conditional validation code (diff) | |
download | linux-5bc5588466a1f8b48fb04f56c46474a30508a3d6.tar.xz linux-5bc5588466a1f8b48fb04f56c46474a30508a3d6.zip |
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 'drivers/iio/test')
0 files changed, 0 insertions, 0 deletions