diff options
Diffstat (limited to 'drivers/scsi/libfc')
-rw-r--r-- | drivers/scsi/libfc/fc_fcp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/libfc/fc_fcp.c b/drivers/scsi/libfc/fc_fcp.c index 9cd2149519ac..41f7070ba9ba 100644 --- a/drivers/scsi/libfc/fc_fcp.c +++ b/drivers/scsi/libfc/fc_fcp.c | |||
@@ -498,7 +498,7 @@ crc_err: | |||
498 | stats = per_cpu_ptr(lport->dev_stats, get_cpu()); | 498 | stats = per_cpu_ptr(lport->dev_stats, get_cpu()); |
499 | stats->ErrorFrames++; | 499 | stats->ErrorFrames++; |
500 | /* per cpu count, not total count, but OK for limit */ | 500 | /* per cpu count, not total count, but OK for limit */ |
501 | if (stats->InvalidCRCCount++ < 5) | 501 | if (stats->InvalidCRCCount++ < FC_MAX_ERROR_CNT) |
502 | printk(KERN_WARNING "libfc: CRC error on data " | 502 | printk(KERN_WARNING "libfc: CRC error on data " |
503 | "frame for port (%6.6x)\n", | 503 | "frame for port (%6.6x)\n", |
504 | lport->port_id); | 504 | lport->port_id); |