ksz_switch_alloc() will return NULL only if allocation is failed. So,
the proper return value is -ENOMEM.
Fixes:
|
||
|---|---|---|
| .. | ||
| Kconfig | ||
| ksz8.h | ||
| ksz8795_reg.h | ||
| ksz8795_spi.c | ||
| ksz8795.c | ||
| ksz8863_smi.c | ||
| ksz9477_i2c.c | ||
| ksz9477_reg.h | ||
| ksz9477_spi.c | ||
| ksz9477.c | ||
| ksz_common.c | ||
| ksz_common.h | ||
| Makefile | ||