diff options
author | Himangi Saraogi <himangi774@gmail.com> | 2014-07-11 21:42:43 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-07-13 22:16:50 +0200 |
commit | 2a211f320ee3d86835b40efd2948642482d3c933 (patch) | |
tree | eea9f41ae4a1c16b7938585e3b9a34e85bb40989 /include/asm-generic/vmlinux.lds.h | |
parent | dma: MIC X100 DMA Driver (diff) | |
download | linux-2a211f320ee3d86835b40efd2948642482d3c933.tar.xz linux-2a211f320ee3d86835b40efd2948642482d3c933.zip |
thunderbolt: Use kcalloc
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: Himangi Saraogi <himangi774@gmail.com>
Acked-by: Julia Lawall <julia.lawall@lip6.fr>
Acked-by: Andreas Noever <andreas.noever@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/asm-generic/vmlinux.lds.h')
0 files changed, 0 insertions, 0 deletions