[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220607025729.1673212-1-mfaltesek@google.com>
Date: Mon, 6 Jun 2022 21:57:26 -0500
From: Martin Faltesek <mfaltesek@...gle.com>
To: kuba@...nel.org, krzysztof.kozlowski@...aro.org
Cc: christophe.ricard@...il.com, gregkh@...uxfoundation.org,
groeck@...gle.com, jordy@...ing.systems, krzk@...nel.org,
mfaltesek@...gle.com, martin.faltesek@...il.com,
netdev@...r.kernel.org, linux-nfc@...ts.01.org,
sameo@...ux.intel.com, wklin@...gle.com, theflamefire89@...il.com
Subject: [PATCH net v3 0/3] Split "nfc: st21nfca: Refactor EVT_TRANSACTION"
into 3
Change log:
v2 -> v3:
1. v2 review comment: modified sender email to match SoB line.
2. v2 review comment: threading emails by using git send-email as
recommended.
3. v2 review comment: added linux-nfc@...ts.01.org. Tried to join
list but no reply so not sure if this messages makes it through.
4. v1 review comment: use net style multi-line comments.
This affected two multi-line comments in:
1/3
nfc: st21nfca: fix incorrect sizing calculations in EVT_TRANSACTION
5. added Cc: stable@...r.kernel.org in signoff area of each patch.
v1 -> v2:
Split the original patch into 3 patches, so that each one solves
a single issue. The original patch indicated 4 bugs, but two are
so closely related that I feel it makes sense to keep them
together.
1/3
nfc: st21nfca: fix incorrect validating logic in EVT_TRANSACTION
This is mentioned in v1 as #1. It just changes logical AND to
logical OR. The AND was rendering the check useless.
2/3
nfc: st21nfca: fix memory leaks in EVT_TRANSACTION handling
This is from v1 #3.
3/3
nfc: st21nfca: fix incorrect sizing calculations in EVT_TRANSACTION
This is from v1 #2 and #4
Both are derived from the same bug, which is the incorrect calculation
that buffer allocation size is skb->len - 2, so both should be combined.
After these 3 patches are applied, the end result is the same as v1
except:
1. minor comment rewording.
2. removed comments which felt superfluous explanations of obvious code.
v2: https://lore.kernel.org/netdev/20220401180939.2025819-1-mfaltesek@google.com/
v1: https://lore.kernel.org/netdev/20220329175431.3175472-1-mfaltesek@google.com/
Martin Faltesek (3):
nfc: st21nfca: fix incorrect validating logic in EVT_TRANSACTION
nfc: st21nfca: fix memory leaks in EVT_TRANSACTION handling
nfc: st21nfca: fix incorrect sizing calculations in EVT_TRANSACTION
drivers/nfc/st21nfca/se.c | 53 ++++++++++++++++++++++-----------------
1 file changed, 30 insertions(+), 23 deletions(-)
base-commit: b8d91399775c55162073bb2aca061ec42e3d4bc1
--
2.36.1.255.ge46751e96f-goog
Powered by blists - more mailing lists