mirror of https://gitee.com/openkylin/linux.git
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 |