Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Merge tag 'pci-v4.7-fixes-1' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci

Pull PCI fix from Bjorn Helgaas:
"Here's a small fix for v4.7. This problem was actually introduced in
v4.6 when we unified Kconfig, making PCIe support available everywhere
including sparc, where config reads into unaligned buffers cause
warnings. This fix is from Dave Miller.

As a reminder, any future PCI fixes for v4.7 will probably come from
Alex Williamson, since I'll be on vacation for most of the rest of
this cycle. I should be back about the time the merge window opens"

* tag 'pci-v4.7-fixes-1' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci:
PCI: Fix unaligned accesses in VC code

+2 -2
+2 -2
drivers/pci/vc.c
··· 221 221 else 222 222 pci_write_config_word(dev, pos + PCI_VC_PORT_CTRL, 223 223 *(u16 *)buf); 224 - buf += 2; 224 + buf += 4; 225 225 } 226 - len += 2; 226 + len += 4; 227 227 228 228 /* 229 229 * If we have any Low Priority VCs and a VC Arbitration Table Offset