scsi: fnic: Change shost_printk() to FNIC_MAIN_DBG()
authorKaran Tilak Kumar <kartilak@cisco.com>
Sat, 21 Nov 2020 01:37:39 +0000 (17:37 -0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 24 Nov 2020 03:36:56 +0000 (22:36 -0500)
commit875d4eda3bd67315418f4e6f6725a877aa1786b5
treeb5f3473a7d7940104a1a937c901e21b7db4cf6d3
parentf9e2beb990f0836b642e5e7d1bed285bbc137c83
scsi: fnic: Change shost_printk() to FNIC_MAIN_DBG()

Replace shost_printk() with FNIC_MAIN_DBG() so that these log messages are
controlled by fnic_log_level flag in fnic_handle_link.

Link: https://lore.kernel.org/r/20201121013739.18701-1-kartilak@cisco.com
Reviewed-by: Arulprabhu Ponnusamy <arulponn@cisco.com>
Co-developed-by: Satish Kharat <satishkh@cisco.com>
Signed-off-by: Satish Kharat <satishkh@cisco.com>
Signed-off-by: Karan Tilak Kumar <kartilak@cisco.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/fnic/fnic.h
drivers/scsi/fnic/fnic_fcs.c