]> git.baikalelectronics.ru Git - kernel.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)
commit4fea274d2d9ba9a2736b4e289c6ff93b6f5d9a07
tree858d23397eaffb7023e50918bc0a9f785b79c962
parent94b342b9701ca2624cd080acdb0bbf3479d04fc4
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