kernel: backport GCC 10 usbip build fix for 5.4
authorRui Salvaterra <rsalvaterra@gmail.com>
Fri, 5 Mar 2021 12:09:31 +0000 (12:09 +0000)
committerPetr Štetiar <ynezz@true.cz>
Fri, 5 Mar 2021 13:41:14 +0000 (14:41 +0100)
commit0eef8402ee2ad014121932c860174e6d95440e17
treeff4335cea00ab4a619aacb2d9ca0cac1af544f8e
parent1b287ed1a389e769f0ffd5be199208fd09182dac
kernel: backport GCC 10 usbip build fix for 5.4

From the original commit message:

"With GCC 10, building usbip triggers error for multiple definition
of 'udev_context', in:
- libsrc/vhci_driver.c:18 and
- libsrc/usbip_host_common.c:27.

Declare as extern the definition in libsrc/usbip_host_common.c."

Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
target/linux/generic/backport-5.4/831-v5.9-usbip-tools-fix-build-error-for-multiple-definition.patch [new file with mode: 0644]