* [PATCH] wifi: mac80211: use bullet list for amsdu_mesh_control formats list
@ 2023-03-23 9:24 Bagas Sanjaya
2023-03-23 18:25 ` Simon Horman
0 siblings, 1 reply; 2+ messages in thread
From: Bagas Sanjaya @ 2023-03-23 9:24 UTC (permalink / raw)
To: Linux Wireless Development, Linux Networking,
Linux Kernel Mailing List, Linux Documentation
Cc: Johannes Berg, David S. Miller, Eric Dumazet, Jakub Kicinski,
Paolo Abeni, Felix Fietkau, Ryder Lee, Bagas Sanjaya,
Stephen Rothwell
Commit fe4a6d2db3bad4 ("wifi: mac80211: implement support for yet
another mesh A-MSDU format") expands amsdu_mesh_control list to
multi-line list. However, the expansion triggers Sphinx warning:
Documentation/driver-api/80211/mac80211-advanced:214: ./net/mac80211/sta_info.h:628: WARNING: Unexpected indentation.
Use bullet list instead to fix the warning.
Link: https://lore.kernel.org/linux-next/20230323141548.659479ef@canb.auug.org.au/
Fixes: fe4a6d2db3bad4 ("wifi: mac80211: implement support for yet another mesh A-MSDU format")
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Bagas Sanjaya <bagasdotme@gmail.com>
---
net/mac80211/sta_info.h | 12 +++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)
diff --git a/net/mac80211/sta_info.h b/net/mac80211/sta_info.h
index f354d470e1740c..195b563132d6c5 100644
--- a/net/mac80211/sta_info.h
+++ b/net/mac80211/sta_info.h
@@ -622,11 +622,13 @@ struct link_sta_info {
* taken from HT/VHT capabilities or VHT operating mode notification
* @cparams: CoDel parameters for this station.
* @reserved_tid: reserved TID (if any, otherwise IEEE80211_TID_UNRESERVED)
- * @amsdu_mesh_control: track the mesh A-MSDU format used by the peer
- * (-1: not yet known,
- * 0: non-mesh A-MSDU length field
- * 1: big-endian mesh A-MSDU length field
- * 2: little-endian mesh A-MSDU length field)
+ * @amsdu_mesh_control: track the mesh A-MSDU format used by the peer:
+ *
+ * * -1: not yet known
+ * * 0: non-mesh A-MSDU length field
+ * * 1: big-endian mesh A-MSDU length field
+ * * 2: little-endian mesh A-MSDU length field
+ *
* @fast_tx: TX fastpath information
* @fast_rx: RX fastpath information
* @tdls_chandef: a TDLS peer can have a wider chandef that is compatible to
base-commit: 0dd45ebc08de2449efe1a0908147796856a5f824
--
An old man doll... just what I always wanted! - Clara
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] wifi: mac80211: use bullet list for amsdu_mesh_control formats list
2023-03-23 9:24 [PATCH] wifi: mac80211: use bullet list for amsdu_mesh_control formats list Bagas Sanjaya
@ 2023-03-23 18:25 ` Simon Horman
0 siblings, 0 replies; 2+ messages in thread
From: Simon Horman @ 2023-03-23 18:25 UTC (permalink / raw)
To: Bagas Sanjaya
Cc: Linux Wireless Development, Linux Networking,
Linux Kernel Mailing List, Linux Documentation, Johannes Berg,
David S. Miller, Eric Dumazet, Jakub Kicinski, Paolo Abeni,
Felix Fietkau, Ryder Lee, Stephen Rothwell
On Thu, Mar 23, 2023 at 04:24:54PM +0700, Bagas Sanjaya wrote:
> Commit fe4a6d2db3bad4 ("wifi: mac80211: implement support for yet
> another mesh A-MSDU format") expands amsdu_mesh_control list to
> multi-line list. However, the expansion triggers Sphinx warning:
FWIIW, checkpatch complains about the way that the commit is referenced
above. It's probably not worth respinning for this. But a way
to address this would be.
The referenced commit expands amsdu_mesh_control list to multi-line list.
However, the expansion triggers Sphinx warning:
>
> Documentation/driver-api/80211/mac80211-advanced:214: ./net/mac80211/sta_info.h:628: WARNING: Unexpected indentation.
>
> Use bullet list instead to fix the warning.
>
> Link: https://lore.kernel.org/linux-next/20230323141548.659479ef@canb.auug.org.au/
> Fixes: fe4a6d2db3bad4 ("wifi: mac80211: implement support for yet another mesh A-MSDU format")
> Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Checkpatch also says that the Link: tag should go here.
TBH, I'm not sure if that is important.
> Signed-off-by: Bagas Sanjaya <bagasdotme@gmail.com>
Patch itself looks good :)
Reviewed-by: Simon Horman <simon.horman@corigine.com>
> ---
> net/mac80211/sta_info.h | 12 +++++++-----
> 1 file changed, 7 insertions(+), 5 deletions(-)
>
> diff --git a/net/mac80211/sta_info.h b/net/mac80211/sta_info.h
> index f354d470e1740c..195b563132d6c5 100644
> --- a/net/mac80211/sta_info.h
> +++ b/net/mac80211/sta_info.h
> @@ -622,11 +622,13 @@ struct link_sta_info {
> * taken from HT/VHT capabilities or VHT operating mode notification
> * @cparams: CoDel parameters for this station.
> * @reserved_tid: reserved TID (if any, otherwise IEEE80211_TID_UNRESERVED)
> - * @amsdu_mesh_control: track the mesh A-MSDU format used by the peer
> - * (-1: not yet known,
> - * 0: non-mesh A-MSDU length field
> - * 1: big-endian mesh A-MSDU length field
> - * 2: little-endian mesh A-MSDU length field)
> + * @amsdu_mesh_control: track the mesh A-MSDU format used by the peer:
> + *
> + * * -1: not yet known
> + * * 0: non-mesh A-MSDU length field
> + * * 1: big-endian mesh A-MSDU length field
> + * * 2: little-endian mesh A-MSDU length field
> + *
> * @fast_tx: TX fastpath information
> * @fast_rx: RX fastpath information
> * @tdls_chandef: a TDLS peer can have a wider chandef that is compatible to
>
> base-commit: 0dd45ebc08de2449efe1a0908147796856a5f824
> --
> An old man doll... just what I always wanted! - Clara
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-03-23 18:26 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-23 9:24 [PATCH] wifi: mac80211: use bullet list for amsdu_mesh_control formats list Bagas Sanjaya
2023-03-23 18:25 ` Simon Horman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®