]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: zfcp: more fitting constant for fc_ct_hdr.ct_reason on port scan response
authorSteffen Maier <maier@linux.vnet.ibm.com>
Fri, 28 Jul 2017 10:30:59 +0000 (12:30 +0200)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 10 Aug 2017 23:36:59 +0000 (19:36 -0400)
commitaa88d705d8468fdbdf20e944174d3eab3219e20e
treea24b1ead205c3574ba23d80de6934db7dec955b7
parentb8b4da6afc9df190cc4ef444678c7fb1df496bad
scsi: zfcp: more fitting constant for fc_ct_hdr.ct_reason on port scan response

v2.6.33 commit 49b5e7d2719e ("[SCSI] zfcp: Use common code definitions for
FC CT structs") replaced own definitions with common code definitions.
While FC_BA_RJT_UNABLE happens to be defined with the same value 9 as
FC_FS_RJT_UNABL and thus also works, here we should use the latter from
fc_gs.h.
See also its use in libfc's fc_disc_gpn_ft_resp().

Signed-off-by: Steffen Maier <maier@linux.vnet.ibm.com>
Reviewed-by: Benjamin Block <bblock@linux.vnet.ibm.com>
Signed-off-by: Benjamin Block <bblock@linux.vnet.ibm.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/s390/scsi/zfcp_fc.c