]> www.infradead.org Git - users/jedix/linux-maple.git/commit
qed: Print multi-bit attentions properly
authorMintz, Yuval <Yuval.Mintz@cavium.com>
Mon, 29 May 2017 06:53:12 +0000 (09:53 +0300)
committerChuck Anderson <chuck.anderson@oracle.com>
Tue, 19 Sep 2017 05:32:19 +0000 (22:32 -0700)
commit6efb19fec4d1bbc87daf7fa838b09d8dd0f7e1f6
treef47632c4a68f18ca5e1e0296ed6c2d3011331224
parent26d1048973353542a26a3d8b50a6215f04381d15
qed: Print multi-bit attentions properly

Orabug: 26783820

In strucuture reflecting the AEU hw block some entries
represent multiple HW bits, and the associated name is in fact
a pattern.
Today, whenever such an attention would be asserted the resulted
prints would show the pattern string instead of indicating which
of the possible bits was set.

Signed-off-by: Yuval Mintz <Yuval.Mintz@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
[ Upstream commit 6010179da3a27f4622eb40a731337fbdb8bbc713 ]
Signed-off-by: Somasundaram Krishnasamy <somasundaram.krishnasamy@oracle.com>
drivers/net/ethernet/qlogic/qed/qed_int.c