diff options
author | Salah Triki | 2021-07-02 14:31:14 +0100 |
---|---|---|
committer | Greg Kroah-Hartman | 2021-07-21 15:53:24 +0200 |
commit | d1d26f40f71c6eabeb2083e2a18d2e55e9a71336 (patch) | |
tree | 2e019518b950aa9868b7672d7dbd1d3f3e62fff6 /drivers/misc/pci_endpoint_test.c | |
parent | 36cdc20b79ef8841d38217ea8ba837a7dbfbe852 (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