In case of error, the function of_get_mac_address() returns ERR_PTR()
and never returns NULL. The NULL test in the return value check should
be replaced with IS_ERR().
Fixes:
|
||
|---|---|---|
| .. | ||
| alx | ||
| atl1c | ||
| atl1e | ||
| atlx | ||
| ag71xx.c | ||
| Kconfig | ||
| Makefile | ||
In case of error, the function of_get_mac_address() returns ERR_PTR()
and never returns NULL. The NULL test in the return value check should
be replaced with IS_ERR().
Fixes:
|
||
|---|---|---|
| .. | ||
| alx | ||
| atl1c | ||
| atl1e | ||
| atlx | ||
| ag71xx.c | ||
| Kconfig | ||
| Makefile | ||