diff options
Diffstat (limited to 'drivers/scsi/gdth.c')
-rw-r--r-- | drivers/scsi/gdth.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/gdth.c b/drivers/scsi/gdth.c index d5740bbdef3e..9b918fd43bf5 100644 --- a/drivers/scsi/gdth.c +++ b/drivers/scsi/gdth.c | |||
@@ -2542,7 +2542,7 @@ static void gdth_copy_internal_data(int hanum,Scsi_Cmnd *scp, | |||
2542 | gdth_ha_str *ha; | 2542 | gdth_ha_str *ha; |
2543 | char *address; | 2543 | char *address; |
2544 | 2544 | ||
2545 | cpcount = count<=(ushort)scp->bufflen ? count:(ushort)scp->bufflen; | 2545 | cpcount = count<=(ushort)scp->request_bufflen ? count:(ushort)scp->request_bufflen; |
2546 | ha = HADATA(gdth_ctr_tab[hanum]); | 2546 | ha = HADATA(gdth_ctr_tab[hanum]); |
2547 | 2547 | ||
2548 | if (scp->use_sg) { | 2548 | if (scp->use_sg) { |