diff options
| author | Alexander Lobakin <[email protected]> | 2020-12-22 15:07:43 +0000 |
|---|---|---|
| committer | Bjorn Helgaas <[email protected]> | 2020-12-26 03:58:42 +0000 |
| commit | 99e629f14b471d852d28ecf554093c4730ed0927 (patch) | |
| tree | 633a479b49b1e29e11256076fea907afcbada034 /drivers/pci/controller/dwc/pci-keystone.c | |
| parent | PCI: tegra: Fix host link initialization (diff) | |
| download | kernel-99e629f14b471d852d28ecf554093c4730ed0927.tar.gz kernel-99e629f14b471d852d28ecf554093c4730ed0927.zip | |
PCI: dwc: Fix inverted condition of DMA mask setup warning
Commit 660c486590aa ("PCI: dwc: Set 32-bit DMA mask for MSI target address
allocation") added dma_mask_set() call to explicitly set 32-bit DMA mask
for MSI message mapping, but for now it throws a warning on ret == 0, while
dma_set_mask() returns 0 in case of success.
Fix this by inverting the condition.
[bhelgaas: join string to make it greppable]
Fixes: 660c486590aa ("PCI: dwc: Set 32-bit DMA mask for MSI target address allocation")
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexander Lobakin <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Diffstat (limited to 'drivers/pci/controller/dwc/pci-keystone.c')
0 files changed, 0 insertions, 0 deletions
