summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorWei Yongjun <weiyongjun1@huawei.com>2022-09-09 09:47:09 +0000
committerVinod Koul <vkoul@kernel.org>2022-09-13 20:58:33 +0530
commit677c577e1762afaaee452ababe1c070c24c647c0 (patch)
treee3990b3f5a62ccff9a41d4b43689690e8838a849 /tools/perf/scripts/python/export-to-postgresql.py
parentdf2217ff17a8207295e77ec12a858545633bf4cb (diff)
phy: usb: sunplus: Fix return value check in update_disc_vol()
In case of error, the function nvmem_cell_read() returns ERR_PTR() and never returns NULL. The NULL test in the return value check should be replaced with IS_ERR(). Fixes: 99d9ccd97385 ("phy: usb: Add USB2.0 phy driver for Sunplus SP7021") Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Link: https://lore.kernel.org/r/20220909094709.1790970-1-weiyongjun@huaweicloud.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions