]> www.infradead.org Git - users/jedix/linux-maple.git/commit
net/mlx4_core: print firmware version during driver loading
authorQing Huang <qing.huang@oracle.com>
Mon, 8 Oct 2018 23:50:53 +0000 (16:50 -0700)
committerBrian Maly <brian.maly@oracle.com>
Mon, 22 Oct 2018 16:56:09 +0000 (12:56 -0400)
commitd13426b347854e3ee520890d709536d5365b7d7d
treec0c0c22ae703c2d74d01c215088d7a3b4f1fc1d1
parent10afc9eef1c5c236153c3e5811126021331990e0
net/mlx4_core: print firmware version during driver loading

When debugging firmware related issues, it's very helpful to have
firmware version info printed in the kernel log when the driver is
loaded. It's easier to match error/warning messages with different
FW versions in the log other than running a separate tool to get
the information during remote debugging.

Orabug: 28809377

Signed-off-by: Qing Huang <qing.huang@oracle.com>
Reviewed-by: HÃ¥kon Bugge <haakon.bugge@oracle.com>
Reviewed-by: Shannon Nelson <shannon.nelson@oracle.com>
CC: Gerd Rausch <gerd.rausch@oracle.com>
CC: Aru Kolappan <aru.kolappan@oracle.com>
CC: Sujatha Srinivasa Gopalan <sujatha.tolstoy@oracle.com>
Signed-off-by: Brian Maly <brian.maly@oracle.com>
drivers/net/ethernet/mellanox/mlx4/fw.c