Переглянути джерело

[fcoe] Tidy up debug message

The increase in length in Fibre Channel device names causes the
"selected FCF" message to wrap beyond 80 characters.  Fix by using
abbreviations where possible.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
tags/v1.20.1
Michael Brown 13 роки тому
джерело
коміт
98817e2c38
1 змінених файлів з 2 додано та 4 видалено
  1. 2
    4
      src/net/fcoe.c

+ 2
- 4
src/net/fcoe.c Переглянути файл

@@ -758,14 +758,12 @@ static int fcoe_fip_rx_advertisement ( struct fcoe_port *fcoe,
758 758
 				fcoe->flags |= FCOE_FCF_ALLOWS_SPMA;
759 759
 			memcpy ( fcoe->fcf_mac, mac_address->mac,
760 760
 				 sizeof ( fcoe->fcf_mac ) );
761
-			DBGC ( fcoe, "FCoE %s selected FCF %s (priority %d, ",
761
+			DBGC ( fcoe, "FCoE %s selected FCF %s (pri %d",
762 762
 			       fcoe->netdev->name, eth_ntoa ( fcoe->fcf_mac ),
763 763
 			       fcoe->priority );
764 764
 			if ( fcoe->keepalive ) {
765
-				DBGC ( fcoe, "keepalive %dms",
765
+				DBGC ( fcoe, ", FKA ADV %dms",
766 766
 				       fcoe->keepalive );
767
-			} else {
768
-				DBGC ( fcoe, "no keepalive" );
769 767
 			}
770 768
 			DBGC ( fcoe, ", %cPMA)\n",
771 769
 			       ( ( fcoe->flags & FCOE_FCF_ALLOWS_SPMA ) ?

Завантаження…
Відмінити
Зберегти