[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20260113071831.4158296-1-rdunlap@infradead.org>
Date: Mon, 12 Jan 2026 23:18:31 -0800
From: Randy Dunlap <rdunlap@...radead.org>
To: linux-kernel@...r.kernel.org
Cc: Randy Dunlap <rdunlap@...radead.org>,
Stephen Rothwell <sfr@...b.auug.org.au>,
Kuen-Han Tsai <khtsai@...gle.com>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
linux-usb@...r.kernel.org
Subject: [PATCH] usb: gadget: u_ether: use <linux/hex.h> header file
Since <linux/kernel.h> no longer includes <linux/hex.h>, any users
of the hex interfaces need to include <linux/hex.h> themselves, so
add the header file here as needed.
Suggested-by: Stephen Rothwell <sfr@...b.auug.org.au>
Fixes: e065c6a7e46c ("usb: gadget: u_ether: add gether_opts for config caching")
Reported-by: Stephen Rothwell <sfr@...b.auug.org.au>
Closes: https://lore.kernel.org/linux-next/2768c835-7ac9-4540-a665-5dd516a80eee@infradead.org/T/#t
Signed-off-by: Randy Dunlap <rdunlap@...radead.org>
---
Cc: Kuen-Han Tsai <khtsai@...gle.com>
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Cc: linux-usb@...r.kernel.org
drivers/usb/gadget/function/u_ether_configfs.h | 1 +
1 file changed, 1 insertion(+)
--- linux-next.orig/drivers/usb/gadget/function/u_ether_configfs.h
+++ linux-next/drivers/usb/gadget/function/u_ether_configfs.h
@@ -14,6 +14,7 @@
#define __U_ETHER_CONFIGFS_H
#include <linux/cleanup.h>
+#include <linux/hex.h>
#include <linux/if_ether.h>
#include <linux/mutex.h>
#include <linux/netdevice.h>
Powered by blists - more mailing lists