summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2026-05-25 21:40:16 -0700
committerBjorn Helgaas <bhelgaas@google.com>2026-06-18 10:15:16 -0500
commit7cb033507068936f9da3c59e5c31a54e4e8dafa6 (patch)
treedf26fe66fc76606525fff7230f34b45cf83ad59d /include
parent254f49634ee16a731174d2ae34bc50bd5f45e731 (diff)
PCI: mvebu: Use fixed-width interrupt masks to avoid truncation in 64-bit builds
Use u32-typed BIT and GENMASK helpers for PCIe interrupt register masks. This keeps inverted masks in the same width as the registers and avoids truncation warnings on 64-bit compile-test builds. Fixes below and similar warnings: drivers/pci/controller/pci-mvebu.c:316:21: error: implicit conversion from 'unsigned long' to 'u32' (aka 'unsigned int') changes value from 18446744069414584320 to 0 [-Werror,-Wconstant-conversion] mvebu_writel(port, ~PCIE_INT_ALL_MASK, PCIE_INT_UNMASK_OFF); Assisted-by: Codex:GPT-5.5 Signed-off-by: Rosen Penev <rosenp@gmail.com> Signed-off-by: Manivannan Sadhasivam <mani@kernel.org> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Link: https://patch.msgid.link/20260526044016.1025613-1-rosenp@gmail.com
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions