lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Sat, 9 Feb 2008 18:13:29 +0100
From:	"Vegard Nossum" <vegard.nossum@...il.com>
To:	"Linux Kernel Mailing List" <linux-kernel@...r.kernel.org>
Cc:	"Christoph Lameter" <clameter@....com>,
	"Pekka Enberg" <penberg@...helsinki.fi>
Subject: mm/slub.c warnings

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.

Vegard

View attachment "config.txt" of type "text/plain" (38697 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ