Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ata:sata_nv - Change 1 to true for bool type variable.

The variable swncq_enabled is bool type. Hence initialize it
with true instead of 1.

Signed-off-by: Shailendra Verma <shailendra.capricorn@gmail.com>
Signed-off-by: Tejun Heo <tj@kernel.org>

authored by

Shailendra Verma and committed by
Tejun Heo
c13aff32 766a2d97

+1 -1
+1 -1
drivers/ata/sata_nv.c
··· 599 599 MODULE_VERSION(DRV_VERSION); 600 600 601 601 static bool adma_enabled; 602 - static bool swncq_enabled = 1; 602 + static bool swncq_enabled = true; 603 603 static bool msi_enabled; 604 604 605 605 static void nv_adma_register_mode(struct ata_port *ap)