ieee802154: fix typos in comments
Subsystems (3)
v2 cover ieee802154: fix typos in comments
Two comment typos under 802.15.4, split per component. Found with scripts/checkpatch.pl using the misspelling list in scripts/spelling.txt. Comments only, no code
changes.
v1 went out with a bare [PATCH] and a "net:" subject prefix. As maintainer-netdev.rst asks, v2 designates the patches to a tree, and each subject now names the component it touches instead of "net:". The series is rebased onto that tree; the diff is unchanged.
v1: https://lore.kernel.org/all/[email protected]/
Hemanth Selam (2):
ieee802154: at86rf230: fix typo "upto" in comment
mac802154: fix typo "substract" in comment
drivers/net/ieee802154/at86rf230.c | 2 +- net/mac802154/iface.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
PATCH v2 1/2 ieee802154: at86rf230: fix typo "upto" in comment
Fix a typo in comments, found with scripts/checkpatch.pl using the misspelling list in scripts/spelling.txt. Only touches comments, no code changes.
---
Notes:
v2: designate the patch to wpan-next and use a subject prefix naming the component, as maintainer-netdev.rst asks; v1 went out with a bare [PATCH] and a "net:" prefix. Rebased onto wpan-next, diff unchanged.
v1: https://lore.kernel.org/all/[email protected]/
drivers/net/ieee802154/at86rf230.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/ieee802154/at86rf230.c +1 -1
@@ -1370,7 +1370,7 @@ static int at86rf230_hw_init(struct at86rf230_local *lp, u8 xtal_trim)* but this is different on each board setup. You need to fine * tuning this value via CTRIM. * CTRIM = variable capacitor setting. Resolution is 0.3 pF range is -* 0 pF upto 4.5 pF. +* 0 pF up to 4.5 pF. * * Examples: * atben transceiver:
PATCH v2 2/2 mac802154: fix typo "substract" in comment
In reply to Hemanth SelamFix a typo in comments, found with scripts/checkpatch.pl using the misspelling list in scripts/spelling.txt. Only touches comments, no code changes.
---
Notes:
v2: designate the patch to wpan-next and use a subject prefix naming the component, as maintainer-netdev.rst asks; v1 went out with a bare [PATCH] and a "net:" prefix. Rebased onto wpan-next, diff unchanged.
v1: https://lore.kernel.org/all/[email protected]/
net/mac802154/iface.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
net/mac802154/iface.c +1 -1
@@ -521,7 +521,7 @@ static void ieee802154_if_setup(struct net_device *dev)/* Let hard_header_len set to IEEE802154_MIN_HEADER_LEN. AF_PACKET * will not send frames without any payload, but ack frames -* has no payload, so substract one that we can send a 3 bytes +* has no payload, so subtract one that we can send a 3 bytes * frame. The xmit callback assumes at least a hard header where two * bytes fc and sequence field are set. */
Quoted 8 lines · Hemanth Selam
Two comment typos under 802.15.4, split per component. Found with
scripts/checkpatch.plusing the misspelling list inscripts/spelling.txt. Comments only, no code
changes.v1 went out with a bare [PATCH] and a "net:" subject prefix. As
maintainer-netdev.rstasks, v2 designates the patches to a tree, and each subject now names the component it touches instead of "net:". The series is rebased onto that tree; the diff is unchanged.
I didn't ask for a split, we can abuse the prefix in that case.
You should not have dropped my R-by tag though, given the fact that the diff is strictly identical.
No need to resend again though.
Thanks,
Miquèl
Quoted 2 lines · Miquel Raynal
You should not have dropped my R-by tag though, given the fact that the diff is strictly identical.
You are right, and I am sorry. The diff was unchanged, so your tag should have been carried over. I rebuilt the series from the commits rather than from the posted patches and lost the trailer on the way; that is my mistake, not something you should have had to chase.
Thanks for re-giving it, and for the note on the split. I split by component because maintainer-netdev.rst asks the prefix to name the code being touched, and I could not see how to name both drivers/net/ieee802154 and net/mac802154 in one prefix. Abusing the prefix is fine by me next time.
I will not resend, as you asked.