diff options
author | Ondrej Zary <linux@zary.sk> | 2023-02-04 23:55:27 +0300 |
---|---|---|
committer | Damien Le Moal <damien.lemoal@opensource.wdc.com> | 2023-02-07 02:59:35 +0300 |
commit | 8844f0aa8dc42f54dc278c8d4ecbf32e92f2d6f1 (patch) | |
tree | 9fd8083bcebb8a99df745d958c95cc2569a06921 /drivers/block | |
parent | 72f2b0b2185099dce354c805009f591dda3ab73d (diff) | |
download | linux-8844f0aa8dc42f54dc278c8d4ecbf32e92f2d6f1.tar.xz |
ata: pata_parport: Fix ida_alloc return value error check
pi->dev.id is unsigned so error checking of ida_alloc return value does
not work. Fix it.
Signed-off-by: Ondrej Zary <linux@zary.sk>
Reviewed-by: Sergey Shtylyov <s.shtylyov@omp.ru>
Signed-off-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
Diffstat (limited to 'drivers/block')
0 files changed, 0 insertions, 0 deletions