]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: fnic: Refactor code in fnic probe to initialize SCSI layer
authorKaran Tilak Kumar <kartilak@cisco.com>
Thu, 7 Jul 2022 20:51:55 +0000 (13:51 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 14 Jul 2022 03:21:10 +0000 (23:21 -0400)
commitf66cff7ec7f1282001053277fbf48ddab007460a
treecb9045a8caf6d92a68cf8fb2c3da5ee9a5e28f47
parenta926131732efea01e11a40b52686cda2408866cf
scsi: fnic: Refactor code in fnic probe to initialize SCSI layer

Refactor code from fnic probe into a different function so that
scsi layer initialization code is grouped together.
Also, add log messages for better debugging.

Link: https://lore.kernel.org/r/20220707205155.692688-1-kartilak@cisco.com
Co-developed-by: Gian Carlo Boffa <gcboffa@cisco.com>
Signed-off-by: Gian Carlo Boffa <gcboffa@cisco.com>
Co-developed-by: Arulprabhu Ponnusamy <arulponn@cisco.com>
Signed-off-by: Arulprabhu Ponnusamy <arulponn@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_main.c