]> git.baikalelectronics.ru Git - kernel.git/commit
net: ipa: track polled transactions with an ID
authorAlex Elder <elder@linaro.org>
Wed, 31 Aug 2022 22:40:17 +0000 (17:40 -0500)
committerDavid S. Miller <davem@davemloft.net>
Fri, 2 Sep 2022 11:08:44 +0000 (12:08 +0100)
commit4ebe3cd4a0c404e18974c3d101ad9af083a1d0ad
treefafcfc1b096c8033990273281f16b3423b8b0971
parentede78d3e559a48dc1d59f423ac1a14aa4d997615
net: ipa: track polled transactions with an ID

Add a transaction ID to track the first element in the transaction
array that has been polled.  Advance the ID when we are releasing a
transaction.

Temporarily add warnings that verify that the first polled
transaction tracked by the ID matches the first element on the
polled list, both when polling and freeing.

Remove the temporary warnings added by the previous commit.

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