forked from Minki/linux
09f3756bb9
In one error condition dm9000_parse_dt() returns NULL, however the
return value is checked using IS_ERR() in dm9000_probe(), leading to the
error not being properly propagated if CONFIG_OF is not enabled or the
device tree data is not available. Fix this by also returning an
ERR_PTR() in this case.
Fixes:
|
||
---|---|---|
.. | ||
dm9000.c | ||
dm9000.h | ||
Kconfig | ||
Makefile |