diff options
author | Gerhard Engleder <gerhard@engleder-embedded.com> | 2022-08-04 20:39:35 +0200 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-08-08 20:44:33 -0700 |
commit | b3bb8628bf64440065976c71e4ab09186c393597 (patch) | |
tree | 01277f80afcf77a5b337c9c8b89fc85377c51a1c /lib/mpi/mpi-cmp.c | |
parent | 73afd7816c551c8da1c8f41462110a46a317eefb (diff) |
tsnep: Fix tsnep_tx_unmap() error path usage
If tsnep_tx_map() fails, then tsnep_tx_unmap() shall start at the write
index like tsnep_tx_map(). This is different to the normal operation.
Thus, add an additional parameter to tsnep_tx_unmap() to enable start at
different positions for successful TX and failed TX.
Fixes: 403f69bbdbad ("tsnep: Add TSN endpoint Ethernet MAC driver")
Signed-off-by: Gerhard Engleder <gerhard@engleder-embedded.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions