diff options
author | Srishti Sharma <srishtishar@gmail.com> | 2017-09-14 13:18:40 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2017-09-23 22:09:01 +0300 |
commit | abe513924879432a17a1cab1bc408b110fb04fac (patch) | |
tree | 8bfdb49d71cd7905c8255a05b16cda6decdce7b6 /include/linux/dccp.h | |
parent | e6cc710806e191acfa2691d2fb8cb7f19ffd2b0e (diff) | |
download | linux-abe513924879432a17a1cab1bc408b110fb04fac.tar.xz |
media: Staging: media: atomisp: Use kcalloc instead of kzalloc
Use kcalloc instead of kzalloc to check for an overflow before
multiplication. Done using the following semantic patch by
coccinelle.
http://coccinelle.lip6.fr/rules/kzalloc.cocci
Signed-off-by: Srishti Sharma <srishtishar@gmail.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'include/linux/dccp.h')
0 files changed, 0 insertions, 0 deletions