Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757601AbYBJAWE (ORCPT ); Sat, 9 Feb 2008 19:22:04 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755926AbYBJAVz (ORCPT ); Sat, 9 Feb 2008 19:21:55 -0500 Received: from netops-testserver-3-out.sgi.com ([192.48.171.28]:41598 "EHLO relay.sgi.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1756156AbYBJAVy (ORCPT ); Sat, 9 Feb 2008 19:21:54 -0500 Date: Sat, 9 Feb 2008 16:21:53 -0800 (PST) From: Christoph Lameter X-X-Sender: clameter@schroedinger.engr.sgi.com To: Vegard Nossum cc: Linux Kernel Mailing List , Pekka Enberg , Mathieu Desnoyers Subject: Re: mm/slub.c warnings In-Reply-To: <19f34abd0802090913w64773c44qb44a1d338cc10b4f@mail.gmail.com> Message-ID: References: <19f34abd0802090913w64773c44qb44a1d338cc10b4f@mail.gmail.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1039 Lines: 26 On Sat, 9 Feb 2008, Vegard Nossum wrote: > Hi, > > I get these warnings when compiling mm/slub.c in linux-2.6.git: > > mm/slub.c: In function 'slab_alloc': > mm/slub.c:1637: warning: assignment makes pointer from integer without a cast > mm/slub.c:1637: warning: assignment makes pointer from integer without a cast > mm/slub.c: In function 'slab_free': > mm/slub.c:1796: warning: assignment makes pointer from integer without a cast > mm/slub.c:1796: warning: assignment makes pointer from integer without a cast > > The actual lines are calls to cmpxchg_local(). This is probably > because I'm compiling with M386. I'm guessing the source of the > warnings is in include/asm-x86/cmpxchg_32.h, lines 283 and 286. Config > attached. Hmmm.. That cmpxchg local needs to be fixed? Mathieu? -- 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/