]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: fcoe: pass in fcoe_rport structure instead of fc_rport_priv
authorHannes Reinecke <hare@suse.de>
Wed, 24 Jul 2019 09:00:56 +0000 (11:00 +0200)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 30 Jul 2019 01:13:27 +0000 (21:13 -0400)
commit99b1170ef175a9cda54ef1b9297b849042344489
tree9c24632b80e9c599efd33bbba0847ab5a15c75ae
parenta632d3836130a3384e072e2454a209eec36ef408
scsi: fcoe: pass in fcoe_rport structure instead of fc_rport_priv

Instead of using the generic 'fc_rport_priv' structure as argument and then
having to painstakingly outcast this to fcoe_rport we should be passing the
fcoe_rport structure itself and reduce complexity.

Signed-off-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/fcoe/fcoe_ctlr.c