Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 704c3098 authored by Arvind Yadav's avatar Arvind Yadav Committed by Mark Brown
Browse files

spi: loopback-test: Fix kfree() NULL pointer error.



Here, rx/tx allocation can fail. So avoid kvfree call
with NULL pointer.

Signed-off-by: default avatarArvind Yadav <arvind.yadav.cs@gmail.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 478de2ba
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment