Explorar o código

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>
Shailendra Verma %!s(int64=10) %!d(string=hai) anos
pai
achega
c13aff3213
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      drivers/ata/sata_nv.c

+ 1 - 1
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)