]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf36c88f118da28c158bcfe3983967a14a8a8025c
tree2a6862dde7152ffa9bceab34171de6f1fa48d9c4
parent0037091388e46873f0f356ab879a04cdd8c572a9
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