aboutsummaryrefslogtreecommitdiff
path: root/drivers/misc/pci_endpoint_test.c
diff options
context:
space:
mode:
authorSalah Triki2021-07-02 14:31:14 +0100
committerGreg Kroah-Hartman2021-07-21 15:53:24 +0200
commitd1d26f40f71c6eabeb2083e2a18d2e55e9a71336 (patch)
tree2e019518b950aa9868b7672d7dbd1d3f3e62fff6 /drivers/misc/pci_endpoint_test.c
parent36cdc20b79ef8841d38217ea8ba837a7dbfbe852 (diff)
dio: return -ENOMEM when kzalloc() fails
Return -ENOMEM when kzalloc() fails in order to inform the caller of the failure. Signed-off-by: Salah Triki <salah.triki@gmail.com> Link: https://lore.kernel.org/r/20210702133114.GA314157@pc Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc/pci_endpoint_test.c')
0 files changed, 0 insertions, 0 deletions