aboutsummaryrefslogtreecommitdiff
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorJohn Pittman <[email protected]>2019-08-23 10:08:52 -0400
committerMartin K. Petersen <[email protected]>2019-08-30 03:32:35 -0400
commit90302e95a4e185ee0ef5c2e78cf6112149c74908 (patch)
treeec94d9304e7fcfb4f7b91ed49bdbb3b72a00d55c /net/switchdev/switchdev.c
parent84769706dde5881b8da0dc3da666f7443be95a8a (diff)
scsi: fnic: print port speed only at driver init or speed change
Port speed printing was added by commit d948e6383ec3 ("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: d948e6383ec3 ("scsi: fnic: Add port speed stat to fnic debug stats") Signed-off-by: John Pittman <[email protected]> Reviewed-by: Satish Kharat <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions