diff options
| author | Clark Wang <[email protected]> | 2019-03-06 06:30:47 +0000 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2019-03-18 12:17:59 +0000 |
| commit | 578465ea2b4b56368ddc3dcefb1f6d607382ef86 (patch) | |
| tree | 3970243919d7fec5d78d1b3259d276658ead8668 /tools/perf/scripts/python/sctop.py | |
| 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 <[email protected]>
Acked-by: Fugang Duan <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions