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:54:35 +0000 (14:54 +0100)
commit7e1ab3b7462b11885a5b9a48804463dba465fe9a
tree9d301b8dd14ad5e4909e59de011a18e59f5290f9
parent5601da24a89f396c173c31252d679a9eeb9913c3
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>
(cherry picked from commit 0eef8402ee2ad014121932c860174e6d95440e17)
target/linux/generic/backport-5.4/831-v5.9-usbip-tools-fix-build-error-for-multiple-definition.patch [new file with mode: 0644]