summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/gvp11.c
diff options
context:
space:
mode:
authorManoj Kumar <kumarmn@us.ibm.com>2015-10-21 22:11:00 +0200
committerJames Bottomley <JBottomley@Odin.com>2015-10-30 08:57:55 +0100
commit3ebf203093b4ee07d62ef1a02dbbf7a293770388 (patch)
tree0740b929e699e3098a677755b80a199a08b1e858 /drivers/scsi/gvp11.c
parentcxlflash: Fix to avoid invalid port_sel value (diff)
downloadlinux-3ebf203093b4ee07d62ef1a02dbbf7a293770388.tar.xz
linux-3ebf203093b4ee07d62ef1a02dbbf7a293770388.zip
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>
Diffstat (limited to 'drivers/scsi/gvp11.c')
0 files changed, 0 insertions, 0 deletions