This is a note to let you know that I've just added the patch titled

    ahci_xgene: Fix the endianess issue in APM X-Gene SoC AHCI SATA controller 
driver.

to the 3.18-stable tree which can be found at:
    
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     
ahci_xgene-fix-the-endianess-issue-in-apm-x-gene-soc-ahci-sata-controller-driver.patch
and it can be found in the queue-3.18 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <[email protected]> know about it.


>From 5c0b8e0de76a86edb99e46612fd9d341b4c4fa0a Mon Sep 17 00:00:00 2001
From: Suman Tripathi <[email protected]>
Date: Mon, 29 Dec 2014 08:52:46 +0530
Subject: ahci_xgene: Fix the endianess issue in APM X-Gene SoC AHCI SATA 
controller driver.

From: Suman Tripathi <[email protected]>

commit 5c0b8e0de76a86edb99e46612fd9d341b4c4fa0a upstream.

This patch fixes the big endian mode issue with function
xgene_ahci_read_id.

Signed-off-by: Suman Tripathi <[email protected]>
Signed-off-by: Tejun Heo <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>

---
 drivers/ata/ahci_xgene.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/drivers/ata/ahci_xgene.c
+++ b/drivers/ata/ahci_xgene.c
@@ -188,7 +188,7 @@ static unsigned int xgene_ahci_read_id(s
         *
         * Clear reserved bit 8 (DEVSLP bit) as we don't support DEVSLP
         */
-       id[ATA_ID_FEATURE_SUPP] &= ~(1 << 8);
+       id[ATA_ID_FEATURE_SUPP] &= cpu_to_le16(~(1 << 8));
 
        return 0;
 }


Patches currently in stable-queue which might be from [email protected] are

queue-3.18/ahci_xgene-fix-the-endianess-issue-in-apm-x-gene-soc-ahci-sata-controller-driver.patch
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to