Commit:     2072fb55cf2400f2f7f4b47849b69f440bb9808f
Parent:     d98f88c222bf56cfa5839930fb0d0af22d1c36bf
Author:     Harvey Harrison <[EMAIL PROTECTED]>
AuthorDate: Wed Feb 13 21:14:23 2008 -0800
Committer:  Jeff Garzik <[EMAIL PROTECTED]>
CommitDate: Fri Feb 15 13:51:27 2008 -0500

    ata: fix sparse warning in pata_cs5536.c
    Everybody passes in a u32...why fight it.
    drivers/ata/pata_cs5536.c:124:26: warning: incorrect type in argument 3 
(different signedness)
    drivers/ata/pata_cs5536.c:124:26:    expected int *val
    drivers/ata/pata_cs5536.c:124:26:    got unsigned int *<noident>
    Signed-off-by: Harvey Harrison <[EMAIL PROTECTED]>
    Signed-off-by: Jeff Garzik <[EMAIL PROTECTED]>
 drivers/ata/pata_cs5536.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/ata/pata_cs5536.c b/drivers/ata/pata_cs5536.c
index 89fc8db..1c4ff9b 100644
--- a/drivers/ata/pata_cs5536.c
+++ b/drivers/ata/pata_cs5536.c
@@ -85,7 +85,7 @@ static const u8 pci_reg[4] = {
-static inline int cs5536_read(struct pci_dev *pdev, int reg, int *val)
+static inline int cs5536_read(struct pci_dev *pdev, int reg, u32 *val)
        if (unlikely(use_msr)) {
                u32 dummy;
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to