It will cause null-ptr-deref if platform_get_resource() returns NULL, we need check the return value. Signed-off-by: Yang Yingliang <yangyingliang@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net> |
||
|---|---|---|
| .. | ||
| Kconfig | ||
| ks8842.c | ||
| ks8851_common.c | ||
| ks8851_par.c | ||
| ks8851_spi.c | ||
| ks8851.h | ||
| ksz884x.c | ||
| Makefile | ||