* PATCH [6/15] qla2xxx: LoopID downcast fix
@ 2004-05-07 5:53 Andrew Vasquez
0 siblings, 0 replies; only message in thread
From: Andrew Vasquez @ 2004-05-07 5:53 UTC (permalink / raw)
To: SCSI Mailing List, James Bottomley
ChangeSet
1.1927 04/04/30 11:12:45 andrew.vasquez@apc.qlogic.com +2 -0
Fix problem where the driver would incorrectly down-cast the target
loop_id while retrieving link statistics.
drivers/scsi/qla2xxx/qla_gbl.h | 2 +-
drivers/scsi/qla2xxx/qla_mbx.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff -Nru a/drivers/scsi/qla2xxx/qla_gbl.h b/drivers/scsi/qla2xxx/qla_gbl.h
--- a/drivers/scsi/qla2xxx/qla_gbl.h Mon May 3 15:14:24 2004
+++ b/drivers/scsi/qla2xxx/qla_gbl.h Mon May 3 15:14:24 2004
@@ -198,7 +198,7 @@
qla2x00_get_port_name(scsi_qla_host_t *, uint16_t, uint8_t *, uint8_t);
extern uint8_t
-qla2x00_get_link_status(scsi_qla_host_t *, uint8_t, link_stat_t *, uint16_t *);
+qla2x00_get_link_status(scsi_qla_host_t *, uint16_t, link_stat_t *, uint16_t *);
extern int
qla2x00_lip_reset(scsi_qla_host_t *);
diff -Nru a/drivers/scsi/qla2xxx/qla_mbx.c b/drivers/scsi/qla2xxx/qla_mbx.c
--- a/drivers/scsi/qla2xxx/qla_mbx.c Mon May 3 15:14:24 2004
+++ b/drivers/scsi/qla2xxx/qla_mbx.c Mon May 3 15:14:24 2004
@@ -1607,7 +1607,7 @@
* BIT_1 = mailbox error.
*/
uint8_t
-qla2x00_get_link_status(scsi_qla_host_t *ha, uint8_t loop_id,
+qla2x00_get_link_status(scsi_qla_host_t *ha, uint16_t loop_id,
link_stat_t *ret_buf, uint16_t *status)
{
int rval;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-05-07 5:51 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-07 5:53 PATCH [6/15] qla2xxx: LoopID downcast fix Andrew Vasquez
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox