linux-hardened/drivers/pci
Linus Torvalds c513b67e68 pci: fix type warnings in intr_remapping.c
Commit 69309a0590 ("x86, asm: Clean up and simplify set_64bit()")
sanitized the x86-64 types to set_64bit(), and incidentally resulted in
warnings like

 drivers/pci/intr_remapping.c: In function 'modify_irte':
 drivers/pci/intr_remapping.c:314: warning: passing argument 1 of 'set_64bit' from incompatible pointer type
 arch/x86/include/asm/cmpxchg_64.h:6: note:expected 'volatile u64 *' but argument is of type 'long unsigned int *'

It turns out that the change to set_64bit() really does clean up things,
and the PCI intr_remapping.c file did a rather ugly cast in order to
avoid warnings with the previous set_64bit() type model.

Removing the ugly cast fixes the warning, and makes everybody happy and
expects a set_64bit() to take the logical "u64 *" argument.

Pointed-out-by: Peter Anvin <hpa@zytor.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2010-08-06 11:02:31 -07:00
..
hotplug PCI: hotplug/cpqphp, fix NULL dereference 2010-06-11 13:10:21 -07:00
pcie PM: Make it possible to avoid races between wakeup and system sleep 2010-07-19 01:58:48 +02:00
.gitignore
access.c
bus.c
dmar.c Merge git://git.infradead.org/iommu-2.6 2010-05-21 17:25:01 -07:00
hotplug-pci.c
hotplug.c
htirq.c
intel-iommu.c iommu-api: Extension to check for interrupt remapping 2010-07-19 15:44:25 +02:00
intr_remapping.c pci: fix type warnings in intr_remapping.c 2010-08-06 11:02:31 -07:00
intr_remapping.h
ioapic.c
iov.c
iova.c
irq.c
Kconfig
Makefile
msi.c
msi.h
pci-acpi.c PM: Make it possible to avoid races between wakeup and system sleep 2010-07-19 01:58:48 +02:00
pci-driver.c
pci-stub.c
pci-sysfs.c Revert "PCI: create function symlinks in /sys/bus/pci/slots/N/" 2010-06-11 13:08:37 -07:00
pci.c PM: Make it possible to avoid races between wakeup and system sleep 2010-07-19 01:58:48 +02:00
pci.h PM: Make it possible to avoid races between wakeup and system sleep 2010-07-19 01:58:48 +02:00
probe.c
proc.c
quirks.c libata: more PCI IDs for jmicron controllers 2010-08-01 19:46:44 -04:00
remove.c
rom.c
search.c
setup-bus.c
setup-irq.c
setup-res.c PCI: fall back to original BIOS BAR addresses 2010-07-16 11:39:48 -07:00
slot.c Revert "PCI: create function symlinks in /sys/bus/pci/slots/N/" 2010-06-11 13:08:37 -07:00
syscall.c
vpd.c