[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20080903085852.ee31fee8.akpm@linux-foundation.org>
Date: Wed, 3 Sep 2008 08:58:52 -0700
From: Andrew Morton <akpm@...ux-foundation.org>
To: James Bottomley <James.Bottomley@...senPartnership.com>
Cc: Matthew Wilcox <matthew@....cx>, Simon Arlott <simon@...e.lp0.eu>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
linux-scsi <linux-scsi@...r.kernel.org>
Subject: Re: [PATCH 1/2] lib: add generic helper to print sizes rounded to
the correct SI range
On Wed, 03 Sep 2008 09:32:34 -0500 James Bottomley <James.Bottomley@...senPartnership.com> wrote:
> > > + snprintf(buf, len, "%lld%s%s", size, tmp, units_str[units][i]);
> >
> > Can't print a u64 - we don't know what type it has. It must be cast to
> > something, usually unsigned long long.
>
> I thought there was a patch from Matthew to move u64 to unsigned long
> long on all architectures, thus obviating this annoying conversion ...
> is that still wandering upstream, or has it been dropped?
It broke, and it needs vast numbers of conversions in the arch code.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists