summaryrefslogtreecommitdiffstats
path: root/drivers/staging/vt6655/rf.h
diff options
context:
space:
mode:
authorShraddha Barke <shraddha.6596@gmail.com>2015-10-09 21:03:29 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-10-12 20:54:14 -0700
commit749f3c05004ea9bf5b8cfca2c9edd41c764d68c2 (patch)
treeffb2bc60054c4865622d7608a94afc7515439ac4 /drivers/staging/vt6655/rf.h
parent41cb5786550ef67f970a2c1446f480d1ee0e2b69 (diff)
downloadop-kernel-dev-749f3c05004ea9bf5b8cfca2c9edd41c764d68c2.zip
op-kernel-dev-749f3c05004ea9bf5b8cfca2c9edd41c764d68c2.tar.gz
Staging: rtl8192e: Use kcalloc instead of kzalloc to allocate array
The advantage of kcalloc is, that will prevent integer overflows which could result from the multiplication of number of elements and size and it is also a bit nicer to read. Signed-off-by: Shraddha Barke <shraddha.6596@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/vt6655/rf.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud