* [PATCH v2 0/3] Split "nfc: st21nfca: Refactor EVT_TRANSACTION" into 3
@ 2022-04-01 18:09 Martin Faltesek
2022-04-02 9:07 ` Krzysztof Kozlowski
2022-06-02 19:10 ` Denis Efremov
0 siblings, 2 replies; 3+ messages in thread
From: Martin Faltesek @ 2022-04-01 18:09 UTC (permalink / raw)
To: netdev, kuba, krzk, christophe.ricard, jordy
Cc: sameo, wklin, groeck, mfaltesek, gregkh
Changes in 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:
-- minor comment rewording.
-- removed some comments which felt superfluous explanations of
obvious code.
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 | 51 +++++++++++++++++++++++----------------
1 file changed, 30 insertions(+), 21 deletions(-)
base-commit: e8b767f5e04097aaedcd6e06e2270f9fe5282696
--
2.35.1.1094.g7c7d902a7c-goog
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH v2 0/3] Split "nfc: st21nfca: Refactor EVT_TRANSACTION" into 3
2022-04-01 18:09 [PATCH v2 0/3] Split "nfc: st21nfca: Refactor EVT_TRANSACTION" into 3 Martin Faltesek
@ 2022-04-02 9:07 ` Krzysztof Kozlowski
2022-06-02 19:10 ` Denis Efremov
1 sibling, 0 replies; 3+ messages in thread
From: Krzysztof Kozlowski @ 2022-04-02 9:07 UTC (permalink / raw)
To: Martin Faltesek, netdev, kuba, christophe.ricard, jordy
Cc: sameo, wklin, groeck, mfaltesek, gregkh
On 01/04/2022 20:09, Martin Faltesek wrote:
> Changes in 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.
>
Please thread your patchset. git send-email does it by default, so just
`format-patch -3 --cover-letter -v2` and then `git send-email ... v2*`
In the Cc list, you missed the linux-nfc mailing list, probably because
it requires subscription.
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH v2 0/3] Split "nfc: st21nfca: Refactor EVT_TRANSACTION" into 3
2022-04-01 18:09 [PATCH v2 0/3] Split "nfc: st21nfca: Refactor EVT_TRANSACTION" into 3 Martin Faltesek
2022-04-02 9:07 ` Krzysztof Kozlowski
@ 2022-06-02 19:10 ` Denis Efremov
1 sibling, 0 replies; 3+ messages in thread
From: Denis Efremov @ 2022-06-02 19:10 UTC (permalink / raw)
To: Martin Faltesek, netdev, kuba, krzk, christophe.ricard, jordy
Cc: sameo, wklin, groeck, mfaltesek, gregkh, theflamefire89,
Pavel Machek
Hi,
On 4/1/22 22:09, Martin Faltesek wrote:
> Changes in 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:
>
> -- minor comment rewording.
> -- removed some comments which felt superfluous explanations of
> obvious code.
>
> 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 | 51 +++++++++++++++++++++++----------------
> 1 file changed, 30 insertions(+), 21 deletions(-)
>
Ping?
Denis
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-06-02 19:12 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-04-01 18:09 [PATCH v2 0/3] Split "nfc: st21nfca: Refactor EVT_TRANSACTION" into 3 Martin Faltesek
2022-04-02 9:07 ` Krzysztof Kozlowski
2022-06-02 19:10 ` Denis Efremov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).