]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
SLUB: Deal with annoying gcc warning on kfree()
authorChristoph Lameter <clameter@sgi.com>
Fri, 8 Feb 2008 01:47:41 +0000 (17:47 -0800)
committerChristoph Lameter <christoph@stapp.engr.sgi.com>
Fri, 8 Feb 2008 01:47:41 +0000 (17:47 -0800)
commit5bb983b0cce9b7b281af15730f7019116dd42568
tree858d23397eaffb7023e50918bc0a9f785b79c962
parent0afc2edfada50980bec999f94dcea26ebad3dda6
SLUB: Deal with annoying gcc warning on kfree()

gcc 4.2 spits out an annoying warning if one casts a const void *
pointer to a void * pointer. No warning is generated if the
conversion is done through an assignment.

Signed-off-by: Christoph Lameter <clameter@sgi.com>
mm/slub.c