2015-05-25 20:41:17

by Shailendra Verma

[permalink] [raw]
Subject: [PATCH] firewire:sbp2 - Change 1 to true for bool type variable.

The variable sbp2_param_exclusive_login is bool type.
Hence initializing with true instead of 1.

Signed-off-by: Shailendra Verma <[email protected]>
---
drivers/firewire/sbp2.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/firewire/sbp2.c b/drivers/firewire/sbp2.c
index c22606f..6d1f8df 100644
--- a/drivers/firewire/sbp2.c
+++ b/drivers/firewire/sbp2.c
@@ -65,7 +65,7 @@
*
* Concurrent logins are useful together with cluster filesystems.
*/
-static bool sbp2_param_exclusive_login = 1;
+static bool sbp2_param_exclusive_login = true;
module_param_named(exclusive_login, sbp2_param_exclusive_login, bool, 0644);
MODULE_PARM_DESC(exclusive_login, "Exclusive login to sbp2 device "
"(default = Y, use N for concurrent initiators)");
--
1.7.9.5