mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-14 05:46:50 +07:00
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>
This commit is contained in:
parent
16d75e6503
commit
5156934bd6
@ -14,7 +14,7 @@
|
|||||||
#include "zfcp_ext.h"
|
#include "zfcp_ext.h"
|
||||||
#include "zfcp_qdio.h"
|
#include "zfcp_qdio.h"
|
||||||
|
|
||||||
static bool enable_multibuffer = 1;
|
static bool enable_multibuffer = true;
|
||||||
module_param_named(datarouter, enable_multibuffer, bool, 0400);
|
module_param_named(datarouter, enable_multibuffer, bool, 0400);
|
||||||
MODULE_PARM_DESC(datarouter, "Enable hardware data router support (default on)");
|
MODULE_PARM_DESC(datarouter, "Enable hardware data router support (default on)");
|
||||||
|
|
||||||
|
@ -28,7 +28,7 @@ static bool enable_dif;
|
|||||||
module_param_named(dif, enable_dif, bool, 0400);
|
module_param_named(dif, enable_dif, bool, 0400);
|
||||||
MODULE_PARM_DESC(dif, "Enable DIF/DIX data integrity support");
|
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_param(allow_lun_scan, bool, 0600);
|
||||||
MODULE_PARM_DESC(allow_lun_scan, "For NPIV, scan and attach all storage LUNs");
|
MODULE_PARM_DESC(allow_lun_scan, "For NPIV, scan and attach all storage LUNs");
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user