summaryrefslogtreecommitdiffstats
path: root/drivers/s390/scsi/zfcp_scsi.c
diff options
context:
space:
mode:
authorBenjamin Block <bblock@linux.vnet.ibm.com>2017-07-28 12:30:50 +0200
committerMartin K. Petersen <martin.petersen@oracle.com>2017-08-11 01:36:54 +0200
commit5156934bd62098cb80eeaabb77e9949c900e7092 (patch)
treee14dcb38d959545e6b329480936e661062511027 /drivers/s390/scsi/zfcp_scsi.c
parentscsi: zfcp: Remove unneeded linux/miscdevice.h include (diff)
downloadlinux-5156934bd62098cb80eeaabb77e9949c900e7092.tar.xz
linux-5156934bd62098cb80eeaabb77e9949c900e7092.zip
scsi: zfcp: convert bool-definitions to use 'true' instead of '1'
Better form and cleans remaining warnings. Found with scripts/coccinelle/misc/boolinit.cocci. Signed-off-by: Benjamin Block <bblock@linux.vnet.ibm.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/s390/scsi/zfcp_scsi.c')
-rw-r--r--drivers/s390/scsi/zfcp_scsi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/s390/scsi/zfcp_scsi.c b/drivers/s390/scsi/zfcp_scsi.c
index 0678cf714c0e..d99da4e1e27a 100644
--- a/drivers/s390/scsi/zfcp_scsi.c
+++ b/drivers/s390/scsi/zfcp_scsi.c
@@ -28,7 +28,7 @@ static bool enable_dif;
module_param_named(dif, enable_dif, bool, 0400);
MODULE_PARM_DESC(dif, "Enable DIF/DIX data integrity support");
-static bool allow_lun_scan = 1;
+static bool allow_lun_scan = true;
module_param(allow_lun_scan, bool, 0600);
MODULE_PARM_DESC(allow_lun_scan, "For NPIV, scan and attach all storage LUNs");