Re: [RFC 5/13] extents and 48bit ext3: sector_t type format string

From: Andrew Morton
Date: Thu Jun 08 2006 - 22:44:24 EST


On Thu, 08 Jun 2006 18:22:09 -0700
Mingming Cao <cmm@xxxxxxxxxx> wrote:

>
>
> Define SECTOR_FMT to print sector_t in proper format
>
> ...
>
> #define HAVE_SECTOR_T
> typedef u64 sector_t;
> +#define SECTOR_FMT "%llu"

We did try this a few years ago, but I cannot for the life of me remember
our reasons for abandoning it :(

We ended up deciding that the best way of handling this is to open-code the
%lld and to typecast the argument to long long.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/