* [PATCH] ata:sata_nv - Change 1 to true for bool type variable.
@ 2015-05-25 20:08 Shailendra Verma
2015-05-26 18:47 ` Tejun Heo
0 siblings, 1 reply; 2+ messages in thread
From: Shailendra Verma @ 2015-05-25 20:08 UTC (permalink / raw)
To: Tejun Heo, linux-ide; +Cc: linux-kernel, Shailendra Verma
The variable swncq_enabled is bool type. Hence initialize it
with true instead of 1.
Signed-off-by: Shailendra Verma <shailendra.capricorn@gmail.com>
---
drivers/ata/sata_nv.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/ata/sata_nv.c b/drivers/ata/sata_nv.c
index 7ece85f..734f563 100644
--- a/drivers/ata/sata_nv.c
+++ b/drivers/ata/sata_nv.c
@@ -599,7 +599,7 @@ MODULE_DEVICE_TABLE(pci, nv_pci_tbl);
MODULE_VERSION(DRV_VERSION);
static bool adma_enabled;
-static bool swncq_enabled = 1;
+static bool swncq_enabled = true;
static bool msi_enabled;
static void nv_adma_register_mode(struct ata_port *ap)
--
1.7.9.5
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] ata:sata_nv - Change 1 to true for bool type variable.
2015-05-25 20:08 [PATCH] ata:sata_nv - Change 1 to true for bool type variable Shailendra Verma
@ 2015-05-26 18:47 ` Tejun Heo
0 siblings, 0 replies; 2+ messages in thread
From: Tejun Heo @ 2015-05-26 18:47 UTC (permalink / raw)
To: Shailendra Verma; +Cc: linux-ide, linux-kernel
On Tue, May 26, 2015 at 01:38:25AM +0530, Shailendra Verma wrote:
> The variable swncq_enabled is bool type. Hence initialize it
> with true instead of 1.
>
> Signed-off-by: Shailendra Verma <shailendra.capricorn@gmail.com>
Applied to libata/for-4.2.
--
tejun
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-05-26 18:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-25 20:08 [PATCH] ata:sata_nv - Change 1 to true for bool type variable Shailendra Verma
2015-05-26 18:47 ` Tejun Heo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).