Skip to content

nfc: st-nci: Restructure validating logic in EVT_TRANSACTION

Martin Faltesek netdev 2 versions – Applied

Status from this message: This series was applied to netdev/net.git (master)

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 3 repliesApplied 3/3
  2. v13 patches 3 repliesSuperseded

Changes in v2 from the cover letter

- patchwork bot: fix most the warnings exceeding 80 columns, except the table in the comments. Able to reduce the table width only partially to prevent clarity loss.
- Guenter's comment: remove unnecessary parenthesis.

Patches in v2 All 3 applied

#Subject and filesSizeRepliesApplied
1/3nfc: st-nci: fix incorrect validating logic in EVT_TRANSACTIONdrivers/nfc/st-nci/se.c+1 -11 replyApplied
2/3nfc: st-nci: fix memory leaks in EVT_TRANSACTIONdrivers/nfc/st-nci/se.c+3 -11 replyApplied
3/3nfc: st-nci: fix incorrect sizing calculations in EVT_TRANSACTIONdrivers/nfc/st-nci/se.c+36 -151 replyApplied

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchGuenter RoeckKrzysztof Kozlowski
1/3R-b R-b
2/3R-b R-b
3/3R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH net v2 0/3] nfc: st-nci: Restructure validating logic in EVT_TRANSACTION

These are the same 3 patches that were applied in st21nfca here:
https://lore.kernel.org/netdev/[email protected]
with a couple minor differences.

st-nci has nearly identical code to that of st21nfca for EVT_TRANSACTION, except that there are two extra validation checks that are not present in the st-nci code. The 3/3 patch as coded for st21nfca pulls those checks in, bringing both drivers into parity.

V1 -> V2:
- patchwork bot: fix most the warnings exceeding 80 columns, except the table in the comments. Able to reduce the table width only partially to prevent clarity loss.
- Guenter's comment: remove unnecessary parenthesis.

Martin Faltesek (3):
nfc: st-nci: fix incorrect validating logic in EVT_TRANSACTION
nfc: st-nci: fix memory leaks in EVT_TRANSACTION
nfc: st-nci: fix incorrect sizing calculations in EVT_TRANSACTION

 drivers/nfc/st-nci/se.c | 49 ++++++++++++++++++++++++++++++-----------
 1 file changed, 36 insertions(+), 13 deletions(-)

base-commit: 2360f9b8c4e81d242d4cbf99d630a2fffa681fab

Signature · 1 line
2.38.1.584.g0f3c55d4c2-goog