diff options
| author | Bjorn Helgaas <[email protected]> | 2022-05-26 21:52:23 +0000 |
|---|---|---|
| committer | Bjorn Helgaas <[email protected]> | 2022-05-31 20:06:19 +0000 |
| commit | 12068bb346db5776d0ec9bb4cd073f8427a1ac92 (patch) | |
| tree | 382034f97f02612302a3de2f2e2315175b0ea1fa /tools/bpf/bpftool/prog.c | |
| parent | Revert "PCI: brcmstb: Split brcm_pcie_setup() into two funcs" (diff) | |
| download | kernel-12068bb346db5776d0ec9bb4cd073f8427a1ac92.tar.gz kernel-12068bb346db5776d0ec9bb4cd073f8427a1ac92.zip | |
PCI/PM: Fix bridge_d3_blacklist[] Elo i2 overwrite of Gigabyte X299
92597f97a40b ("PCI/PM: Avoid putting Elo i2 PCIe Ports in D3cold") omitted
braces around the new Elo i2 entry, so it overwrote the existing Gigabyte
X299 entry. Add the appropriate braces.
Found by:
$ make W=1 drivers/pci/pci.o
CC drivers/pci/pci.o
drivers/pci/pci.c:2974:12: error: initialized field overwritten [-Werror=override-init]
2974 | .ident = "Elo i2",
| ^~~~~~~~
Link: https://lore.kernel.org/r/20220526221258.GA409855@bhelgaas
Fixes: 92597f97a40b ("PCI/PM: Avoid putting Elo i2 PCIe Ports in D3cold")
Signed-off-by: Bjorn Helgaas <[email protected]>
Cc: [email protected] # v5.15+
Diffstat (limited to 'tools/bpf/bpftool/prog.c')
0 files changed, 0 insertions, 0 deletions
