linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: warning in scheduler
       [not found]       ` <1217241622.11188.191.camel@pasglop>
@ 2008-07-28 18:39         ` Matthew Wilcox
  2008-07-28 21:19           ` Benjamin Herrenschmidt
  0 siblings, 1 reply; 2+ messages in thread
From: Matthew Wilcox @ 2008-07-28 18:39 UTC (permalink / raw)
  To: Benjamin Herrenschmidt
  Cc: Ingo Molnar, Peter Zijlstra, H. Peter Anvin, Andrew Morton,
	linux-kernel, stephen, benm, jkosina

On Mon, Jul 28, 2008 at 08:40:22PM +1000, Benjamin Herrenschmidt wrote:
> I tend to agree. I might look into doing it for powerpc around rc3 or
> so, when things have settled a bit.

It'd be nice if allmodconfig even compiled:

drivers/char/pcmcia/ipwireless/hardware.c:571: error: invalid use of undefined type 'struct ipw_network'

Not to mention the qla_attr patch:

+#include <linux/delay.h>

There's probably others, I just haven't got far enough in the
compilation process yet.

But I am seeing lots of warnings _without_ the patch applied:

fs/omfs/inode.c: In function 'omfs_fill_super':
fs/omfs/inode.c:495: warning: format '%llx' expects type 'long long
unsigned int', but argument 2 has type 'u64'
fs/proc/base.c: In function 'do_io_accounting':
fs/proc/base.c:2429: warning: format '%llu' expects type 'long long
unsigned int', but argument 3 has type 'u64'
fs/ubifs/dir.c: In function 'ubifs_readdir':
fs/ubifs/dir.c:437: warning: format '%llu' expects type 'long long
unsigned int', but argument 5 has type '__le64'

(other warnings snipped for brevity).

-- 
Intel are signing my paycheques ... these opinions are still mine
"Bill, look, we understand that you're interested in selling us this
operating system, but compare it to ours.  We can't possibly take such
a retrograde step."

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: warning in scheduler
  2008-07-28 18:39         ` warning in scheduler Matthew Wilcox
@ 2008-07-28 21:19           ` Benjamin Herrenschmidt
  0 siblings, 0 replies; 2+ messages in thread
From: Benjamin Herrenschmidt @ 2008-07-28 21:19 UTC (permalink / raw)
  To: Matthew Wilcox
  Cc: Ingo Molnar, Peter Zijlstra, H. Peter Anvin, Andrew Morton,
	linux-kernel, stephen, benm, jkosina

On Mon, 2008-07-28 at 12:39 -0600, Matthew Wilcox wrote:
> On Mon, Jul 28, 2008 at 08:40:22PM +1000, Benjamin Herrenschmidt wrote:
> > I tend to agree. I might look into doing it for powerpc around rc3 or
> > so, when things have settled a bit.
> 
> It'd be nice if allmodconfig even compiled:
> 
> drivers/char/pcmcia/ipwireless/hardware.c:571: error: invalid use of undefined type 'struct ipw_network'
> 
> Not to mention the qla_attr patch:
> 
> +#include <linux/delay.h>
> 
> There's probably others, I just haven't got far enough in the
> compilation process yet.

Yup, it's been a pretty bad merge window (at least it's my impression as
my first one as maintainer), mostly fixing compile bugs all the time.

> But I am seeing lots of warnings _without_ the patch applied:
> 
> fs/omfs/inode.c: In function 'omfs_fill_super':
> fs/omfs/inode.c:495: warning: format '%llx' expects type 'long long
> unsigned int', but argument 2 has type 'u64'
> fs/proc/base.c: In function 'do_io_accounting':
> fs/proc/base.c:2429: warning: format '%llu' expects type 'long long
> unsigned int', but argument 3 has type 'u64'
> fs/ubifs/dir.c: In function 'ubifs_readdir':
> fs/ubifs/dir.c:437: warning: format '%llu' expects type 'long long
> unsigned int', but argument 5 has type '__le64'
> 
> (other warnings snipped for brevity).

I have a handful on powerpc too.

BTW. I'm looking at adding a %pR to print a struct resource (or maybe
a %pr for a resource_size_t and %pR for the whole resource). That would
help with the whole business of the thing being either 32 or 64 bits.

Ben.



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-07-28 21:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <1217214947.11188.156.camel@pasglop>
     [not found] ` <1217238791.6331.15.camel@twins>
     [not found]   ` <1217239403.11188.189.camel@pasglop>
     [not found]     ` <20080728100752.GA4717@elte.hu>
     [not found]       ` <1217241622.11188.191.camel@pasglop>
2008-07-28 18:39         ` warning in scheduler Matthew Wilcox
2008-07-28 21:19           ` Benjamin Herrenschmidt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).