]> 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)
commit365dd9a0aace0924ae95b8f1a90444fb737fa5a3
tree7f21fdfec1e9b1696d26b6a885c23f6e4cc996c2
parent343b0cd804caa4a2cc2cfd8c0e5a743ffeece9e8
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