Searched hist:ef288f9f (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/power/reset/ |
H A D | xgene-reboot.c | ef288f9f Tue Sep 30 12:48:28 CDT 2014 Guenter Roeck <linux@roeck-us.net> power/reset: xgene: Return -ENOMEM if out of memory
It is customary to return an error code of -ENOMEM if the system is out of memory. Also, in that case, the infrastructure will report an error, so it is unnecessary to report it again.
Cc: Loc Ho <lho@apm.com> Signed-off-by: Guenter Roeck <linux@roeck-us.net> ef288f9f Tue Sep 30 12:48:28 CDT 2014 Guenter Roeck <linux@roeck-us.net> power/reset: xgene: Return -ENOMEM if out of memory It is customary to return an error code of -ENOMEM if the system is out of memory. Also, in that case, the infrastructure will report an error, so it is unnecessary to report it again. Cc: Loc Ho <lho@apm.com> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
|