From: Dan Carpenter <dan.carpenter@xxxxxxxxxx> Date: Wed, 25 Sep 2019 13:54:59 +0300 > The "chip" variable is an enum, and it's treated as unsigned int by GCC > in this context so the error handling isn't triggered. > > Fixes: e8d452923ae6 ("cxgb4: clean up init_one") > Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx> Applied.