Messages in this thread | | | Date | Tue, 19 Oct 2004 18:41:15 +0100 | From | Alasdair G Kergon <> | Subject | Re: [patch 1/1] dm: fix printk warnings about whether %lu/%Lu is right for sector_t |
| |
On Fri, Oct 08, 2004 at 12:12:39PM -0700, Andrew Morton wrote: > I would prefer that SECTOR_FORMAT be removed altogether.
> The industry-standard way of printing a sector_t is: > printk("%llu", (unsigned long long)sector);
What about reading a sector_t with sscanf, which looks like the reason for the existence of SECTOR_FORMAT?
Alasdair -- agk@redhat.com - 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/
| |