linux-next: build warning after merge of the net-next tree

3 messages, 3 authors, 2021-10-30 · open the first message on its own page

linux-next: build warning after merge of the net-next tree

From: Stephen Rothwell <hidden>
Date: 2021-10-27 11:07:28

Hi all,

After merging the net-next tree, today's linux-next build (htmldocs)
produced this warning:

include/linux/phylink.h:82: warning: Function parameter or member 'DECLARE_PHY_INTERFACE_MASK(supported_interfaces' not described in 'phylink_config'

Introduced by commit

  38c310eb46f5 ("net: phylink: add MAC phy_interface_t bitmap")

Or maybe this is a problem with the tool ...

-- 
Cheers,
Stephen Rothwell

Re: linux-next: build warning after merge of the net-next tree

From: "Russell King (Oracle)" <linux@armlinux.org.uk>
Date: 2021-10-27 11:34:54

On Wed, Oct 27, 2021 at 10:07:21PM +1100, Stephen Rothwell wrote:
Hi all,

After merging the net-next tree, today's linux-next build (htmldocs)
produced this warning:

include/linux/phylink.h:82: warning: Function parameter or member 'DECLARE_PHY_INTERFACE_MASK(supported_interfaces' not described in 'phylink_config'

Introduced by commit

  38c310eb46f5 ("net: phylink: add MAC phy_interface_t bitmap")

Or maybe this is a problem with the tool ...
Hmm. Looks like it is a tooling problem.

 * @supported_interfaces: bitmap describing which PHY_INTERFACE_MODE_xxx
 *                        are supported by the MAC/PCS.

        DECLARE_PHY_INTERFACE_MASK(supported_interfaces);

I'm guessing the tool doesn't use the preprocessed source. I'm not sure
what the solution to this would be.

-- 
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last!

Re: linux-next: build warning after merge of the net-next tree

From: Randy Dunlap <rdunlap@infradead.org>
Date: 2021-10-30 02:10:06

On 10/27/21 4:34 AM, Russell King (Oracle) wrote:
On Wed, Oct 27, 2021 at 10:07:21PM +1100, Stephen Rothwell wrote:
quoted
Hi all,

After merging the net-next tree, today's linux-next build (htmldocs)
produced this warning:

include/linux/phylink.h:82: warning: Function parameter or member 'DECLARE_PHY_INTERFACE_MASK(supported_interfaces' not described in 'phylink_config'

Introduced by commit

   38c310eb46f5 ("net: phylink: add MAC phy_interface_t bitmap")

Or maybe this is a problem with the tool ...
Hmm. Looks like it is a tooling problem.

  * @supported_interfaces: bitmap describing which PHY_INTERFACE_MODE_xxx
  *                        are supported by the MAC/PCS.

         DECLARE_PHY_INTERFACE_MASK(supported_interfaces);

I'm guessing the tool doesn't use the preprocessed source. I'm not sure
what the solution to this would be.
I just sent a patch to scripts/kernel-doc to support that macro.

-- 
~Randy
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help