diff options
author | 2020-10-31 11:30:42 +0800 | |
---|---|---|
committer | 2020-11-02 15:53:26 +0000 | |
commit | a9c52d42814a44472fe1205775320ec20f556908 (patch) | |
tree | 1c1f75be9c9b8fd6b06af73123f8ab349d40931c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | spi: img-spfi: fix reference leak in img_spfi_resume (diff) | |
download | linux-dev-a9c52d42814a44472fe1205775320ec20f556908.tar.xz linux-dev-a9c52d42814a44472fe1205775320ec20f556908.zip |
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 <yuehaibing@huawei.com>
Link: https://lore.kernel.org/r/20201031033042.42892-1-yuehaibing@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions