diff options
| author | Clark Wang <xiaoning.wang@nxp.com> | 2019-03-06 06:30:47 +0000 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2019-03-18 12:17:59 +0000 |
| commit | 578465ea2b4b56368ddc3dcefb1f6d607382ef86 (patch) | |
| tree | 3970243919d7fec5d78d1b3259d276658ead8668 /include/uapi/linux/pr.h | |
| parent | 09c04466ce7ea494993c0635ba5edb6d2222a806 (diff) | |
spi: lpspi: 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: Clark Wang <xiaoning.wang@nxp.com>
Acked-by: Fugang Duan <Fugang.duan@nxp.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/uapi/linux/pr.h')
0 files changed, 0 insertions, 0 deletions
