Dan Carpenter c94f026fb7 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>
2018-10-22 19:34:16 -07:00
..
2018-09-07 10:05:20 +02:00
2018-09-21 09:41:05 +02:00
2018-10-07 08:15:57 +02:00
2018-10-08 11:09:34 -07:00
2018-07-21 08:13:02 +02:00
2018-08-08 15:44:47 +10:00
2018-10-20 12:26:26 +10:00
2018-07-02 08:28:32 +02:00
2018-07-16 09:04:54 +02:00
2018-10-10 22:09:02 +02:00
2018-10-17 22:00:22 -07:00
2018-08-20 11:36:07 +02:00
2018-08-25 14:12:36 -07:00
2018-08-20 16:30:27 -07:00
2018-09-28 18:04:06 -07:00
2018-08-23 13:52:46 -07:00
2018-08-19 09:30:44 -07:00
2018-07-06 16:36:19 +02:00
2018-08-17 11:32:50 -07:00
2018-10-07 21:31:32 -07:00
2018-08-24 08:45:19 -07:00
2018-06-28 20:29:47 +09:00
2018-08-18 11:04:51 -07:00