Skip to contentSkip to conversation

wpan: Correct spelling in headers

PATCH In review Simon Horman 2 participants 5 messages Aug 29, 2024 – Aug 30, 2024

Subsystems (3)
lore
Share & tools
lore

Simon Horman

author reviewer
#0 lore raw

cover wpan: Correct spelling in headers

Correct spelling in nl802154.h and mac802154.h.
As flagged by Codespell.

---
Simon Horman (2):

      mac802154: Correct spelling in mac802154.h
      ieee802154: Correct spelling in nl802154.h
 include/net/mac802154.h | 4 ++--
 include/net/nl802154.h  | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

base-commit: 9187210eee7d87eea37b45ea93454a88681894a4

author reviewer
#1 lore raw

PATCH 1/2 mac802154: Correct spelling in mac802154.h

Correct spelling in mac802154.h.
As reported by codespell.

---
 include/net/mac802154.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
include/net/mac802154.h +2 -2
index 4a3a9de9da73..1b5488fa2ff0 100644
@@ -140,7 +140,7 @@ enum ieee802154_hw_flags {
  *
  * xmit_sync:
  *	  Handler that 802.15.4 module calls for each transmitted frame.
- *	  skb cntains the buffer starting from the IEEE 802.15.4 header.
+ *	  skb contains the buffer starting from the IEEE 802.15.4 header.
  *	  The low-level driver should send the frame based on available
  *	  configuration. This is called by a workqueue and useful for
  *	  synchronous 802.15.4 drivers.
@@ -152,7 +152,7 @@ enum ieee802154_hw_flags {
  *
  * xmit_async:
  *	  Handler that 802.15.4 module calls for each transmitted frame.
- *	  skb cntains the buffer starting from the IEEE 802.15.4 header.
+ *	  skb contains the buffer starting from the IEEE 802.15.4 header.
  *	  The low-level driver should send the frame based on available
  *	  configuration.
  *	  This function should return zero or negative errno.
Signature · 1 line
2.45.2
maintainer
#2 lore raw

Re: [PATCH wpan-next 1/2] mac802154: Correct spelling in mac802154.h

Hello Simon,

Quoted 23 lines · Simon Horman

Correct spelling in mac802154.h.
As reported by codespell.

---
  include/net/mac802154.h | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)
include/net/mac802154.h +1 -1
index 4a3a9de9da73..1b5488fa2ff0 100644
@@ -140,7 +140,7 @@ enum ieee802154_hw_flags {
   *
   * xmit_sync:
   *	  Handler that 802.15.4 module calls for each transmitted frame.
- *	  skb cntains the buffer starting from the IEEE 802.15.4 header.
+ *	  skb contains the buffer starting from the IEEE 802.15.4 header.
   *	  The low-level driver should send the frame based on available
   *	  configuration. This is called by a workqueue and useful for
   *	  synchronous 802.15.4 drivers.

include/net/mac802154.h enum ieee802154_hw_flags { · line 158

Quoted 8 lines
include/net/mac802154.h +1 -1
@@ -152,7 +152,7 @@ enum ieee802154_hw_flags {
   *
   * xmit_async:
   *	  Handler that 802.15.4 module calls for each transmitted frame.
- *	  skb cntains the buffer starting from the IEEE 802.15.4 header.
+ *	  skb contains the buffer starting from the IEEE 802.15.4 header.
   *	  The low-level driver should send the frame based on available
   *	  configuration.
   *	  This function should return zero or negative errno.

This patch has been applied to the wpan tree and will be part of the next pull request to net. Thanks!

regards
Stefan Schmidt

author reviewer
#3 lore raw

PATCH 2/2 ieee802154: Correct spelling in nl802154.h

In reply to Simon Horman

Correct spelling in nl802154.h.
As reported by codespell.

---
 include/net/nl802154.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/net/nl802154.h +1 -1
index 4c752f799957..a994dea74596 100644
@@ -192,7 +192,7 @@ enum nl802154_iftype {
  * @NL802154_CAP_ATTR_TX_POWERS: a nested attribute for
  *	nl802154_wpan_phy_tx_power
  * @NL802154_CAP_ATTR_MIN_CCA_ED_LEVEL: minimum value for cca_ed_level
- * @NL802154_CAP_ATTR_MAX_CCA_ED_LEVEL: maxmimum value for cca_ed_level
+ * @NL802154_CAP_ATTR_MAX_CCA_ED_LEVEL: maximum value for cca_ed_level
  * @NL802154_CAP_ATTR_CCA_MODES: nl802154_cca_modes flags
  * @NL802154_CAP_ATTR_CCA_OPTS: nl802154_cca_opts flags
  * @NL802154_CAP_ATTR_MIN_MINBE: minimum of minbe value
Signature · 1 line
2.45.2
maintainer
#4 lore raw

Re: [PATCH wpan-next 2/2] ieee802154: Correct spelling in nl802154.h

Hello Simon,

Quoted 14 lines · Simon Horman

Correct spelling in nl802154.h.
As reported by codespell.

---
  include/net/nl802154.h | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
include/net/nl802154.h +0 -0
index 4c752f799957..a994dea74596 100644

include/net/nl802154.h enum nl802154_iftype { · line 198

Quoted 8 lines
include/net/nl802154.h +1 -1
@@ -192,7 +192,7 @@ enum nl802154_iftype {
   * @NL802154_CAP_ATTR_TX_POWERS: a nested attribute for
   *	nl802154_wpan_phy_tx_power
   * @NL802154_CAP_ATTR_MIN_CCA_ED_LEVEL: minimum value for cca_ed_level
- * @NL802154_CAP_ATTR_MAX_CCA_ED_LEVEL: maxmimum value for cca_ed_level
+ * @NL802154_CAP_ATTR_MAX_CCA_ED_LEVEL: maximum value for cca_ed_level
   * @NL802154_CAP_ATTR_CCA_MODES: nl802154_cca_modes flags
   * @NL802154_CAP_ATTR_CCA_OPTS: nl802154_cca_opts flags
   * @NL802154_CAP_ATTR_MIN_MINBE: minimum of minbe value

This patch has been applied to the wpan tree and will be part of the next pull request to net. Thanks!

regards
Stefan Schmidt