summaryrefslogtreecommitdiffstats
path: root/scripts/checkpatch.pl
diff options
context:
space:
mode:
authorChristoph Lameter2007-06-24 02:16:43 +0200
committerLinus Torvalds2007-06-24 17:59:12 +0200
commitdebee0768ea1978c6efba03206a414685e4a9ed1 (patch)
tree76b257ca8ea66e596ffb0744fdb51f98dd044bed /scripts/checkpatch.pl
parentdocument nlink function (diff)
downloadkernel-qcow2-linux-debee0768ea1978c6efba03206a414685e4a9ed1.tar.gz
kernel-qcow2-linux-debee0768ea1978c6efba03206a414685e4a9ed1.tar.xz
kernel-qcow2-linux-debee0768ea1978c6efba03206a414685e4a9ed1.zip
slab allocators: MAX_ORDER one off fix
MAX_ORDER is the first order that is not possible. Use MAX_ORDER - 1 to calculate the larges possible object size in slab.h Signed-off-by: Christoph Lameter <clameter@sgi.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'scripts/checkpatch.pl')
0 files changed, 0 insertions, 0 deletions