linux-stable/drivers/scsi/cxlflash
Manoj Kumar 3ebf203093 cxlflash: Replace magic numbers with literals
Magic numbers are not meaningful and can create confusion. As a
remedy, replace them with descriptive literals.

Replace 512 with literal MAX_SECTOR_UNIT.
Replace 5 with literal CMD_RETRIES.

Signed-off-by: Matthew R. Ochs <mrochs@linux.vnet.ibm.com>
Signed-off-by: Manoj N. Kumar <manoj@linux.vnet.ibm.com>
Reviewed-by: Brian King <brking@linux.vnet.ibm.com>
Reviewed-by: Andrew Donnellan <andrew.donnellan@au1.ibm.com>
Reviewed-by: Tomas Henzl <thenzl@redhat.com>
Signed-off-by: James Bottomley <JBottomley@Odin.com>
2015-10-30 16:57:55 +09:00
..
common.h cxlflash: Virtual LUN support 2015-08-26 18:05:39 -07:00
Kconfig
lunmgt.c cxlflash: Fix to avoid invalid port_sel value 2015-10-30 16:57:21 +09:00
main.c cxlflash: Remove unused variable from queuecommand 2015-08-26 18:08:47 -07:00
main.h
Makefile cxlflash: Virtual LUN support 2015-08-26 18:05:39 -07:00
sislite.h cxlflash: Virtual LUN support 2015-08-26 18:05:39 -07:00
superpipe.c cxlflash: Replace magic numbers with literals 2015-10-30 16:57:55 +09:00
superpipe.h cxlflash: Replace magic numbers with literals 2015-10-30 16:57:55 +09:00
vlun.c cxlflash: Replace magic numbers with literals 2015-10-30 16:57:55 +09:00
vlun.h cxlflash: Virtual LUN support 2015-08-26 18:05:39 -07:00