mirror of
https://github.com/torvalds/linux.git
synced 2026-05-14 17:32:42 +02:00
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 | ||