Skip to content

Commit

Permalink
ice: Remove unnecessary newlines from log messages
Browse files Browse the repository at this point in the history
Two log messages contained newlines in the middle of the message. This
resulted in unexpected driver log output.

This patch removes the newlines to restore consistency with the rest of
the driver log messages.

Signed-off-by: Jeremiah Kyle <jeremiah.kyle@intel.com>
Signed-off-by: Anirudh Venkataramanan <anirudh.venkataramanan@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
  • Loading branch information
Jeremiah Kyle authored and Jeff Kirsher committed Mar 26, 2019
1 parent fa7e428 commit 91dab5d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/net/ethernet/intel/ice/ice_virtchnl_pf.c
Original file line number Diff line number Diff line change
Expand Up @@ -2611,7 +2611,7 @@ void ice_vc_process_vf_msg(struct ice_pf *pf, struct ice_rq_event_info *event)
* as it is busy with pending work.
*/
dev_info(&pf->pdev->dev,
"PF failed to honor VF %d, opcode %d\n, error %d\n",
"PF failed to honor VF %d, opcode %d, error %d\n",
vf_id, v_opcode, err);
}
}
Expand Down Expand Up @@ -2771,7 +2771,7 @@ int ice_set_vf_mac(struct net_device *netdev, int vf_id, u8 *mac)
ether_addr_copy(vf->dflt_lan_addr.addr, mac);
vf->pf_set_mac = true;
netdev_info(netdev,
"mac on VF %d set to %pM\n. VF driver will be reinitialized\n",
"mac on VF %d set to %pM. VF driver will be reinitialized\n",
vf_id, mac);

ice_vc_dis_vf(vf);
Expand Down

0 comments on commit 91dab5d

Please sign in to comment.