Revert "Revert "PCI: Reduce warnings on possible RW1C corruption""

This reverts commit 7be3754601.

It is no longer needed as we are able to update the abi at this point in
time.

Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I94e86dbe2ba7f2f860854cf1f7f825a9a8215853
This commit is contained in:
Greg Kroah-Hartman
2022-04-20 12:33:19 +02:00
committed by Todd Kjos
parent d953392f01
commit 87471644eb
2 changed files with 7 additions and 3 deletions

View File

@@ -656,6 +656,7 @@ 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;
unsigned int unsafe_warn:1; /* warned about RW1C config write */
};
#define to_pci_bus(n) container_of(n, struct pci_bus, dev)