diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2019-09-25 13:54:59 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-09-27 10:00:16 +0200 |
commit | 286183147666fb76c057836c57d86e9e6f508bca (patch) | |
tree | f6ad0db8593ef65469be8654c5be82178c552cd5 /drivers/dca | |
parent | 31aefe14bc9f56566041303d733fda511d3a1c3e (diff) |
cxgb4: Signedness bug in init_one()
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@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/dca')
0 files changed, 0 insertions, 0 deletions