diff options
| author | Sumit Pundir <pundirsumit11@gmail.com> | 2018-01-20 10:56:09 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-01-22 13:40:49 +0300 |
| commit | 142ad642cde315764c4d8589fc0ed5bf67a712e9 (patch) | |
| tree | f0a08d0a81a7a9a4a7d2bcc4e7bdb6693c6c8fe9 /include/linux/stackprotector.h | |
| parent | 99c7d99f1a7f6cec15004073f0a900c361010991 (diff) | |
| download | linux-142ad642cde315764c4d8589fc0ed5bf67a712e9.tar.xz | |
staging: lustre: lnet: prefer kcalloc over kzalloc with multiply
Use kcalloc for allocating an array instead of kzalloc with
multiply. kcalloc is the preferred API. Issue reported by
checkpatch.pl
Signed-off-by: Sumit Pundir <pundirsumit11@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/stackprotector.h')
0 files changed, 0 insertions, 0 deletions
