diff options
author | Martin Peschke <mp3@de.ibm.com> | 2008-04-18 06:51:55 -0400 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2008-04-18 12:50:17 -0400 |
commit | 1f6f7129ebac007629b28764bfa5147817682692 (patch) | |
tree | 4e0420ff91ed617a97e48b0db81d334e5ba80935 /drivers/s390/scsi/zfcp_aux.c | |
parent | 99773aab0377ee5bcaf37b7cd2577c3465422dab (diff) |
[SCSI] zfcp: fix 31 bit compile warnings
drivers/s390/scsi/zfcp_aux.c: In function ‘zfcp_fsf_incoming_els_rscn’:
drivers/s390/scsi/zfcp_aux.c:1379: warning: cast from pointer to integer of
different size
drivers/s390/scsi/zfcp_aux.c: In function ‘zfcp_fsf_incoming_els_plogi’:
drivers/s390/scsi/zfcp_aux.c:1432: warning: cast from pointer to integer of
different size
drivers/s390/scsi/zfcp_aux.c: In function ‘zfcp_fsf_incoming_els_logo’:
drivers/s390/scsi/zfcp_aux.c:1457: warning: cast from pointer to integer of
different size
..
Just passing pointers rids us of these warnings and improves readability.
Signed-off-by: Martin Peschke <mp3@de.ibm.com>
Signed-off-by: Christof Schmitt <christof.schmitt@de.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/s390/scsi/zfcp_aux.c')
-rw-r--r-- | drivers/s390/scsi/zfcp_aux.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/s390/scsi/zfcp_aux.c b/drivers/s390/scsi/zfcp_aux.c index 05a33c247c68..8c7e2b778ef1 100644 --- a/drivers/s390/scsi/zfcp_aux.c +++ b/drivers/s390/scsi/zfcp_aux.c | |||
@@ -1376,7 +1376,7 @@ static void zfcp_fsf_incoming_els_rscn(struct zfcp_fsf_req *fsf_req) | |||
1376 | "port 0x%016Lx\n", port->wwpn); | 1376 | "port 0x%016Lx\n", port->wwpn); |
1377 | zfcp_erp_port_reopen(port, | 1377 | zfcp_erp_port_reopen(port, |
1378 | ZFCP_STATUS_COMMON_ERP_FAILED, | 1378 | ZFCP_STATUS_COMMON_ERP_FAILED, |
1379 | 82, (u64)fsf_req); | 1379 | 82, fsf_req); |
1380 | continue; | 1380 | continue; |
1381 | } | 1381 | } |
1382 | 1382 | ||
@@ -1429,7 +1429,7 @@ static void zfcp_fsf_incoming_els_plogi(struct zfcp_fsf_req *fsf_req) | |||
1429 | status_buffer->d_id, | 1429 | status_buffer->d_id, |
1430 | zfcp_get_busid_by_adapter(adapter)); | 1430 | zfcp_get_busid_by_adapter(adapter)); |
1431 | } else { | 1431 | } else { |
1432 | zfcp_erp_port_forced_reopen(port, 0, 83, (u64)fsf_req); | 1432 | zfcp_erp_port_forced_reopen(port, 0, 83, fsf_req); |
1433 | } | 1433 | } |
1434 | } | 1434 | } |
1435 | 1435 | ||
@@ -1454,7 +1454,7 @@ static void zfcp_fsf_incoming_els_logo(struct zfcp_fsf_req *fsf_req) | |||
1454 | status_buffer->d_id, | 1454 | status_buffer->d_id, |
1455 | zfcp_get_busid_by_adapter(adapter)); | 1455 | zfcp_get_busid_by_adapter(adapter)); |
1456 | } else { | 1456 | } else { |
1457 | zfcp_erp_port_forced_reopen(port, 0, 84, (u64)fsf_req); | 1457 | zfcp_erp_port_forced_reopen(port, 0, 84, fsf_req); |
1458 | } | 1458 | } |
1459 | } | 1459 | } |
1460 | 1460 | ||