[PATCH] sata_dwc_460ex: disable COMPILE_TEST

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
Cc: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
---
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(-)

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.
--
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux