mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-07 13:53:24 +00:00
2cad5d2ed1
Drivers such as sja1105 and stmmac that call xpcs_create() expects an
error returned by the pcs-xpcs module, but this was not the case on
failed to allocate memory.
Fixed this by returning an -ENOMEM instead of a NULL pointer.
Fixes:
|
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
pcs-lynx.c | ||
pcs-xpcs-nxp.c | ||
pcs-xpcs.c | ||
pcs-xpcs.h |