build/patch/kernel/archive/bcm2711-5.15/2001-rename-msd.patch

20 lines
811 B
Diff

diff --git a/drivers/usb/gadget/function/f_mass_storage.c b/drivers/usb/gadget/function/f_mass_storage.c
index 4a4703634a2a..cdba48f5ddf8 100644
--- a/drivers/usb/gadget/function/f_mass_storage.c
+++ b/drivers/usb/gadget/function/f_mass_storage.c
@@ -2852,11 +2852,11 @@ void fsg_common_set_inquiry_string(struct fsg_common *common, const char *vn,
/* Prepare inquiryString */
i = get_default_bcdDevice();
snprintf(common->inquiry_string, sizeof(common->inquiry_string),
- "%-8s%-16s%04x", vn ?: "Linux",
+ "%-8s%-16s%04x", vn ?: "PiKVM",
/* Assume product name dependent on the first LUN */
pn ?: ((*common->luns)->cdrom
- ? "File-CD Gadget"
- : "File-Stor Gadget"),
+ ? "CD-ROM Drive"
+ : "Flash Drive"),
i);
}
EXPORT_SYMBOL_GPL(fsg_common_set_inquiry_string);