aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorYang Yingliang <[email protected]>2023-07-25 12:28:09 +0000
committerDamien Le Moal <[email protected]>2023-07-25 23:32:21 +0000
commit1cfe2d28e4d50a4e3e49344ade3b28f8dc26f891 (patch)
treec6c4e0be8db4fd55b82817d73105c77e195ea952 /tools/perf/scripts/python
parentata: pata_arasan_cf: Use dev_err_probe() instead dev_err() in data_xfer() (diff)
downloadkernel-1cfe2d28e4d50a4e3e49344ade3b28f8dc26f891.tar.gz
kernel-1cfe2d28e4d50a4e3e49344ade3b28f8dc26f891.zip
ata: pata_octeon_cf: fix error return code in octeon_cf_probe()
The variable 'rv' is set to 0 after calling of_property_read_reg(), so it cannot be used as an error code. Change to using correct error codes in the error path. Fixes: d0b2461678b1 ("ata: Use of_property_read_reg() to parse "reg"") Signed-off-by: Yang Yingliang <[email protected]> Reviewed-by: Sergey Shtylyov <[email protected]> Reviewed-by: Rob Herring <[email protected]> Signed-off-by: Damien Le Moal <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions