lkml.org 
[lkml]   [2006]   [Aug]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[PATCH -mm] cdrom/gdsc: fix printk format warning
    From: Randy Dunlap <rdunlap@xenotime.net>

    Fix printk format warning:
    drivers/cdrom/gscd.c:269: warning: format ‘%lu’ expects type ‘long unsigned int’, but argument 2 has type ‘unsigned int’

    Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
    ---
    drivers/cdrom/gscd.c | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    --- linux-2618-rc4mm2-all.orig/drivers/cdrom/gscd.c
    +++ linux-2618-rc4mm2-all/drivers/cdrom/gscd.c
    @@ -266,7 +266,7 @@ repeat:
    goto out;

    if (req->cmd != READ) {
    - printk("GSCD: bad cmd %lu\n", rq_data_dir(req));
    + printk("GSCD: bad cmd %u\n", rq_data_dir(req));
    end_request(req, 0);
    goto repeat;
    }

    ---
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/
    \
     
     \ /
      Last update: 2006-08-26 19:27    [W:0.018 / U:29.808 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site