commit | 5a267953baca23c49f78a2e365aa0f44f762b0c1 | [log] [tgz] |
---|---|---|
author | Janani Ravichandran <janani.rvchndrn@gmail.com> | Tue Feb 09 17:06:27 2016 -0500 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Tue Feb 09 17:43:09 2016 -0800 |
tree | b66b0711a1f4385f96157836651c915e29f37da1 | |
parent | b3232842dbef8e6356af75b3a98ea7f752879bc8 [diff] |
staging: rdma: Use kcalloc instead of kzalloc Use kcalloc rather than kzalloc when multiplied by size to prevent integer overflows. This change also makes code nicer to read. Signed-off-by: Janani Ravichandran <janani.rvchndrn@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>