From f79995c41d93703128c00b0d1842cafc440fa47f Mon Sep 17 00:00:00 2001
From: Oliver Neukum <oneukum@suse.com>
Date: Tue, 27 Apr 2021 11:11:09 +0200
Subject: [PATCH] struct usbip_device kABI fixup
Patch-mainline: never, kABI fixup
References: git-fixes
Just putting the new member at the end
Signed-off-by: Oliver Neukum <oneukum@suse.com>
---
drivers/usb/usbip/usbip_common.h | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
--- a/drivers/usb/usbip/usbip_common.h
+++ b/drivers/usb/usbip/usbip_common.h
@@ -279,9 +279,6 @@ struct usbip_device {
/* lock for status */
spinlock_t lock;
- /* mutex for synchronizing sysfs store paths */
- struct mutex sysfs_lock;
-
int sockfd;
struct socket *tcp_socket;
@@ -296,6 +293,10 @@ struct usbip_device {
void (*reset)(struct usbip_device *);
void (*unusable)(struct usbip_device *);
} eh_ops;
+#ifndef __GENKSYMS__
+ /* mutex for synchronizing sysfs store paths */
+ struct mutex sysfs_lock;
+#endif
};
#define kthread_get_run(threadfn, data, namefmt, ...) \