Messages in this thread | | | Subject | Re: [PATCH] MTD: fix printk warning | From | David Woodhouse <> | Date | Sun, 01 Oct 2006 18:23:17 +0100 |
| |
On Sun, 2006-10-01 at 12:16 -0400, Jeff Garzik wrote: > gcc spits out this warning: > > drivers/mtd/mtd_blkdevs.c: In function ‘do_blktrans_request’: > drivers/mtd/mtd_blkdevs.c:72: warning: format ‘%ld’ expects type ‘long int’, but argument 2 has type ‘unsigned int’
> - printk(KERN_NOTICE "Unknown request %ld\n", rq_data_dir(req)); > + printk(KERN_NOTICE "Unknown request %u\n", rq_data_dir(req));
Applied; thanks. I'd applied it once already and reverted it because it seemed wrong -- but now the change which made it necessary is upstream.
-- dwmw2
- 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/
| |