Skip to content

Commit 515c260

Browse files
authored
Merge pull request #13 from xyan264/fix-port-bc
Fix PAX reachable type check in pax_get_nvme_pf_list function
2 parents 3381299 + 0985dca commit 515c260

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

plugins/microchip/switchtec-nvme.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -391,8 +391,7 @@ static int pax_get_nvme_pf_list(struct pax_nvme_device *pax,
391391
r_type = fg.body.pax_idx[i].reachable_type;
392392

393393
if (fg.hdr.pax_idx == i ||
394-
r_type == SWITCHTEC_GFMS_DB_REACH_UC ||
395-
r_type == SWITCHTEC_GFMS_DB_REACH_BC) {
394+
r_type == SWITCHTEC_GFMS_DB_REACH_UC) {
396395
ret = switchtec_set_pax_id(pax->dev, i);
397396
if (ret)
398397
continue;

0 commit comments

Comments
 (0)