Skip to content

Commit

Permalink
ice: Add space to unknown speed
Browse files Browse the repository at this point in the history
Add space to the end of 'Unknown' string  in  order to avoid
concatenation with 'bps' string when formatting netdev log message.

Signed-off-by: Simon Perron Caissy <simon.perron.caissy@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
  • Loading branch information
Simon Perron Caissy authored and Tony Nguyen committed Dec 9, 2020
1 parent 9228d8b commit 5b13886
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/ethernet/intel/ice/ice_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -667,7 +667,7 @@ void ice_print_link_msg(struct ice_vsi *vsi, bool isup)
speed = "100 M";
break;
default:
speed = "Unknown";
speed = "Unknown ";
break;
}

Expand Down

0 comments on commit 5b13886

Please sign in to comment.