From: Simon Horman <horms@kernel.org>
To: "Nemanov, Michael" <michael.nemanov@ti.com>
Cc: Kalle Valo <kvalo@kernel.org>,
"David S. Miller" <davem@davemloft.net>,
Eric Dumazet <edumazet@google.com>,
Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
linux-wireless@vger.kernel.org, netdev@vger.kernel.org,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
Sabeeh Khan <sabeeh-khan@ti.com>
Subject: Re: [PATCH v3 12/17] wifi: cc33xx: Add scan.c, scan.h
Date: Sat, 2 Nov 2024 12:00:30 +0000 [thread overview]
Message-ID: <20241102120030.GG1838431@kernel.org> (raw)
In-Reply-To: <33f3b6a4-f907-4374-90ac-d81a81700936@ti.com>
On Mon, Oct 28, 2024 at 06:26:50PM +0200, Nemanov, Michael wrote:
> On 8/9/2024 7:03 PM, Simon Horman wrote:
> > On Tue, Aug 06, 2024 at 08:00:13PM +0300, Michael Nemanov wrote:
> >
> > ...
> >
> > > diff --git a/drivers/net/wireless/ti/cc33xx/scan.h b/drivers/net/wireless/ti/cc33xx/scan.h
> >
> > ...
> >
> > > +/**
> > > + * struct cc33xx_cmd_ssid_list - scan SSID list description
> > > + *
> > > + * @role_id: roleID
> > > + *
> > > + * @num_of_ssids: Number of SSID in the list. MAX 16 entries
> >
> > @num_of_ssids -> @n_ssids
> >
> > > + *
> > > + * @ssid_list: SSIDs to scan for (active scan only)
> >
> > @ssid_list -> @ssids
> >
>
> Thanks for the feedback, will fix.
>
> > Please document all non-private fields,
> > and annotate those that are private.
> >
>
> Not sure I follow. You mean mark private vs. non private members in the
> documentation? If so, private to what (the CC33xx driver or the underlying
> HW)?
Hi Michael,
I'm not sure why I mentioned private, perhaps it was a general statement
that all fields should either be documented or marked as private. If
you don't think anything is private - whatever that might mean - then you
can ignore that part of my comment. But suffice to say, there is syntax to
mark fields as private[1].
[1] https://www.kernel.org/doc/html/latest/doc-guide/kernel-doc.html#members
> > There are a number of similar minor Kernel doc problems with this patch.
> > Please consider using W=1 builds or ./scripts/kernel-doc -none
> > (bonus points for -Wall)
> >
>
> Ran both, got warning for "no structured comments found" on multiple files.
> Is that it?
I'm a but unsure why you see that, but what I was referring to is this:
$ ./scripts/kernel-doc -none drivers/net/wireless/ti/cc33xx/scan.h
drivers/net/wireless/ti/cc33xx/scan.h:104: warning: Function parameter or struct member 'header' not described in 'cc33xx_cmd_ssid_list'
drivers/net/wireless/ti/cc33xx/scan.h:104: warning: Function parameter or struct member 'scan_type' not described in 'cc33xx_cmd_ssid_list'
drivers/net/wireless/ti/cc33xx/scan.h:104: warning: Function parameter or struct member 'n_ssids' not described in 'cc33xx_cmd_ssid_list'
drivers/net/wireless/ti/cc33xx/scan.h:104: warning: Function parameter or struct member 'ssids' not described in 'cc33xx_cmd_ssid_list'
drivers/net/wireless/ti/cc33xx/scan.h:104: warning: Function parameter or struct member 'padding' not described in 'cc33xx_cmd_ssid_list'
drivers/net/wireless/ti/cc33xx/scan.h:104: warning: Excess struct member 'num_of_ssids' description in 'cc33xx_cmd_ssid_list'
drivers/net/wireless/ti/cc33xx/scan.h:104: warning: Excess struct member 'ssid_list' description in 'cc33xx_cmd_ssid_list'
drivers/net/wireless/ti/cc33xx/scan.h:149: warning: bad line:
drivers/net/wireless/ti/cc33xx/scan.h:177: warning: cannot understand function prototype: 'struct sched_scan_plan_cmd '
drivers/net/wireless/ti/cc33xx/scan.h:227: warning: Function parameter or struct member 'u' not described in 'scan_param'
drivers/net/wireless/ti/cc33xx/scan.h:227: warning: Excess struct member 'one_shot' description in 'scan_param'
drivers/net/wireless/ti/cc33xx/scan.h:227: warning: Excess struct member 'periodic' description in 'scan_param'
drivers/net/wireless/ti/cc33xx/scan.h:269: warning: Function parameter or struct member 'header' not described in 'cc33xx_cmd_scan_params'
drivers/net/wireless/ti/cc33xx/scan.h:269: warning: Function parameter or struct member 'padding' not described in 'cc33xx_cmd_scan_params'
drivers/net/wireless/ti/cc33xx/scan.h:295: warning: Function parameter or struct member 'header' not described in 'cc33xx_cmd_set_ies'
drivers/net/wireless/ti/cc33xx/scan.h:319: warning: Function parameter or struct member 'header' not described in 'cc33xx_cmd_scan_stop'
drivers/net/wireless/ti/cc33xx/scan.h:319: warning: Function parameter or struct member 'padding' not described in 'cc33xx_cmd_scan_stop'
next prev parent reply other threads:[~2024-11-02 12:00 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-06 17:00 [PATCH v3 00/17] wifi: cc33xx: Add driver for new TI CC33xx wireless device family Michael Nemanov
2024-08-06 17:00 ` [PATCH v3 01/17] wifi: cc33xx: Add cc33xx.h, cc33xx_i.h Michael Nemanov
2024-08-06 17:00 ` [PATCH v3 02/17] wifi: cc33xx: Add debug.h Michael Nemanov
2024-08-06 17:00 ` [PATCH v3 03/17] wifi: cc33xx: Add sdio.c, io.c, io.h Michael Nemanov
2024-08-07 7:12 ` Krzysztof Kozlowski
2024-08-07 14:55 ` Nemanov, Michael
2024-08-08 7:45 ` Krzysztof Kozlowski
2024-08-06 17:00 ` [PATCH v3 04/17] wifi: cc33xx: Add cmd.c, cmd.h Michael Nemanov
2024-08-06 17:00 ` [PATCH v3 05/17] wifi: cc33xx: Add acx.c, acx.h Michael Nemanov
2024-08-07 7:15 ` Krzysztof Kozlowski
2024-08-07 16:09 ` Nemanov, Michael
2024-08-06 17:00 ` [PATCH v3 06/17] wifi: cc33xx: Add event.c, event.h Michael Nemanov
2024-08-06 17:00 ` [PATCH v3 07/17] wifi: cc33xx: Add boot.c, boot.h Michael Nemanov
2024-08-06 17:00 ` [PATCH v3 08/17] wifi: cc33xx: Add main.c Michael Nemanov
2024-08-06 17:00 ` [PATCH v3 09/17] wifi: cc33xx: Add rx.c, rx.h Michael Nemanov
2024-08-06 17:00 ` [PATCH v3 10/17] wifi: cc33xx: Add tx.c, tx.h Michael Nemanov
2024-08-06 17:00 ` [PATCH v3 11/17] wifi: cc33xx: Add init.c, init.h Michael Nemanov
2024-08-06 17:00 ` [PATCH v3 12/17] wifi: cc33xx: Add scan.c, scan.h Michael Nemanov
2024-08-09 16:03 ` Simon Horman
2024-10-28 16:26 ` Nemanov, Michael
2024-11-02 12:00 ` Simon Horman [this message]
2024-11-03 13:09 ` Nemanov, Michael
2024-11-06 10:20 ` Simon Horman
2024-08-06 17:00 ` [PATCH v3 13/17] wifi: cc33xx: Add conf.h Michael Nemanov
2024-08-06 17:00 ` [PATCH v3 14/17] wifi: cc33xx: Add ps.c, ps.h Michael Nemanov
2024-08-06 17:00 ` [PATCH v3 15/17] wifi: cc33xx: Add testmode.c, testmode.h Michael Nemanov
2024-08-06 17:00 ` [PATCH v3 16/17] wifi: cc33xx: Add Kconfig, Makefile Michael Nemanov
2024-08-06 17:00 ` [PATCH v3 17/17] dt-bindings: net: wireless: cc33xx: Add ti,cc33xx.yaml Michael Nemanov
2024-08-07 7:06 ` Krzysztof Kozlowski
2024-08-07 15:51 ` Nemanov, Michael
2024-08-08 7:45 ` Krzysztof Kozlowski
2024-08-07 7:06 ` Krzysztof Kozlowski
2024-08-07 15:53 ` Nemanov, Michael
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20241102120030.GG1838431@kernel.org \
--to=horms@kernel.org \
--cc=conor+dt@kernel.org \
--cc=davem@davemloft.net \
--cc=devicetree@vger.kernel.org \
--cc=edumazet@google.com \
--cc=krzk+dt@kernel.org \
--cc=kuba@kernel.org \
--cc=kvalo@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-wireless@vger.kernel.org \
--cc=michael.nemanov@ti.com \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=robh@kernel.org \
--cc=sabeeh-khan@ti.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.