Commit:     1c904fcfbb0d8eef92ef42b1da378b4714143e46
Parent:     c2b57cdc1d2976444d451a2a2e43e11b61ed0638
Author:     Andrew Morton <[EMAIL PROTECTED]>
AuthorDate: Fri Jan 25 22:17:17 2008 +0100
Committer:  Bartlomiej Zolnierkiewicz <[EMAIL PROTECTED]>
CommitDate: Fri Jan 25 22:17:17 2008 +0100

    ide: printk fix
    drivers/ide/ide-lib.c: In function `ide_dump_sector':
    drivers/ide/ide-lib.c:516: warning: long long unsigned int format, u64 arg 
(arg 2)
    We don't know what type is used to implement u64 hence it must always be 
    when printed.
    Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
    Signed-off-by: Bartlomiej Zolnierkiewicz <[EMAIL PROTECTED]>
 drivers/ide/ide-lib.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/drivers/ide/ide-lib.c b/drivers/ide/ide-lib.c
index 15736d4..d7503c4 100644
--- a/drivers/ide/ide-lib.c
+++ b/drivers/ide/ide-lib.c
@@ -509,7 +509,8 @@ static void ide_dump_sector(ide_drive_t *drive)
        ide_tf_read(drive, &task);
        if (lba48 || (tf->device & ATA_LBA))
-               printk(", LBAsect=%llu", ide_get_lba_addr(tf, lba48));
+               printk(", LBAsect=%llu",
+                       (unsigned long long)ide_get_lba_addr(tf, lba48));
                printk(", CHS=%d/%d/%d", (tf->lbah << 8) + tf->lbam,
                                         tf->device & 0xf, tf->lbal);
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