Skip to content
Snippets Groups Projects
Commit a00d62cd authored by Clark Wang's avatar Clark Wang Committed by Leonard Crestez
Browse files

MLK-20212 lpspi: Coverity: Add the missing NULL check


The spi_transfer *t will be used in one transfer whatever. If t is NULL,
there has no need to try sending data, so add an error return here.

Signed-off-by: default avatarClark Wang <xiaoning.wang@nxp.com>
Acked-by: default avatarFugang Duan <Fugang.duan@nxp.com>
(cherry picked from commit 68b253138f23754706d3ec16007f2327e1910654)
parent 4800e32f
No related branches found
No related tags found
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