Netdev List
 help / color / mirror / Atom feed
From: Jakub Kicinski <kuba@kernel.org>
To: Oliver Neukum <oneukum@suse.com>
Cc: andrew+netdev@lunn.ch, davem@davemloft.net, edumazet@google.com,
	pabeni@redhat.com, manuelebner@mailbox.org,
	netdev@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCHv3 net-next 6/9] net: usb: move exported symbols from cdc_ether to usbnet
Date: Tue, 21 Jul 2026 09:24:06 -0700	[thread overview]
Message-ID: <20260721092406.37ea770c@kernel.org> (raw)
In-Reply-To: <20260714114429.1073434-6-oneukum@suse.com>

On Tue, 14 Jul 2026 13:44:26 +0200 Oliver Neukum wrote:
> --- a/include/linux/usb/usbnet.h
> +++ b/include/linux/usb/usbnet.h
> @@ -16,6 +16,11 @@
>  #include <linux/usb.h>
>  #include <linux/spinlock.h>
>  
> +static const u8 mbm_guid[16] = {
> +	0xa3, 0x17, 0xa8, 0x8b, 0x04, 0x5e, 0x4f, 0x01,
> +	0xa6, 0x07, 0xc0, 0xff, 0xcb, 0x7e, 0x39, 0x2a,
> +};
> +
>  struct cdc_state {
>  	struct usb_cdc_header_desc      *header;
>  	struct usb_cdc_union_desc       *u;
> @@ -304,4 +309,16 @@ extern void usbnet_status_stop(struct usbnet *dev);
>  
>  extern void usbnet_update_max_qlen(struct usbnet *dev);
>  
> +/* We need to override usbnet_*_link_ksettings in bind() */
> +static const struct ethtool_ops cdc_ether_ethtool_ops = {
> +	.get_link		= usbnet_get_link,
> +	.nway_reset		= usbnet_nway_reset,
> +	.get_drvinfo		= usbnet_get_drvinfo,
> +	.get_msglevel		= usbnet_get_msglevel,
> +	.set_msglevel		= usbnet_set_msglevel,
> +	.get_ts_info		= ethtool_op_get_ts_info,
> +	.get_link_ksettings	= usbnet_get_link_ksettings_internal,
> +	.set_link_ksettings	= NULL,
> +};

spews a ton of defined but not used warnings

  reply	other threads:[~2026-07-21 16:24 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-14 11:44 [PATCHv3 net-next 1/9] net: usb: move updating filter and status from cdc drivers to usbnet Oliver Neukum
2026-07-14 11:44 ` [PATCHv3 net-next 2/9] net: usb: centralize usbnet_cdc_zte_rx_fixup in usbnet Oliver Neukum
2026-07-14 11:44 ` [PATCHv3 net-next 3/9] net: usb: usbnet: add cdc_state to struct usbnet Oliver Neukum
2026-07-15  1:18   ` Andrew Lunn
2026-07-21 16:22     ` Jakub Kicinski
2026-07-14 11:44 ` [PATCHv3 net-next 4/9] net: usb: use cdc_state in " Oliver Neukum
2026-07-14 11:44 ` [PATCHv3 net-next 5/9] net: usb: int51x1: drop dependency on cdc_ether Oliver Neukum
2026-07-14 11:44 ` [PATCHv3 net-next 6/9] net: usb: move exported symbols from cdc_ether to usbnet Oliver Neukum
2026-07-21 16:24   ` Jakub Kicinski [this message]
2026-07-14 11:44 ` [PATCHv3 net-next 7/9] net: usb: remove dependencies on cdc_ether Oliver Neukum
2026-07-14 11:44 ` [PATCHv3 net-next 8/9] net: usb: usbnet: remove outdated sanity check Oliver Neukum
2026-07-14 11:44 ` [PATCHv3 net-next 9/9] net: usb: usbnet: corrections in the comments Oliver Neukum
2026-07-21 16:23 ` [PATCHv3 net-next 1/9] net: usb: move updating filter and status from cdc drivers to usbnet 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=20260721092406.37ea770c@kernel.org \
    --to=kuba@kernel.org \
    --cc=andrew+netdev@lunn.ch \
    --cc=davem@davemloft.net \
    --cc=edumazet@google.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=manuelebner@mailbox.org \
    --cc=netdev@vger.kernel.org \
    --cc=oneukum@suse.com \
    --cc=pabeni@redhat.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox