Searched hist:"0 c126ec3" (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/net/ipa/ |
H A D | gsi_private.h | 0c126ec3 Tue Sep 06 12:19:38 CDT 2022 Alex Elder <elder@linaro.org> net: ipa: always use transaction IDs instead of lists
In gsi_channel_trans_complete(), use the completed and pending IDs to determine whether there are any transactions in completed state.
Similarly, in gsi_channel_trans_cancel_pending(), use the pending and committed IDs to mark pending transactions cancelled. Rearrange the logic a bit there for a simpler result.
This removes the only user of list_last_entry_or_null(), so get rid of that macro.
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>
|
H A D | gsi_trans.c | 0c126ec3 Tue Sep 06 12:19:38 CDT 2022 Alex Elder <elder@linaro.org> net: ipa: always use transaction IDs instead of lists
In gsi_channel_trans_complete(), use the completed and pending IDs to determine whether there are any transactions in completed state.
Similarly, in gsi_channel_trans_cancel_pending(), use the pending and committed IDs to mark pending transactions cancelled. Rearrange the logic a bit there for a simpler result.
This removes the only user of list_last_entry_or_null(), so get rid of that macro.
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>
|