]> www.infradead.org Git - users/jedix/linux-maple.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)
committerSomasundaram Krishnasamy <somasundaram.krishnasamy@oracle.com>
Fri, 14 Jul 2017 17:54:32 +0000 (10:54 -0700)
commitaf435577483ac77cddf33f320484c734b4c7d9a9
tree6e9979748a073a35bbfe169560b6055d403e1404
parentbebf245321fcc846013517a61937a026fc7dbdf1
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.

Orabug: 26440216

Signed-off-by: Michal Schmidt <mschmidt@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
(cherry picked from commit 74bcbeb7d77ec92e4262fc340cb436ef7d98ba01)
Signed-off-by: Somasundaram Krishnasamy <somasundaram.krishnasamy@oracle.com>
Reviewed-by: Jack Vogel <jack.vogel@oracle.com>
drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c