diff options
| author | Yuan Can <[email protected]> | 2023-01-19 08:31:19 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2023-01-19 14:23:47 +0100 |
| commit | f6510a93cfd8c6c79b4dda0f2967cdc6df42eff4 (patch) | |
| tree | 95982fbdfc0646d0e28ea2eb1e77e79a89d93b30 /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | 4193769b6dfd7ddc5ec5e2ccae6458f4ba65797f (diff) | |
staging: emxx_udc: Add checks for dma_alloc_coherent()
As the dma_alloc_coherent may return NULL, the return value needs to be
checked to avoid NULL poineter dereference.
Signed-off-by: Yuan Can <[email protected]>
Reviewed-by: Simon Horman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions