|
Packit Service |
da4517 |
From da109d66a890373d0aa831f97b49aaffcc4eeb45 Mon Sep 17 00:00:00 2001
|
|
Packit Service |
da4517 |
From: Julien Thierry <jthierry@redhat.com>
|
|
Packit Service |
da4517 |
Date: Wed, 6 May 2020 14:30:57 +0100
|
|
Packit Service |
da4517 |
Subject: [PATCH] Symbol version change
|
|
Packit Service |
da4517 |
|
|
Packit Service |
da4517 |
This change causes:
|
|
Packit Service |
da4517 |
1) Some exported symbols in drivers/base/core.c to see their CRCs
|
|
Packit Service |
da4517 |
change.
|
|
Packit Service |
da4517 |
2) Changes a function referencing a function whose CRC has changed,
|
|
Packit Service |
da4517 |
causing the symbol and the new CRC to be included in the __version
|
|
Packit Service |
da4517 |
section of the final module.
|
|
Packit Service |
da4517 |
|
|
Packit Service |
da4517 |
See "Exported symbol versioning" of the patch author guide for more
|
|
Packit Service |
da4517 |
detail.
|
|
Packit Service |
da4517 |
|
|
Packit Service |
da4517 |
---
|
|
Packit Service |
da4517 |
drivers/base/core.c | 2 ++
|
|
Packit Service |
da4517 |
drivers/usb/core/usb.c | 2 ++
|
|
Packit Service |
da4517 |
2 files changed, 4 insertions(+)
|
|
Packit Service |
da4517 |
|
|
Packit Service |
da4517 |
diff --git a/drivers/base/core.c b/drivers/base/core.c
|
|
Packit Service |
da4517 |
index b9a71137208..4af27e069c2 100644
|
|
Packit Service |
da4517 |
--- a/drivers/base/core.c
|
|
Packit Service |
da4517 |
+++ b/drivers/base/core.c
|
|
Packit Service |
da4517 |
@@ -31,6 +31,8 @@
|
|
Packit Service |
da4517 |
#include "base.h"
|
|
Packit Service |
da4517 |
#include "power/power.h"
|
|
Packit Service |
da4517 |
|
|
Packit Service |
da4517 |
+#include <linux/blktrace_api.h>
|
|
Packit Service |
da4517 |
+
|
|
Packit Service |
da4517 |
#ifdef CONFIG_SYSFS_DEPRECATED
|
|
Packit Service |
da4517 |
#ifdef CONFIG_SYSFS_DEPRECATED_V2
|
|
Packit Service |
da4517 |
long sysfs_deprecated = 1;
|
|
Packit Service |
da4517 |
diff --git a/drivers/usb/core/usb.c b/drivers/usb/core/usb.c
|
|
Packit Service |
da4517 |
index 8b1c4a5ee78..1b7997b58c0 100644
|
|
Packit Service |
da4517 |
--- a/drivers/usb/core/usb.c
|
|
Packit Service |
da4517 |
+++ b/drivers/usb/core/usb.c
|
|
Packit Service |
da4517 |
@@ -693,6 +693,8 @@ EXPORT_SYMBOL_GPL(usb_alloc_dev);
|
|
Packit Service |
da4517 |
*/
|
|
Packit Service |
da4517 |
struct usb_device *usb_get_dev(struct usb_device *dev)
|
|
Packit Service |
da4517 |
{
|
|
Packit Service |
da4517 |
+ barrier();
|
|
Packit Service |
da4517 |
+
|
|
Packit Service |
da4517 |
if (dev)
|
|
Packit Service |
da4517 |
get_device(&dev->dev);
|
|
Packit Service |
da4517 |
return dev;
|
|
Packit Service |
da4517 |
--
|
|
Packit Service |
da4517 |
2.21.3
|
|
Packit Service |
da4517 |
|