I met some log as below:
[ 581.262476] read descriptors
[ 581.265558] bcdVersion must be 0x0100, stored in Little Endian order...
To be honest, if I'm not familiar with the usb gadget framework, I dunno
which component is complaining. Add a prefix to log messages, so the
above messages will look like:
[ 581.262476] usb_f_fs: read descriptors
[ 581.265558] usb_f_fs: bcdVersion must be 0x0100, stored in Little Endian order...
Signed-off-by: Jisheng Zhang <jszhang@kernel.org>
---
drivers/usb/gadget/function/f_fs.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/usb/gadget/function/f_fs.c b/drivers/usb/gadget/function/f_fs.c
index 05c6750702b6..97c7f0052327 100644
--- a/drivers/usb/gadget/function/f_fs.c
+++ b/drivers/usb/gadget/function/f_fs.c
@@ -14,6 +14,8 @@
/* #define DEBUG */
/* #define VERBOSE_DEBUG */
+#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
+
#include <linux/blkdev.h>
#include <linux/dma-buf.h>
#include <linux/dma-fence.h>
--
2.51.0