[PATCH v3 3/4] IB/sa: Allocate SA query with kzalloc

2015-07-09 Thread kaike . wan
From: Kaike Wan Replace kmalloc with kzalloc so that all uninitialized fields in SA query will be zero-ed out to avoid unintentional consequence. This prepares the SA query structure to accept new fields in the future. Signed-off-by: Kaike Wan Signed-off-by: John Fleck Signed-off-by: Ira Weiny

[PATCH v3 3/4] IB/sa: Allocate SA query with kzalloc

2015-06-04 Thread kaike . wan
From: Kaike Wan Replace kmalloc with kzalloc so that all uninitialized fields in SA query will be zero-ed out to avoid unintentional consequence. This prepares the SA query structure to accept new fields in the future. Signed-off-by: Kaike Wan Signed-off-by: John Fleck Signed-off-by: Ira Weiny