]> git.baikalelectronics.ru Git - kernel.git/commit
net: ipa: print channel/event ring number on error
authorAlex Elder <elder@linaro.org>
Thu, 19 Nov 2020 22:49:24 +0000 (16:49 -0600)
committerJakub Kicinski <kuba@kernel.org>
Sat, 21 Nov 2020 02:45:51 +0000 (18:45 -0800)
commit762d5678414f8bd5a4b76c86e109478423c12f2d
tree7f21fdfec1e9b1696d26b6a885c23f6e4cc996c2
parent236ea06d0dd00d9903543dd50db4b4ca456d8fb9
net: ipa: print channel/event ring number on error

When a GSI command is used to change the state of a channel or event
ring we check the state before and after the command to ensure it is
as expected.  If not, we print an error message, but it does not
include the channel or event ring id, and it easily can.  Add the
channel or event ring id to these error messages.

Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ipa/gsi.c