diff options
| author | YueHaibing <[email protected]> | 2020-10-31 11:30:42 +0800 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2020-11-02 15:53:26 +0000 |
| commit | a9c52d42814a44472fe1205775320ec20f556908 (patch) | |
| tree | 1c1f75be9c9b8fd6b06af73123f8ab349d40931c /tools/perf/scripts/python/flamegraph.py | |
| parent | ee5558a9084584015c8754ffd029ce14a5827fa8 (diff) | |
spi: spi-mem: Fix passing zero to 'PTR_ERR' warning
Fix smatch warning:
drivers/spi/spi-mem.c:746 spi_mem_probe() warn: passing zero to 'PTR_ERR'
Fixes: 5d27a9c8ea9e ("spi: spi-mem: Extend the SPI mem interface to set a custom memory name")
Signed-off-by: YueHaibing <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions