diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2018-10-19 22:11:11 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-10-23 04:34:16 +0200 |
commit | c94f026fb742b2d3199422751dbc4f6fc0e753d8 (patch) | |
tree | 42ed85d44adbfc3d235f45c6a627758187d466d1 /kernel/umh.c | |
parent | Merge branch 'net-Add-support-for-dumping-addresses-for-a-specific-device' (diff) | |
download | linux-c94f026fb742b2d3199422751dbc4f6fc0e753d8.tar.xz linux-c94f026fb742b2d3199422751dbc4f6fc0e753d8.zip |
qlcnic: fix a return in qlcnic_dcb_get_capability()
These functions are supposed to return one on failure and zero on
success. Returning a zero here could cause uninitialized variable
bugs in several of the callers. For example:
drivers/scsi/cxgbi/cxgb4i/cxgb4i.c:1660 get_iscsi_dcb_priority()
error: uninitialized symbol 'caps'.
Fixes: 48365e485275 ("qlcnic: dcb: Add support for CEE Netlink interface.")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions