WSL2-Linux-Kernel/drivers/dio
Salah Triki d1d26f40f7 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>
2021-07-21 15:53:24 +02:00
..
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
dio-driver.c dio: Fix dio_bus_match() kerneldoc 2020-03-09 11:12:19 +01:00
dio-sysfs.c m68k: dio - Kill resource_size_t format warnings 2009-01-12 20:56:42 +01:00
dio.c dio: return -ENOMEM when kzalloc() fails 2021-07-21 15:53:24 +02:00