diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/message/fusion/mptsas.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/message/fusion/mptsas.c b/drivers/message/fusion/mptsas.c index f744f0fc9491..02a18dfcd52a 100644 --- a/drivers/message/fusion/mptsas.c +++ b/drivers/message/fusion/mptsas.c | |||
@@ -3314,6 +3314,7 @@ mptsas_send_expander_event(struct fw_event_work *fw_event) | |||
3314 | expander_data = (MpiEventDataSasExpanderStatusChange_t *) | 3314 | expander_data = (MpiEventDataSasExpanderStatusChange_t *) |
3315 | fw_event->event_data; | 3315 | fw_event->event_data; |
3316 | memcpy(&sas_address, &expander_data->SASAddress, sizeof(__le64)); | 3316 | memcpy(&sas_address, &expander_data->SASAddress, sizeof(__le64)); |
3317 | sas_address = le64_to_cpu(sas_address); | ||
3317 | port_info = mptsas_find_portinfo_by_sas_address(ioc, sas_address); | 3318 | port_info = mptsas_find_portinfo_by_sas_address(ioc, sas_address); |
3318 | 3319 | ||
3319 | if (expander_data->ReasonCode == MPI_EVENT_SAS_EXP_RC_ADDED) { | 3320 | if (expander_data->ReasonCode == MPI_EVENT_SAS_EXP_RC_ADDED) { |