[PATCH] libsas: do not return error for table2table link

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi, all

In SAS2 spec table to table link is allowed and useful in self-configurable
topology, so we should not return error for this.

Jack

From: Jack Wang <jack_wang@xxxxxxxxx>
Date: Wed, 6 Oct 2010 16:59:29 +0800
Subject: [PATCH] Do not return error when encounters table2table link

Signed-off-by: Tom Peng <tom_peng@xxxxxxxxx>
Signed-off-by: Jack Wang <jack_wang@xxxxxxxxx>
Signed-off-by: Lindar Liu <lindar_liu@xxxxxxxxx>
---
 sas_expander.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/sas_expander.c b/sas_expander.c
index f282234..7be9422 100644
--- a/sas_expander.c
+++ b/sas_expander.c
@@ -1233,7 +1233,6 @@ static int sas_check_parent_topology(struct
domain_device *child)
 			} else if (parent_phy->routing_attr == TABLE_ROUTING
&&
 				   child_phy->routing_attr !=
SUBTRACTIVE_ROUTING) {
 				sas_print_parent_topology_bug(child,
parent_phy, child_phy);
-				res = -ENODEV;
 			}
 			break;
 		case FANOUT_DEV:
-- 
1.7.2.3.msysgit.0

Attachment: 0001-Do-not-return-error-when-enconter-table2table-link.patch
Description: Binary data


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux