On 12/9/2015 10:47 PM, Leon Romanovsky wrote:
> On Wed, Dec 09, 2015 at 10:42:19AM -0800, Nelson Escobar wrote:
>> -if (usnic_vnic_res_free_cnt(vnic, type) < cnt || cnt < 1 || !owner)
>> +if (usnic_vnic_res_free_cnt(vnic, type) < cnt || cnt < 0 || !owner)
> B
On 12/10/2015 11:47 AM, l...@leon.nu wrote:
> On Thu, Dec 10, 2015 at 11:22:24AM -0800, Nelson Escobar wrote:
>> On 12/9/2015 10:47 PM, Leon Romanovsky wrote:
>>> On Wed, Dec 09, 2015 at 10:42:19AM -0800, Nelson Escobar wrote:
>>>> - if (usnic_vnic_res_free_cn
Signed-off-by: Dave Goodell <dgood...@cisco.com>
Reviewed-by: Reese Faucette <rfauc...@cisco.com>
Reviewed-by: Xuyang Wang <xuyw...@cisco.com>
Signed-off-by: Nelson Escobar <neesc...@cisco.com>
---
drivers/infiniband/hw/usnic/usnic_ib_qp_grp.c | 2 +-
1 file changed, 1
Signed-off-by: Dave Goodell <dgood...@cisco.com>
Reviewed-by: Reese Faucette <rfauc...@cisco.com>
Reviewed-by: Xuyang Wang <xuyw...@cisco.com>
Signed-off-by: Nelson Escobar <neesc...@cisco.com>
---
drivers/infiniband/hw/usnic/usnic_vnic.c | 54 +---
ucette <rfauc...@cisco.com>
Reviewed-by: Xuyang Wang <xuyw...@cisco.com>
Signed-off-by: Nelson Escobar <neesc...@cisco.com>
---
drivers/infiniband/hw/usnic/usnic_ib_verbs.c | 18 +-
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/drivers/infiniband/hw/u
Signed-off-by: Christian Benvenuti <be...@cisco.com>
Signed-off-by: Nelson Escobar <neesc...@cisco.com>
Reviewed-by: Dave Goodell <dgood...@cisco.com>
---
drivers/infiniband/hw/usnic/usnic_ib_verbs.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/i
Signed-off-by: Dave Goodell <dgood...@cisco.com>
Reviewed-by: Reese Faucette <rfauc...@cisco.com>
Reviewed-by: Xuyang Wang <xuyw...@cisco.com>
Signed-off-by: Nelson Escobar <neesc...@cisco.com>
---
drivers/infiniband/hw/usnic/usnic_ib_qp_grp.c | 2 +-
1 file changed, 1
Signed-off-by: Nelson Escobar <neesc...@cisco.com>
Reviewed-by: Dave Goodell <dgood...@cisco.com>
---
drivers/infiniband/hw/usnic/usnic_debugfs.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/drivers/infiniband/hw/usnic/usnic_debugfs.c
b/drivers/infinib
query_protocol() was added in commit 6b90a6d66b17 ("IB/Verbs:
Implement new callback query_protocol()") and then removed in
commit f9b22e355d38 ("IB/core: Convert core to use bitfield
for caps").
This left behind an unused prototype.
Signed-off-by: Nelson Escobar <neesc