scsi: zfcp: enhance comments on fc_link_speed and supported_speed
authorJens Remus <jremus@linux.ibm.com>
Thu, 17 May 2018 17:15:07 +0000 (19:15 +0200)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 18 May 2018 15:28:17 +0000 (11:28 -0400)
commit16dad2798870c181f3cae976e4e0257d4fdf3a3c
tree2593cffcf88c2eb40f22d0367c87bd9cb9612935
parent6e2e490080c8a7bb2062705f4c78205dbf4b67e9
scsi: zfcp: enhance comments on fc_link_speed and supported_speed

The comment on fsf_qtcb_bottom_port.supported_speed did read as if the field
can only assume one of two possible values (i.e. 0x1 for 1 GBit/s or 0x2 for
2 GBit/s). This is not true for two reasons: first it is a flag field and
can thus assume any combination and second there are meanwhile more speeds.

Clarify comment on fsf_qtcb_bottom_port.supported_speed and add a comment to
fsf_qtcb_bottom_config.fc_link_speed.

Signed-off-by: Jens Remus <jremus@linux.ibm.com>
Reviewed-by: Steffen Maier <maier@linux.ibm.com>
Reviewed-by: Fedor Loshakov <loshakov@linux.ibm.com>
Acked-by: Benjamin Block <bblock@linux.ibm.com>
Acked-by: Hendrik Brueckner <brueckner@linux.ibm.com>
Signed-off-by: Steffen Maier <maier@linux.ibm.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/s390/scsi/zfcp_fsf.h