ibmvnic: rename ibmvnic_send_req_caps to send_request_cap
The new name send_request_cap pairs with handle_request_cap_rsp. Signed-off-by: Lijun Pan <ljp@linux.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
491099ad74
commit
09081b9d3a
@ -3299,7 +3299,7 @@ tx_failed:
|
|||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void ibmvnic_send_req_caps(struct ibmvnic_adapter *adapter, int retry)
|
static void send_request_cap(struct ibmvnic_adapter *adapter, int retry)
|
||||||
{
|
{
|
||||||
struct device *dev = &adapter->vdev->dev;
|
struct device *dev = &adapter->vdev->dev;
|
||||||
union ibmvnic_crq crq;
|
union ibmvnic_crq crq;
|
||||||
@ -4266,7 +4266,7 @@ static void handle_request_cap_rsp(union ibmvnic_crq *crq,
|
|||||||
be64_to_cpu(crq->request_capability_rsp.number);
|
be64_to_cpu(crq->request_capability_rsp.number);
|
||||||
}
|
}
|
||||||
|
|
||||||
ibmvnic_send_req_caps(adapter, 1);
|
send_request_cap(adapter, 1);
|
||||||
return;
|
return;
|
||||||
default:
|
default:
|
||||||
dev_err(dev, "Error %d in request cap rsp\n",
|
dev_err(dev, "Error %d in request cap rsp\n",
|
||||||
@ -4582,7 +4582,7 @@ static void handle_query_cap_rsp(union ibmvnic_crq *crq,
|
|||||||
out:
|
out:
|
||||||
if (atomic_read(&adapter->running_cap_crqs) == 0) {
|
if (atomic_read(&adapter->running_cap_crqs) == 0) {
|
||||||
adapter->wait_capability = false;
|
adapter->wait_capability = false;
|
||||||
ibmvnic_send_req_caps(adapter, 0);
|
send_request_cap(adapter, 0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user