mirror of https://github.com/torvalds/linux.git
If some of the switch ports were not listed in the device tree, due to
being unused, the ksz_mib_read_work function ended up accessing a NULL
dp->slave pointer and causing an oops. Skip checking statistics for any
unused ports.
Fixes:
|
||
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| ksz9477.c | ||
| ksz9477_reg.h | ||
| ksz9477_spi.c | ||
| ksz_common.c | ||
| ksz_common.h | ||
| ksz_priv.h | ||
| ksz_spi.h | ||