From mboxrd@z Thu Jan 1 00:00:00 1970 From: Benjamin Herrenschmidt Subject: Re: [PATCH] Make u64 long long on all architectures (was: the printk problem) Date: Tue, 22 Jul 2008 21:35:30 +1000 Message-ID: <1216726530.11027.205.camel@pasglop> References: <20080625131101.GA6205@digi.com> <20080704104634.GA31634@digi.com> <20080704111540.ddffd241.akpm@linux-foundation.org> <20080704132716.f1e12554.akpm@linux-foundation.org> <20080704204252.GM14894@parisc-linux.org> <20080704150100.1f7b8a65.akpm@linux-foundation.org> <20080705020350.GN14894@parisc-linux.org> <20080722030506.206a2cc2.akpm@linux-foundation.org> Reply-To: benh@kernel.crashing.org Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20080722030506.206a2cc2.akpm@linux-foundation.org> Sender: linux-ia64-owner@vger.kernel.org To: Andrew Morton Cc: Matthew Wilcox , linux-arch@vger.kernel.org, linux-ia64@vger.kernel.org, linux-kernel@vger.kernel.org, linuxppc-dev@ozlabs.org, Peter Anvin , Linus Torvalds , "David S. Miller" List-Id: linux-arch.vger.kernel.org > > This is (IMO) a desirable change and will prevent a heck of a lot of > goofing around, and will permit a lot of prior goofing around to > be removed. > > But I bet there are lots of instalces of printk("%l", some_u64) down in > arch code where the type of u64 _is_ known which will now spew warnings. Well, I'm about to call a big "warning fixing day" on the powerpc list, I saw a few today when building a couple of configs and that hurts my eyes so we may as well fold that in :-) Cheers, Ben. From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate.crashing.org ([63.228.1.57]:55027 "EHLO gate.crashing.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752819AbYGVLfr (ORCPT ); Tue, 22 Jul 2008 07:35:47 -0400 Subject: Re: [PATCH] Make u64 long long on all architectures (was: the printk problem) From: Benjamin Herrenschmidt Reply-To: benh@kernel.crashing.org In-Reply-To: <20080722030506.206a2cc2.akpm@linux-foundation.org> References: <20080625131101.GA6205@digi.com> <20080704104634.GA31634@digi.com> <20080704111540.ddffd241.akpm@linux-foundation.org> <20080704132716.f1e12554.akpm@linux-foundation.org> <20080704204252.GM14894@parisc-linux.org> <20080704150100.1f7b8a65.akpm@linux-foundation.org> <20080705020350.GN14894@parisc-linux.org> <20080722030506.206a2cc2.akpm@linux-foundation.org> Content-Type: text/plain Date: Tue, 22 Jul 2008 21:35:30 +1000 Message-ID: <1216726530.11027.205.camel@pasglop> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-arch-owner@vger.kernel.org List-ID: To: Andrew Morton Cc: Matthew Wilcox , linux-arch@vger.kernel.org, linux-ia64@vger.kernel.org, linux-kernel@vger.kernel.org, linuxppc-dev@ozlabs.org, Peter Anvin , Linus Torvalds , "David S. Miller" Message-ID: <20080722113530.FKnOjPjyn_m7Z0DQaAq2WQcHQRLQT_aNXlSnOWnytvU@z> > > This is (IMO) a desirable change and will prevent a heck of a lot of > goofing around, and will permit a lot of prior goofing around to > be removed. > > But I bet there are lots of instalces of printk("%l", some_u64) down in > arch code where the type of u64 _is_ known which will now spew warnings. Well, I'm about to call a big "warning fixing day" on the powerpc list, I saw a few today when building a couple of configs and that hurts my eyes so we may as well fold that in :-) Cheers, Ben.