Re: [PATCH net] cxgb4: Signedness bug in init_one()

2019-09-27 Thread David Miller
From: Dan Carpenter 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 Applied.

[PATCH net] cxgb4: Signedness bug in init_one()

2019-09-25 Thread Dan Carpenter
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 --- drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c | 2 +- 1 file changed, 1 insertion(+),