Easwar Hariharan 859bcad9c2 staging/rdma/hfi1: Fix a possible null pointer dereference
A code inspection pointed out that kmalloc_array may return NULL and
memset doesn't check the input pointer for NULL, resulting in a possible
NULL dereference. This patch fixes this.

Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: Easwar Hariharan <easwar.hariharan@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-12-21 14:00:17 -08:00
..
2015-11-05 13:15:12 -08:00
2015-12-13 19:23:01 -08:00
2015-11-06 11:50:24 -08:00
2015-11-15 20:02:47 -08:00
2015-11-04 21:40:53 -08:00