aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/message/i2o/i2o_proc.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/message/i2o/i2o_proc.c')
-rw-r--r--drivers/message/i2o/i2o_proc.c11
1 files changed, 3 insertions, 8 deletions
diff --git a/drivers/message/i2o/i2o_proc.c b/drivers/message/i2o/i2o_proc.c
index 7045c45da9b1..949a648f8e2e 100644
--- a/drivers/message/i2o/i2o_proc.c
+++ b/drivers/message/i2o/i2o_proc.c
@@ -111,10 +111,7 @@ static int print_serial_number(struct seq_file *seq, u8 * serialno, int max_len)
111 break; 111 break;
112 112
113 case I2O_SNFORMAT_LAN48_MAC: /* LAN-48 MAC Address */ 113 case I2O_SNFORMAT_LAN48_MAC: /* LAN-48 MAC Address */
114 seq_printf(seq, 114 seq_printf(seq, "LAN-48 MAC address @ %pM", &serialno[2]);
115 "LAN-48 MAC address @ %02X:%02X:%02X:%02X:%02X:%02X",
116 serialno[2], serialno[3],
117 serialno[4], serialno[5], serialno[6], serialno[7]);
118 break; 115 break;
119 116
120 case I2O_SNFORMAT_WAN: /* WAN MAC Address */ 117 case I2O_SNFORMAT_WAN: /* WAN MAC Address */
@@ -126,10 +123,8 @@ static int print_serial_number(struct seq_file *seq, u8 * serialno, int max_len)
126 case I2O_SNFORMAT_LAN64_MAC: /* LAN-64 MAC Address */ 123 case I2O_SNFORMAT_LAN64_MAC: /* LAN-64 MAC Address */
127 /* FIXME: Figure out what a LAN-64 address really looks like?? */ 124 /* FIXME: Figure out what a LAN-64 address really looks like?? */
128 seq_printf(seq, 125 seq_printf(seq,
129 "LAN-64 MAC address @ [?:%02X:%02X:?] %02X:%02X:%02X:%02X:%02X:%02X", 126 "LAN-64 MAC address @ [?:%02X:%02X:?] %pM",
130 serialno[8], serialno[9], 127 serialno[8], serialno[9], &serialno[2]);
131 serialno[2], serialno[3],
132 serialno[4], serialno[5], serialno[6], serialno[7]);
133 break; 128 break;
134 129
135 case I2O_SNFORMAT_DDM: /* I2O DDM */ 130 case I2O_SNFORMAT_DDM: /* I2O DDM */