aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/oprofile
diff options
context:
space:
mode:
authorJulia Lawall <julia@diku.dk>2009-12-06 10:16:51 +0100
committerJames Morris <jmorris@namei.org>2009-12-08 14:57:54 +1100
commit9f59f90bf57cff8be07faddc608c400b6e7c5d05 (patch)
tree621e4fa6dae193b3427913a1945eee473f47b153 /drivers/oprofile
parent6ec22f9b037fc0c2e00ddb7023fad279c365324d (diff)
downloadkernel_samsung_espresso10-9f59f90bf57cff8be07faddc608c400b6e7c5d05.zip
kernel_samsung_espresso10-9f59f90bf57cff8be07faddc608c400b6e7c5d05.tar.gz
kernel_samsung_espresso10-9f59f90bf57cff8be07faddc608c400b6e7c5d05.tar.bz2
security/selinux/ss: correct size computation
The size argument to kcalloc should be the size of desired structure, not the pointer to it. The semantic patch that makes this change is as follows: (http://coccinelle.lip6.fr/) // <smpl> @expression@ expression *x; @@ x = <+... -sizeof(x) +sizeof(*x) ...+>// </smpl> Signed-off-by: Julia Lawall <julia@diku.dk> Acked-by: Eric Paris <eparis@redhat.com> Signed-off-by: James Morris <jmorris@namei.org>
Diffstat (limited to 'drivers/oprofile')
0 files changed, 0 insertions, 0 deletions