]> git.baikalelectronics.ru Git - kernel.git/commit
net: ipa: always report GSI state errors
authorAlex Elder <elder@linaro.org>
Tue, 30 Jun 2020 12:58:44 +0000 (07:58 -0500)
committerDavid S. Miller <davem@davemloft.net>
Wed, 1 Jul 2020 22:29:07 +0000 (15:29 -0700)
commitd09d5967dd7f45a22d2ecf86037c18bec6889229
treec713a40de7227187db87f01d73b2bb915b1edef7
parenta0f4714b733e386a93b078cf82da0abe8fa50186
net: ipa: always report GSI state errors

We check the state of an event ring or channel both before and after
any GSI command issued that will change that state.  In most--but
not all--cases, if the state is something different than expected we
report an error message.

Add error messages where missing, so that all unexpected states
provide information about what went wrong.  Drop the parentheses
around the state value shown in all cases.

Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ipa/gsi.c