aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-memcpy.c
diff options
context:
space:
mode:
authorDamien Le Moal <[email protected]>2023-04-15 11:35:36 +0900
committerBjorn Helgaas <[email protected]>2023-06-23 15:02:49 -0500
commit2eec4bec3574ce1a8b0fcf568cebc82c1ad7ec80 (patch)
tree25347ea9606719958acc5ca8f73af99b66316f4c /lib/test_fortify/write_overflow-memcpy.c
parent96d513f5ed4cafafa31ed99f74ad527f6b0ff47b (diff)
PCI: epf-test: Cleanup request result handling
Each of the test functions pci_epf_test_write(), pci_epf_test_read() and pci_epf_test_copy() return an int result which is used by pci_epf_test_cmd_handler() to set a success or error bit in the request status. In the spirit of keeping the processing of each test case self-contained within its own test function, move the request status field update from pci_epf_test_cmd_handler() to each of these test functions and change these functions declaration to returning void. 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