aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/cyc_complexity_plugin.c
diff options
context:
space:
mode:
authorJozsef Kadlecsik <[email protected]>2015-05-06 07:27:28 +0200
committerJozsef Kadlecsik <[email protected]>2016-11-10 13:28:43 +0100
commit1d0d6bd61d495d271b9774a15fbea93e4875474b (patch)
treee21096b00a5ecb67fcb2c625197deec7f2d6991c /scripts/gcc-plugins/cyc_complexity_plugin.c
parentbec810d973003b30bc477146904af6bd93fd2df8 (diff)
netfilter: ipset: Use kmalloc() in comment extension helper
Allocate memory with kmalloc() rather than kzalloc(): the string is immediately initialized so it is unnecessary to zero out the allocated memory area. Ported from a patch proposed by Sergey Popovich <[email protected]>. Suggested-by: Sergey Popovich <[email protected]> Signed-off-by: Jozsef Kadlecsik <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions