mirror of
https://github.com/torvalds/linux.git
synced 2024-12-23 11:21:33 +00:00
410280bac6
We know that 'retval = 0' because it has been tested a few lines above.
So, if 'devm_kmalloc' fails, 0 will be returned instead of an error code.
Return -ENOMEM instead.
Fixes:
|
||
---|---|---|
.. | ||
rt2x00 | ||
Kconfig | ||
Makefile |