You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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: d0b2461 ("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]>
0 commit comments