]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
usb: gadget: u_ether: use <linux/hex.h> header file
authorRandy Dunlap <rdunlap@infradead.org>
Tue, 13 Jan 2026 07:18:31 +0000 (23:18 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 14 Jan 2026 14:59:48 +0000 (15:59 +0100)
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@canb.auug.org.au>
Fixes: e065c6a7e46c ("usb: gadget: u_ether: add gether_opts for config caching")
Reported-by: Stephen Rothwell <sfr@canb.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@infradead.org>
Link: https://patch.msgid.link/20260113071831.4158296-1-rdunlap@infradead.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/gadget/function/u_ether_configfs.h

index 39d3a261496d9fa0703c4b01c076550ecc02cda1..217990a266b2f6528d7bf8537a77214c538f681a 100644 (file)
@@ -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>