Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

scsi: scsi_transport_fc: fix typos on 64/128 GBit define names

The define names specified 64Bit/128Bit, not 64GBIT/128GBIT. Correct
the names.

Signed-off-by: James Smart <james.smart@broadcom.com>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>

authored by

James Smart and committed by
Martin K. Petersen
cc019a5a 9ea4e076

+4 -4
+2 -2
drivers/scsi/scsi_transport_fc.c
··· 267 267 { FC_PORTSPEED_50GBIT, "50 Gbit" }, 268 268 { FC_PORTSPEED_100GBIT, "100 Gbit" }, 269 269 { FC_PORTSPEED_25GBIT, "25 Gbit" }, 270 - { FC_PORTSPEED_64BIT, "64 Gbit" }, 271 - { FC_PORTSPEED_128BIT, "128 Gbit" }, 270 + { FC_PORTSPEED_64GBIT, "64 Gbit" }, 271 + { FC_PORTSPEED_128GBIT, "128 Gbit" }, 272 272 { FC_PORTSPEED_NOT_NEGOTIATED, "Not Negotiated" }, 273 273 }; 274 274 fc_bitfield_name_search(port_speed, fc_port_speed_names)
+2 -2
include/scsi/scsi_transport_fc.h
··· 139 139 #define FC_PORTSPEED_50GBIT 0x200 140 140 #define FC_PORTSPEED_100GBIT 0x400 141 141 #define FC_PORTSPEED_25GBIT 0x800 142 - #define FC_PORTSPEED_64BIT 0x1000 143 - #define FC_PORTSPEED_128BIT 0x2000 142 + #define FC_PORTSPEED_64GBIT 0x1000 143 + #define FC_PORTSPEED_128GBIT 0x2000 144 144 #define FC_PORTSPEED_NOT_NEGOTIATED (1 << 15) /* Speed not established */ 145 145 146 146 /*