fm10k: Fix misuse of net_ratelimit()
authorJoe Perches <joe@perches.com>
Fri, 11 Aug 2017 16:17:15 +0000 (09:17 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 3 Oct 2017 15:51:27 +0000 (08:51 -0700)
commitc0ad8ef3df091ef179d78dccb810024612dcfa44
tree2a6862dde7152ffa9bceab34171de6f1fa48d9c4
parentef57ab791c81b3a83c75a312b15b42f7440bb425
fm10k: Fix misuse of net_ratelimit()

Correct the backward logic using !net_ratelimit()

Miscellanea:

o Add a blank line before the error return label

Signed-off-by: Joe Perches <joe@perches.com>
Tested-by: Krishneil Singh <krishneil.k.singh@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/fm10k/fm10k_main.c