Skip to content
Commit 90302e95 authored by John Pittman's avatar John Pittman Committed by Martin K. Petersen
Browse files

scsi: fnic: print port speed only at driver init or speed change

Port speed printing was added by commit d948e638 ("scsi: fnic: Add port
speed stat to fnic debug stats"). As currently configured, this will cause
the port speed to be printed to syslog every 2 seconds. To prevent log
spamming, only print the vnic port speed at driver initialization and if
the speed changes. Also clean up a small typo in fnic_trace.c.

Fixes: d948e638

 ("scsi: fnic: Add port speed stat to fnic debug stats")
Signed-off-by: default avatarJohn Pittman <jpittman@redhat.com>
Reviewed-by: default avatarSatish Kharat <satishkh@cisco.com>
Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
parent 84769706
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment