]> www.infradead.org Git - users/jedix/linux-maple.git/commit
bnx2x: downgrade Max BW error message to debug
authorJoe Jin <joe.jin@oracle.com>
Mon, 27 Aug 2012 11:26:29 +0000 (19:26 +0800)
committerJoe Jin <joe.jin@oracle.com>
Tue, 28 Aug 2012 07:23:17 +0000 (15:23 +0800)
commit50d5f7f9e4b912cad34ed79f29ba08c13d1b195d
tree9e6456b85c644febb75fcd775a73be20124f4319
parentfda5c7e55a50f26e4ad263da6169d48b13b8e68f
bnx2x: downgrade Max BW error message to debug

There are valid configurations where Max BW is configured to zero for
some VNs.
Print the message only if debugging is enabled and do not call the
configuration "illegal".

[v2: use DP(), not BNX2X_DBG_ERR(); recommended by Eilon Greenstein.]

(backported from upstream commit 96b0accb8867627250e911f8929e6c01da1ffd40)
Signed-off-by: Michal Schmidt <mschmidt@redhat.com>
Acked-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Joe Jin <joe.jin@oracle.com>
drivers/net/bnx2x/bnx2x_cmn.h