Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=be3478ddb8a3902b588c840b42e166a0e64a87b3
Commit:     be3478ddb8a3902b588c840b42e166a0e64a87b3
Parent:     147394c8ece44be85d692cc92cc0d047e4d8fb69
Author:     Andrew Morton <[EMAIL PROTECTED]>
AuthorDate: Tue May 8 00:40:22 2007 -0700
Committer:  Linus Torvalds <[EMAIL PROTECTED]>
CommitDate: Tue May 8 11:15:34 2007 -0700

    sm501fb printk warning fixes
    
    drivers/video/sm501fb.c: In function 'sm501fb_cursor':
    drivers/video/sm501fb.c:992: warning: format '%08x' expects type 'unsigned 
int', but argument 3 has type 'long unsigned int'
    drivers/video/sm501fb.c:992: warning: format '%08x' expects type 'unsigned 
int', but argument 4 has type 'long unsigned int'
    
    Cc: "Antonino A. Daplas" <[EMAIL PROTECTED]>
    Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
    Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>
---
 drivers/video/sm501fb.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/video/sm501fb.c b/drivers/video/sm501fb.c
index 0a44c44..c86df12 100644
--- a/drivers/video/sm501fb.c
+++ b/drivers/video/sm501fb.c
@@ -989,7 +989,7 @@ static int sm501fb_cursor(struct fb_info *info, struct 
fb_cursor *cursor)
                        ((info->cmap.green[fg_col] & 0xFC) << 3) |
                        ((info->cmap.blue[fg_col] & 0xF8) >> 3);
 
-               dev_dbg(fbi->dev, "fgcol %08x, bgcol %08x\n", fg, bg);
+               dev_dbg(fbi->dev, "fgcol %08lx, bgcol %08lx\n", fg, bg);
 
                writel(bg, base + SM501_OFF_HWC_COLOR_1_2);
                writel(fg, base + SM501_OFF_HWC_COLOR_3);
-
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  http://vger.kernel.org/majordomo-info.html

Reply via email to