pata_netcell: Fix typo [Linux 2.6.30]

This Linux kernel change "pata_netcell: Fix typo" is included in the Linux 2.6.30 release. This change is authored by Alan Cox <alan [at]> on Mon Jun 8 12:31:00 2009 +0100. The commit for this change in Linux stable tree is 5284c6b (patch).

pata_netcell: Fix typo

The previous patch submission had a I typo I didn't catch but Bartlomiej
noted. Guess this proves the point about any patch being risky late in an rc

Signed-off-by: Alan Cox <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>

There are 2 lines of Linux source code added/deleted in this change. Code changes to Linux kernel are as follows.

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

diff --git a/drivers/ata/pata_netcell.c b/drivers/ata/pata_netcell.c
index 9a69809..f0d52f7 100644
--- a/drivers/ata/pata_netcell.c
+++ b/drivers/ata/pata_netcell.c
@@ -26,7 +26,7 @@ static unsigned int netcell_read_id(struct ata_device *adev,
    unsigned int err_mask = ata_do_dev_read_id(adev, tf, id);
    /* Firmware forgets to mark words 85-87 valid */
    if (err_mask == 0)
-       id[ATA_ID_CSF_DEFAULT] |= 0x0400;
+       id[ATA_ID_CSF_DEFAULT] |= 0x4000;
    return err_mask;

Leave a Reply

Your email address will not be published. Required fields are marked *