mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-20 17:07:17 +07: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 |