diff options
author | Quinn Tran <quinn.tran@cavium.com> | 2017-12-05 01:45:10 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-03-18 13:17:52 +0300 |
commit | 7f56697121b4f25ea92985542f6b8c88bf40812d (patch) | |
tree | 05a990166d23423c2b636ca791bb7fc17cf9097c /fs/nfs | |
parent | 35482f62d471767d40611bc6bb0e570ee1a8e218 (diff) | |
download | linux-7f56697121b4f25ea92985542f6b8c88bf40812d.tar.xz |
scsi: qla2xxx: Replace fcport alloc with qla2x00_alloc_fcport
commit 063b36d6b0ad74c748d536f5cb47bac2f850a0fa upstream.
Current code manually allocate an fcport structure that is not properly
initialize. Replace kzalloc with qla2x00_alloc_fcport, so that all
fields are initialized. Also set set scan flag to port found
Cc: <stable@vger.kernel.org>
Signed-off-by: Quinn Tran <quinn.tran@cavium.com>
Signed-off-by: Himanshu Madhani <himanshu.madhani@cavium.com>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/nfs')
0 files changed, 0 insertions, 0 deletions