Re: [PATCH 5/6] regmap: cache: use kmalloc_array instead of kmalloc

2014-10-13 Thread Mark Brown
On Thu, Oct 09, 2014 at 05:02:56PM +0800, Xiubo Li wrote: > This patch fixes checkpatch.pl warning for regmap cache. > WARNING : prefer kmalloc_array over kmalloc with multiply Applied, thanks. signature.asc Description: Digital signature

[PATCH 5/6] regmap: cache: use kmalloc_array instead of kmalloc

2014-10-09 Thread Xiubo Li
This patch fixes checkpatch.pl warning for regmap cache. WARNING : prefer kmalloc_array over kmalloc with multiply Signed-off-by: Xiubo Li --- drivers/base/regmap/regcache.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/base/regmap/regcache.c b/drivers/base/regm