http://bugs.dpdk.org/show_bug.cgi?id=1871
Bug ID: 1871
Summary: idxd_dmadev.portal volatile usage
Product: DPDK
Version: 21.11
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: other
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
idxd_dmadev_probe_pci uses RTE_PTR_ADD(idxd.u.pci->portals) [1] where the
argument is volatile [2] and assigns the result to idxd_dmadev.portal which is
not volatile [3]. Disqualifying quantifiers should be done explicitly if
desired (not implicitly through RTE_PTR_ADD) and clear comments added, or
qualifiers should be preserved.
[1]
https://github.com/DPDK/dpdk/commit/9449330a845868de810b1c41b4b8e72ad41e031e#diff-976cfc47c9f1dfe38582a76e3dafe1275c55e44af64c6573ea1674c8bd94c560R260
[2]
https://github.com/DPDK/dpdk/commit/9449330a845868de810b1c41b4b8e72ad41e031e#diff-54e4d0d3f90a1a90e85160d1cd74aba322b2ed5743eed090fa00028fdbf70539R39
[3]
https://github.com/DPDK/dpdk/commit/e888bb1278c6c72f1bef774f14a9ee4836265624#diff-54e4d0d3f90a1a90e85160d1cd74aba322b2ed5743eed090fa00028fdbf70539R40
--
You are receiving this mail because:
You are the assignee for the bug.