From: Chad Dupuis Date: Thu, 7 Apr 2016 13:07:58 +0000 (-0400) Subject: bnx2fc: Print netdev device name when FCoE is successfully initialized. X-Git-Tag: v4.1.12-92~27^2~3 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=984862e11774e9ce706af29aee4fde55ae8304ef;p=users%2Fjedix%2Flinux-maple.git bnx2fc: Print netdev device name when FCoE is successfully initialized. Orabug: 24011326 Signed-off-by: Chad Dupuis Reviewed-by: Johannes Thumshirn Signed-off-by: Martin K. Petersen Signed-off-by: Ethan Zhao --- diff --git a/drivers/scsi/bnx2fc/bnx2fc_fcoe.c b/drivers/scsi/bnx2fc/bnx2fc_fcoe.c index fcb360af2916e..421f1c5e84ef4 100644 --- a/drivers/scsi/bnx2fc/bnx2fc_fcoe.c +++ b/drivers/scsi/bnx2fc/bnx2fc_fcoe.c @@ -2040,6 +2040,8 @@ static void bnx2fc_ulp_init(struct cnic_dev *dev) return; } + pr_info(PFX "FCoE initialized for %s.\n", dev->netdev->name); + /* Add HBA to the adapter list */ mutex_lock(&bnx2fc_dev_lock); list_add_tail(&hba->list, &adapter_list);