]> git.baikalelectronics.ru Git - kernel.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)
committerDavid S. Miller <davem@davemloft.net>
Tue, 30 May 2017 16:07:03 +0000 (12:07 -0400)
commit26bc6406ac84658cd49b05d6ff21bbfd6f921b7b
treecba1787554ffa0bba9c1d17236342ace37c2ae34
parentb50da2654e5c8ff85670bb5ee20f17e27ac0c0ca
qed: Print multi-bit attentions properly

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>
drivers/net/ethernet/qlogic/qed/qed_int.c