Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 198439e4 authored by jack wang's avatar jack wang Committed by James Bottomley
Browse files

[SCSI] libsas: do not set res = 0 in sas_ex_discover_dev()



We should not set res to 0 in function sas_ex_discover_dev  in order to let
it discover it further when wide port hotplug in .

Signed-off-by: default avatarTom Peng <tom_peng@usish.com>
Signed-off-by: default avatarJack Wang <jack_wang@usish.com>
Signed-off-by: default avatarJames Bottomley <James.Bottomley@suse.de>
parent b2b465e9
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -960,7 +960,6 @@ static int sas_ex_discover_dev(struct domain_device *dev, int phy_id)

			}
		}
		res = 0;
	}

	return res;