diff options
author | 2022-11-02 10:10:13 -0400 | |
---|---|---|
committer | 2022-11-23 18:08:57 +0100 | |
commit | 01dcec6d57ce62d535b2016fc4a617627fff506d (patch) | |
tree | 16d294f9ad93d01a8866b690cce9b7fe1c3e73f3 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | PCI: endpoint: pci-epf-vntb: Replace hardcoded 4 with sizeof(u32) (diff) | |
download | wireguard-linux-01dcec6d57ce62d535b2016fc4a617627fff506d.tar.xz wireguard-linux-01dcec6d57ce62d535b2016fc4a617627fff506d.zip |
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: Frank Li <frank.li@nxp.com>
Signed-off-by: Lorenzo Pieralisi <lpieralisi@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions