diff options
-rw-r--r-- | drivers/message/fusion/mptsas.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/message/fusion/mptsas.c b/drivers/message/fusion/mptsas.c index 84643ac6c70f..cea10aa50d4a 100644 --- a/drivers/message/fusion/mptsas.c +++ b/drivers/message/fusion/mptsas.c | |||
@@ -271,7 +271,7 @@ static inline MPT_ADAPTER *rphy_to_ioc(struct sas_rphy *rphy) | |||
271 | } | 271 | } |
272 | 272 | ||
273 | static int | 273 | static int |
274 | mptsas_sas_exclosure_pg0(MPT_ADAPTER *ioc, struct mptsas_enclosure *enclosure, | 274 | mptsas_sas_enclosure_pg0(MPT_ADAPTER *ioc, struct mptsas_enclosure *enclosure, |
275 | u32 form, u32 form_specific) | 275 | u32 form, u32 form_specific) |
276 | { | 276 | { |
277 | ConfigExtendedPageHeader_t hdr; | 277 | ConfigExtendedPageHeader_t hdr; |
@@ -655,7 +655,7 @@ mptsas_get_enclosure_identifier(struct sas_rphy *rphy, u64 *identifier) | |||
655 | found_info: | 655 | found_info: |
656 | mutex_unlock(&ioc->sas_topology_mutex); | 656 | mutex_unlock(&ioc->sas_topology_mutex); |
657 | memset(&enclosure_info, 0, sizeof(struct mptsas_enclosure)); | 657 | memset(&enclosure_info, 0, sizeof(struct mptsas_enclosure)); |
658 | error = mptsas_sas_exclosure_pg0(ioc, &enclosure_info, | 658 | error = mptsas_sas_enclosure_pg0(ioc, &enclosure_info, |
659 | (MPI_SAS_ENCLOS_PGAD_FORM_HANDLE << | 659 | (MPI_SAS_ENCLOS_PGAD_FORM_HANDLE << |
660 | MPI_SAS_ENCLOS_PGAD_FORM_SHIFT), enclosure_handle); | 660 | MPI_SAS_ENCLOS_PGAD_FORM_SHIFT), enclosure_handle); |
661 | if (!error) | 661 | if (!error) |