|
|
@@ -388,7 +388,7 @@ void i40evf_add_ether_addrs(struct i40evf_adapter *adapter)
|
|
|
len = sizeof(struct i40e_virtchnl_ether_addr_list) +
|
|
|
(count * sizeof(struct i40e_virtchnl_ether_addr));
|
|
|
if (len > I40EVF_MAX_AQ_BUF_SIZE) {
|
|
|
- dev_warn(&adapter->pdev->dev, "%s: Too many MAC address changes in one request.\n",
|
|
|
+ dev_warn(&adapter->pdev->dev, "%s: Too many MAC address changes in one request\n",
|
|
|
__func__);
|
|
|
count = (I40EVF_MAX_AQ_BUF_SIZE -
|
|
|
sizeof(struct i40e_virtchnl_ether_addr_list)) /
|
|
|
@@ -450,7 +450,7 @@ void i40evf_del_ether_addrs(struct i40evf_adapter *adapter)
|
|
|
len = sizeof(struct i40e_virtchnl_ether_addr_list) +
|
|
|
(count * sizeof(struct i40e_virtchnl_ether_addr));
|
|
|
if (len > I40EVF_MAX_AQ_BUF_SIZE) {
|
|
|
- dev_warn(&adapter->pdev->dev, "%s: Too many MAC address changes in one request.\n",
|
|
|
+ dev_warn(&adapter->pdev->dev, "%s: Too many MAC address changes in one request\n",
|
|
|
__func__);
|
|
|
count = (I40EVF_MAX_AQ_BUF_SIZE -
|
|
|
sizeof(struct i40e_virtchnl_ether_addr_list)) /
|
|
|
@@ -512,7 +512,7 @@ void i40evf_add_vlans(struct i40evf_adapter *adapter)
|
|
|
len = sizeof(struct i40e_virtchnl_vlan_filter_list) +
|
|
|
(count * sizeof(u16));
|
|
|
if (len > I40EVF_MAX_AQ_BUF_SIZE) {
|
|
|
- dev_warn(&adapter->pdev->dev, "%s: Too many VLAN changes in one request.\n",
|
|
|
+ dev_warn(&adapter->pdev->dev, "%s: Too many VLAN changes in one request\n",
|
|
|
__func__);
|
|
|
count = (I40EVF_MAX_AQ_BUF_SIZE -
|
|
|
sizeof(struct i40e_virtchnl_vlan_filter_list)) /
|
|
|
@@ -572,7 +572,7 @@ void i40evf_del_vlans(struct i40evf_adapter *adapter)
|
|
|
len = sizeof(struct i40e_virtchnl_vlan_filter_list) +
|
|
|
(count * sizeof(u16));
|
|
|
if (len > I40EVF_MAX_AQ_BUF_SIZE) {
|
|
|
- dev_warn(&adapter->pdev->dev, "%s: Too many VLAN changes in one request.\n",
|
|
|
+ dev_warn(&adapter->pdev->dev, "%s: Too many VLAN changes in one request\n",
|
|
|
__func__);
|
|
|
count = (I40EVF_MAX_AQ_BUF_SIZE -
|
|
|
sizeof(struct i40e_virtchnl_vlan_filter_list)) /
|
|
|
@@ -711,7 +711,7 @@ void i40evf_virtchnl_completion(struct i40evf_adapter *adapter,
|
|
|
return;
|
|
|
}
|
|
|
if (v_opcode != adapter->current_op) {
|
|
|
- dev_err(&adapter->pdev->dev, "%s: Pending op is %d, received %d.\n",
|
|
|
+ dev_err(&adapter->pdev->dev, "%s: Pending op is %d, received %d\n",
|
|
|
__func__, adapter->current_op, v_opcode);
|
|
|
/* We're probably completely screwed at this point, but clear
|
|
|
* the current op and try to carry on....
|
|
|
@@ -720,7 +720,7 @@ void i40evf_virtchnl_completion(struct i40evf_adapter *adapter,
|
|
|
return;
|
|
|
}
|
|
|
if (v_retval) {
|
|
|
- dev_err(&adapter->pdev->dev, "%s: PF returned error %d to our request %d!\n",
|
|
|
+ dev_err(&adapter->pdev->dev, "%s: PF returned error %d to our request %d\n",
|
|
|
__func__, v_retval, v_opcode);
|
|
|
}
|
|
|
switch (v_opcode) {
|
|
|
@@ -770,7 +770,7 @@ void i40evf_virtchnl_completion(struct i40evf_adapter *adapter,
|
|
|
adapter->aq_pending &= ~(I40EVF_FLAG_AQ_MAP_VECTORS);
|
|
|
break;
|
|
|
default:
|
|
|
- dev_warn(&adapter->pdev->dev, "%s: Received unexpected message %d from PF.\n",
|
|
|
+ dev_warn(&adapter->pdev->dev, "%s: Received unexpected message %d from PF\n",
|
|
|
__func__, v_opcode);
|
|
|
break;
|
|
|
} /* switch v_opcode */
|