aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/Kconfig.debug
diff options
context:
space:
mode:
authorIlia Mirkin <imirkin@alum.mit.edu>2011-05-24 17:13:30 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2011-05-25 08:39:52 -0700
commita08aa355af18c53f17f499c1cc6e2af66a77ba9b (patch)
tree1eea598cd9000361a30ddf521bca0022aee7d52b /arch/x86/Kconfig.debug
parent4440673a95e63ad888a41db596edaa0c55d3a332 (diff)
downloadkernel_goldelico_gta04-a08aa355af18c53f17f499c1cc6e2af66a77ba9b.zip
kernel_goldelico_gta04-a08aa355af18c53f17f499c1cc6e2af66a77ba9b.tar.gz
kernel_goldelico_gta04-a08aa355af18c53f17f499c1cc6e2af66a77ba9b.tar.bz2
lru_cache: use correct type in sizeof for allocation
This has no actual effect, since sizeof(struct hlist_head) == sizeof(struct hlist_head *), but it's still the wrong type to use. The semantic match that finds this problem: // <smpl> @@ type T; identifier x; @@ T *x; ... * x = kzalloc(... * sizeof(T*) * ..., ...); // </smpl> [akpm@linux-foundation.org: use kcalloc()] Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> Acked-by: Lars Ellenberg <lars@linbit.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/x86/Kconfig.debug')
0 files changed, 0 insertions, 0 deletions