summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorArvind Yadav <arvind.yadav.cs@gmail.com>2017-06-20 12:30:53 +0300
committerMark Brown <broonie@kernel.org>2017-06-28 22:16:41 +0300
commit704c3098e4c55a409eaf5ec89cee1bccc8d44f4c (patch)
treebc3eaa8bed4cff6a5b40eff96f2ba1d691875711 /include
parent478de2ba0d2dafcd460b17f032139e2b6b4eb1ac (diff)
downloadlinux-704c3098e4c55a409eaf5ec89cee1bccc8d44f4c.tar.xz
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 'include')
0 files changed, 0 insertions, 0 deletions