On Tue, Jul 25, 2023 at 6:30 AM Yang Yingliang <yangyingliang@xxxxxxxxxx> wrote: > > The 'rv' will be set to 0 after calling of_property_read_reg(), > return correct error code in the error path. > > Fixes: d0b2461678b1 ("ata: Use of_property_read_reg() to parse "reg"") > Signed-off-by: Yang Yingliang <yangyingliang@xxxxxxxxxx> > --- > drivers/ata/pata_octeon_cf.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) Ugg, I did a good job on this one. Thanks for fixing. Reviewed-by: Rob Herring <robh@xxxxxxxxxx>