summaryrefslogtreecommitdiff
path: root/usr/src
diff options
context:
space:
mode:
authorToomas Soome <tsoome@me.com>2017-07-05 07:54:30 +0300
committerRobert Mustacchi <rm@joyent.com>2017-07-13 17:00:54 +0000
commit6b511167e8d56a74b24bdddf2937e6453ae54d1a (patch)
tree4eb4cee8d30b3498eecfc2658d6ea2159365b0e7 /usr/src
parent6c6416a920fdc28f97768efc3ce10124f1cb30f4 (diff)
downloadillumos-joyent-6b511167e8d56a74b24bdddf2937e6453ae54d1a.tar.gz
8460 emlxs: passing argument discards volatile qualifier
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com> Reviewed by: Aurélien Larcher <aurelien.larcher@gmail.com> Approved by: Robert Mustacchi <rm@joyent.com>
Diffstat (limited to 'usr/src')
-rw-r--r--usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c b/usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
index 54cf3a3533..cbd0eb4091 100644
--- a/usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
+++ b/usr/src/uts/common/io/fibre-channel/fca/emlxs/emlxs_mbox.c
@@ -2536,7 +2536,7 @@ emlxs_mb_config_hbq(emlxs_hba_t *hba, MAILBOXQ *mbq, int hbq_id)
if ((hbq->HBQ_profile == 2) || (hbq->HBQ_profile == 3) ||
(hbq->HBQ_profile == 5)) {
bcopy(&hbq->profiles.allprofiles,
- &mb->un.varCfgHbq.profiles.allprofiles,
+ (void *)&mb->un.varCfgHbq.profiles.allprofiles,
sizeof (hbq->profiles));
}