diff options
author | Damien Le Moal <[email protected]> | 2023-04-15 11:35:37 +0900 |
---|---|---|
committer | Bjorn Helgaas <[email protected]> | 2023-06-23 15:03:02 -0500 |
commit | 2566cbea69ab8dad4996ab4b4840fd952e62e5b4 (patch) | |
tree | eeaa576aa9a3e5752ade33760bbeb5cb299a1336 /lib/test_fortify/write_overflow-memcpy.c | |
parent | 2eec4bec3574ce1a8b0fcf568cebc82c1ad7ec80 (diff) |
PCI: epf-test: Simplify DMA support checks
There is no need to have each read, write and copy test functions check
for the FLAG_USE_DMA flag against the DMA support status indicated by
epf_test->dma_supported. Move this test to the command handler function
pci_epf_test_cmd_handler() to check once for all cases.
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Damien Le Moal <[email protected]>
Signed-off-by: Lorenzo Pieralisi <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Reviewed-by: Manivannan Sadhasivam <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-memcpy.c')
0 files changed, 0 insertions, 0 deletions