Markus Elfring 4076e5187d IB/hfi1: Use kcalloc() in hfi1_user_exp_rcv_init()
* A multiplication for the size determination of a memory allocation
  indicated that an array data structure should be processed.
  Thus reuse the corresponding function "kcalloc".

  This issue was detected by using the Coccinelle software.

* Replace the specification of a data type by a pointer dereference
  to make the corresponding size determination a bit safer according to
  the Linux coding style convention.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Doug Ledford <dledford@redhat.com>
2017-04-20 16:23:25 -04:00
..
2016-12-11 15:25:13 -05:00
2017-04-20 15:19:41 -04:00
2017-04-20 15:19:41 -04:00
2016-08-04 20:26:31 -04:00
2017-04-20 15:19:41 -04:00
2017-02-19 09:18:39 -05:00
2016-10-02 08:42:13 -04:00
2017-04-05 14:45:09 -04:00
2017-04-05 14:45:09 -04:00
2017-04-20 15:19:41 -04:00
2017-04-20 15:19:41 -04:00
2017-04-20 15:19:41 -04:00