scsi: fnic: Ratelimit printks to avoid flooding when vlan is not set by the switch.i
authorSatish Kharat <satishkh@cisco.com>
Wed, 1 Mar 2017 00:11:57 +0000 (16:11 -0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 23 Mar 2017 13:51:25 +0000 (09:51 -0400)
commitb43abcbbd5b10d5f057c8388cc4eff9ff1fe2fd6
tree678c4ea7848cb66c33ec905751696860d34f4c6a
parentcca678dfbad4954d53e58ca6b132b306c56f4423
scsi: fnic: Ratelimit printks to avoid flooding when vlan is not set by the switch.i

This is to avoid the log from being filled with vlan discovery messages
when there is no vlan configured on the switch.

Signed-off-by: Satish Kharat <satishkh@cisco.com>
Signed-off-by: Sesidhar Baddela <sebaddel@cisco.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/fnic/fnic_fcs.c