IB/usnic: Handle 0 counts in resource allocation
authorNelson Escobar <neescoba@cisco.com>
Wed, 9 Dec 2015 18:42:19 +0000 (10:42 -0800)
committerDoug Ledford <dledford@redhat.com>
Wed, 23 Dec 2015 15:50:58 +0000 (10:50 -0500)
commit96390f62aaa79c2cc6a2054d6d48e7610966777d
tree0945b24e2e5d780ccaadae43bc6f3e139bdda491
parentdc92d14684c066f81f120e740ef38b87f37e0622
IB/usnic: Handle 0 counts in resource allocation

Signed-off-by: Dave Goodell <dgoodell@cisco.com>
Reviewed-by: Reese Faucette <rfaucett@cisco.com>
Reviewed-by: Xuyang Wang <xuywang@cisco.com>
Signed-off-by: Nelson Escobar <neescoba@cisco.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/usnic/usnic_vnic.c