diff options
author | Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> | 2018-03-22 16:33:17 +0000 |
---|---|---|
committer | Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> | 2018-03-23 11:16:21 +0000 |
commit | 745029187a5465972fa2daf0fa43f1d2edb48de9 (patch) | |
tree | 5dedc70202aa73093ea1a30a9207f73a31783ebe /net/tipc/netlink.c | |
parent | 7928b2cbe55b2a410a0f5c1f154610059c57b1b2 (diff) | |
download | linux-745029187a5465972fa2daf0fa43f1d2edb48de9.tar.gz linux-745029187a5465972fa2daf0fa43f1d2edb48de9.tar.xz |
PCI: pcie-xilinx-nwl: Fix mask value to disable MSIs
Compiling the xilinx-nwl driver with sparse checks result in the
following warning:
drivers/pci/host/pcie-xilinx-nwl.c:633:38: sparse: cast truncates bits
from constant value (ffffffff00000000 becomes 0)
Fix it by explicitly writing 0 to mask interrupts instead of relying
on a bogus cast applied to the mask bitwise complement.
Reported-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Cc: Bjorn Helgaas <bhelgaas@google.com>
Cc: Rob Herring <robh@kernel.org>
Cc: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'net/tipc/netlink.c')
0 files changed, 0 insertions, 0 deletions