From: Jakub Kicinski <kuba@kernel•org>
To: Yibo Dong <dong100@mucse•com>
Cc: davem@davemloft•net, edumazet@google•com, pabeni@redhat•com,
horms@kernel•org, corbet@lwn•net, andrew+netdev@lunn•ch,
danishanwar@ti•com, vadim.fedorenko@linux•dev,
geert+renesas@glider•be, mpe@ellerman•id.au, lorenzo@kernel•org,
lukas.bulwahn@redhat•com, netdev@vger•kernel.org,
linux-doc@vger•kernel.org, linux-kernel@vger•kernel.org
Subject: Re: [PATCH net-next v16 5/5] net: rnpgbe: Add register_netdev
Date: Thu, 30 Oct 2025 08:16:40 -0700 [thread overview]
Message-ID: <20251030081640.694aff44@kernel.org> (raw)
In-Reply-To: <24FCCB72DBB477C9+20251030023838.GA2730@nic-Precision-5820-Tower>
On Thu, 30 Oct 2025 10:38:38 +0800 Yibo Dong wrote:
> > > #include <linux/types.h>
> > > #include <linux/mutex.h>
> > > +#include <linux/netdevice.h>
> >
> > Why do you need to include netdevice.h here now?
> > This patch doesn't add anything that'd need it to the header.
> >
>
> It is for 'u8 perm_addr[ETH_ALEN];'
> Maybe I should just "#include <linux/if_ether.h>" for this patch.
I see, that's fine. Then again, I'm not sure why you store the perm
addr in the struct in the first place. It's already stored in netdevice.
next prev parent reply other threads:[~2025-10-30 15:16 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-10-27 3:29 [PATCH net-next v16 0/5] Add driver for 1Gbe network chips from MUCSE Dong Yibo
2025-10-27 3:29 ` [PATCH net-next v16 1/5] net: rnpgbe: Add build support for rnpgbe Dong Yibo
2025-10-27 3:29 ` [PATCH net-next v16 2/5] net: rnpgbe: Add n500/n210 chip support with BAR2 mapping Dong Yibo
2025-10-27 3:29 ` [PATCH net-next v16 3/5] net: rnpgbe: Add basic mbx ops support Dong Yibo
2025-10-27 3:29 ` [PATCH net-next v16 4/5] net: rnpgbe: Add basic mbx_fw support Dong Yibo
2025-10-28 15:17 ` Vadim Fedorenko
2025-10-27 3:29 ` [PATCH net-next v16 5/5] net: rnpgbe: Add register_netdev Dong Yibo
2025-10-30 2:21 ` Jakub Kicinski
2025-10-30 2:38 ` Yibo Dong
2025-10-30 15:16 ` Jakub Kicinski [this message]
2025-10-31 1:44 ` Yibo Dong
2025-10-31 2:05 ` Jakub Kicinski
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=20251030081640.694aff44@kernel.org \
--to=kuba@kernel$(echo .)org \
--cc=andrew+netdev@lunn$(echo .)ch \
--cc=corbet@lwn$(echo .)net \
--cc=danishanwar@ti$(echo .)com \
--cc=davem@davemloft$(echo .)net \
--cc=dong100@mucse$(echo .)com \
--cc=edumazet@google$(echo .)com \
--cc=geert+renesas@glider$(echo .)be \
--cc=horms@kernel$(echo .)org \
--cc=linux-doc@vger$(echo .)kernel.org \
--cc=linux-kernel@vger$(echo .)kernel.org \
--cc=lorenzo@kernel$(echo .)org \
--cc=lukas.bulwahn@redhat$(echo .)com \
--cc=mpe@ellerman$(echo .)id.au \
--cc=netdev@vger$(echo .)kernel.org \
--cc=pabeni@redhat$(echo .)com \
--cc=vadim.fedorenko@linux$(echo .)dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox