Blob Blame History Raw
From: Jiri Slaby <jslaby@suse.cz>
Subject: kABI: PCI: Reduce warnings on possible RW1C corruption
Patch-mainline: never, kabi
References: kabi

Commit 92c45b63ce22 (PCI: Reduce warnings on possible RW1C corruption)
added a bit to struct pci_bus. This made the kABI checker complaining.

Hide it from the kabi checker as this uses another bit in the
preexisting hole.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
---
 include/linux/pci.h |    2 ++
 1 file changed, 2 insertions(+)

--- a/include/linux/pci.h
+++ b/include/linux/pci.h
@@ -665,7 +665,9 @@ struct pci_bus {
 	struct bin_attribute	*legacy_io;	/* Legacy I/O for this bus */
 	struct bin_attribute	*legacy_mem;	/* Legacy mem */
 	unsigned int		is_added:1;
+#ifndef __GENKSYMS__
 	unsigned int		unsafe_warn:1;	/* warned about RW1C config write */
+#endif
 
 	void* suse_kabi_padding;
 };