Thread (35 messages) 35 messages, 6 authors, 2025-10-13

Re: [PATCH v4 3/3] net: usb: ax88179_178a: add USB device driver for config selection

From: Greg KH <gregkh@linuxfoundation.org>
Date: 2025-09-30 08:38:48
Also in: linux-usb

On Tue, Sep 30, 2025 at 04:07:09PM +0800, yicongsrfy@163.com wrote:
quoted hunk ↗ jump to hunk
From: Yi Cong <redacted>

A similar reason was raised in commit ec51fbd1b8a2 ("r8152: add USB
device driver for config selection"):
Linux prioritizes probing non-vendor-specific configurations.

Referring to the implementation of this patch, cfgselect is also
used for ax88179 to override the default configuration selection.

v2: fix warning from checkpatch

Signed-off-by: Yi Cong <redacted>
---
 drivers/net/usb/ax88179_178a.c | 70 ++++++++++++++++++++++++++++++++--
 1 file changed, 67 insertions(+), 3 deletions(-)
diff --git a/drivers/net/usb/ax88179_178a.c b/drivers/net/usb/ax88179_178a.c
index 29cbe9ddd610..f2e86b9256dc 100644
--- a/drivers/net/usb/ax88179_178a.c
+++ b/drivers/net/usb/ax88179_178a.c
@@ -14,6 +14,7 @@
 #include <uapi/linux/mdio.h>
 #include <linux/mdio.h>
 
+#define MODULENAME "ax88179_178a"
Please just use KBUILD_MODNAME

thanks,

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