]> git.baikalelectronics.ru Git - kernel.git/commit
bnx2x: fix incorrect filter count in an error message
authorMichal Schmidt <mschmidt@redhat.com>
Fri, 3 Mar 2017 16:08:33 +0000 (17:08 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 7 Mar 2017 21:47:15 +0000 (13:47 -0800)
commitbbcf1cc9c2f80449c679bd12a493cdc97b1a845b
tree55176f56b7824367316403224d147c7459a068e2
parentf23427ae1f1a7908b0896ec54377a838817ed106
bnx2x: fix incorrect filter count in an error message

filters->count is the number of filters we were supposed to configure.
There is no reason to increase it by +1 when printing the count in an error
message.

Signed-off-by: Michal Schmidt <mschmidt@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c