aboutsummaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/cyc_complexity_plugin.c
diff options
context:
space:
mode:
authorEduardo Valentin <[email protected]>2016-11-07 21:09:26 -0800
committerZhang Rui <[email protected]>2016-11-23 10:06:12 +0800
commitb819dc9ef064430118634160330eaa93708aad28 (patch)
tree950b989f8f92b5899e0878d5bb72fa52801dee14 /scripts/gcc-plugins/cyc_complexity_plugin.c
parent95e3ed1513494aa2d0aaba7a99fb7aa8b51dcfc8 (diff)
thermal: sysfs: use kcalloc() instead of kzalloc()
Simplify size computation by using kcalloc() for allocating memory for arrays. Cc: Zhang Rui <[email protected]> Cc: [email protected] Cc: [email protected] Signed-off-by: Eduardo Valentin <[email protected]> Signed-off-by: Zhang Rui <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions