aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/cxlflash/vlun.h
diff options
context:
space:
mode:
authorMatthew R. Ochs <mrochs@linux.vnet.ibm.com>2017-04-12 14:15:20 -0500
committerMartin K. Petersen <martin.petersen@oracle.com>2017-04-13 22:55:41 -0400
commitfcc87e74a987dc9c0c85f53546df944ede76486a (patch)
tree3ac93a122409d41af83f220c058b87aadcb6a3f8 /drivers/scsi/cxlflash/vlun.h
parentscsi: cxlflash: Fix power-of-two validations (diff)
downloadlinux-dev-fcc87e74a987dc9c0c85f53546df944ede76486a.tar.xz
linux-dev-fcc87e74a987dc9c0c85f53546df944ede76486a.zip
scsi: cxlflash: Fix warnings/errors
As a general cleanup, address all reasonable checkpatch warnings and errors. These include enforcement of comment styles and including named identifiers in function prototypes. Signed-off-by: Matthew R. Ochs <mrochs@linux.vnet.ibm.com> Signed-off-by: Uma Krishnan <ukrishn@linux.vnet.ibm.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to '')
-rw-r--r--drivers/scsi/cxlflash/vlun.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/cxlflash/vlun.h b/drivers/scsi/cxlflash/vlun.h
index 8b29a74946e4..27a63a0155ce 100644
--- a/drivers/scsi/cxlflash/vlun.h
+++ b/drivers/scsi/cxlflash/vlun.h
@@ -47,7 +47,7 @@
* not stored anywhere.
*
* The LXT table is re-allocated whenever it needs to cross into another group.
-*/
+ */
#define LXT_GROUP_SIZE 8
#define LXT_NUM_GROUPS(lxt_cnt) (((lxt_cnt) + 7)/8) /* alloc'ed groups */
#define LXT_LUNIDX_SHIFT 8 /* LXT entry, shift for LUN index */