diff options
author | Arvind Yadav <arvind.yadav.cs@gmail.com> | 2017-06-20 15:00:53 +0530 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2017-06-28 20:16:41 +0100 |
commit | 704c3098e4c55a409eaf5ec89cee1bccc8d44f4c (patch) | |
tree | bc3eaa8bed4cff6a5b40eff96f2ba1d691875711 /security/lsm_audit.c | |
parent | 478de2ba0d2dafcd460b17f032139e2b6b4eb1ac (diff) | |
download | op-kernel-dev-704c3098e4c55a409eaf5ec89cee1bccc8d44f4c.zip op-kernel-dev-704c3098e4c55a409eaf5ec89cee1bccc8d44f4c.tar.gz |
spi: loopback-test: Fix kfree() NULL pointer error.
Here, rx/tx allocation can fail. So avoid kvfree call
with NULL pointer.
Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'security/lsm_audit.c')
0 files changed, 0 insertions, 0 deletions