Skip to content
Commit 01dcec6d authored by Frank Li's avatar Frank Li Committed by Lorenzo Pieralisi
Browse files

PCI: endpoint: pci-epf-vntb: Fix sparse build warning for epf_db

Use epf_db[i] dereference instead of readl() because epf_db is
in memory allocated by dma_alloc_coherent(), not I/O.

Remove useless/duplicated readl() in the process.

Link: https://lore.kernel.org/r/20221102141014.1025893-7-Frank.Li@nxp.com


Signed-off-by: default avatarFrank Li <frank.li@nxp.com>
Signed-off-by: default avatarLorenzo Pieralisi <lpieralisi@kernel.org>
parent 2b35c886
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment