Code Review
/
kvmfornfv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
These changes are the raw update to linux-4.4.6-rt14. Kernel sources
[kvmfornfv.git]
/
kernel
/
drivers
/
scsi
/
scsi_transport_sas.c
diff --git
a/kernel/drivers/scsi/scsi_transport_sas.c
b/kernel/drivers/scsi/scsi_transport_sas.c
index
9a05819
..
30d26e3
100644
(file)
--- a/
kernel/drivers/scsi/scsi_transport_sas.c
+++ b/
kernel/drivers/scsi/scsi_transport_sas.c
@@
-1222,13
+1222,6
@@
show_sas_rphy_enclosure_identifier(struct device *dev,
u64 identifier;
int error;
u64 identifier;
int error;
- /*
- * Only devices behind an expander are supported, because the
- * enclosure identifier is a SMP feature.
- */
- if (scsi_is_sas_phy_local(phy))
- return -EINVAL;
-
error = i->f->get_enclosure_identifier(rphy, &identifier);
if (error)
return error;
error = i->f->get_enclosure_identifier(rphy, &identifier);
if (error)
return error;
@@
-1248,9
+1241,6
@@
show_sas_rphy_bay_identifier(struct device *dev,
struct sas_internal *i = to_sas_internal(shost->transportt);
int val;
struct sas_internal *i = to_sas_internal(shost->transportt);
int val;
- if (scsi_is_sas_phy_local(phy))
- return -EINVAL;
-
val = i->f->get_bay_identifier(rphy);
if (val < 0)
return val;
val = i->f->get_bay_identifier(rphy);
if (val < 0)
return val;