mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-22 06:57:51 +00:00
b9b18c92d0
Linux kernel static functions usb_string_sub() and usb_get_langid() were made accessible to implement robust string rerieval. Fixes #4756 Fixes #4757 Fixes #4772
20 lines
457 B
Diff
20 lines
457 B
Diff
+++ src/linux/drivers/usb/core/message.c
|
|
@@ -869,7 +869,7 @@
|
|
}
|
|
}
|
|
|
|
-static int usb_string_sub(struct usb_device *dev, unsigned int langid,
|
|
+int usb_string_sub(struct usb_device *dev, unsigned int langid,
|
|
unsigned int index, unsigned char *buf)
|
|
{
|
|
int rc;
|
|
@@ -906,7 +906,7 @@
|
|
return rc;
|
|
}
|
|
|
|
-static int usb_get_langid(struct usb_device *dev, unsigned char *tbuf)
|
|
+int usb_get_langid(struct usb_device *dev, unsigned char *tbuf)
|
|
{
|
|
int err;
|
|
|