diff mbox

sata_dwc_460ex: disable COMPILE_TEST

Message ID 20150211025458.GB21356@htj.duckdns.org
State Not Applicable
Delegated to: David Miller
Headers show

Commit Message

Tejun Heo Feb. 11, 2015, 2:54 a.m. UTC
84683a7e081f ("sata_dwc_460ex: enable COMPILE_TEST for the driver")
enabled COMPILE_TEST for the driver and 2de5a9c004e9 ("sata_dwc_460ex:
disable compilation on ARM and ARM64") subsequently turned it off for
ARMs but it still triggers compile warnings on 64bits.

   drivers/ata/sata_dwc_460ex.c:652:32: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
      lli[idx].sar = cpu_to_le32((u32)dmadr_addr);
                                 ^
Disable it completely for now.

Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
Sorry about the trouble.  In case you haven't done it already, here's
the patch.

Thanks.

 drivers/ata/Kconfig |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/drivers/ata/Kconfig b/drivers/ata/Kconfig
index e7f338a..5f60155 100644
--- a/drivers/ata/Kconfig
+++ b/drivers/ata/Kconfig
@@ -269,7 +269,7 @@  config ATA_PIIX
 
 config SATA_DWC
 	tristate "DesignWare Cores SATA support"
-	depends on 460EX || (COMPILE_TEST && !(ARM || ARM64))
+	depends on 460EX
 	help
 	  This option enables support for the on-chip SATA controller of the
 	  AppliedMicro processor 460EX.