From: Olli Salonen Date: Wed, 9 Mar 2016 22:38:28 +0000 (-0300) Subject: [media] smipcie: MAC address printout formatting X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=9b8537de47f4a4fbca571a393d36ba725c9795f7;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git [media] smipcie: MAC address printout formatting Modify the printout for MAC address to be more vendor agnostic. Print also the port number. Signed-off-by: Olli Salonen Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/pci/smipcie/smipcie-main.c b/drivers/media/pci/smipcie/smipcie-main.c index 993a2d19bd54..4a9275a331b6 100644 --- a/drivers/media/pci/smipcie/smipcie-main.c +++ b/drivers/media/pci/smipcie/smipcie-main.c @@ -716,7 +716,8 @@ static int smi_fe_init(struct smi_port *port) /* init MAC.*/ ret = smi_read_eeprom(&dev->i2c_bus[0], 0xc0, mac_ee, 16); dev_info(&port->dev->pci_dev->dev, - "DVBSky SMI PCIe MAC= %pM\n", mac_ee + (port->idx)*8); + "%s port %d MAC: %pM\n", dev->info->name, + port->idx, mac_ee + (port->idx)*8); memcpy(adap->proposed_mac, mac_ee + (port->idx)*8, 6); return ret; }