From: Wei Yongjun <weiyongjun1@xxxxxxxxxx> Date: Mon, 27 Apr 2020 09:33:43 +0000 > In case of error, the function gen_pool_create() returns NULL pointer > not ERR_PTR(). The IS_ERR() test in the return value check should be > replaced with NULL test. > > Fixes: 93a76530316a ("net: ethernet: ti: introduce am65x/j721e gigabit eth subsystem driver") > Signed-off-by: Wei Yongjun <weiyongjun1@xxxxxxxxxx> Applied.