Re: [PATCH] usb: core: driver: Use kmalloc_array

2015-08-23 Thread Joe Perches
On Mon, 2015-08-24 at 00:18 +0530, Muhammad Falak R Wani wrote: > This patch introduces the use of function kmalloc_array(), instead > of using kmalloc(), for allocating memory for an array and removes > the corresponding call to kmalloc(). [] > diff --git a/drivers/usb/core/driver.c b/drivers/usb/

[PATCH] usb: core: driver: Use kmalloc_array

2015-08-23 Thread Muhammad Falak R Wani
This patch introduces the use of function kmalloc_array(), instead of using kmalloc(), for allocating memory for an array and removes the corresponding call to kmalloc(). Signed-off-by: Muhammad Falak R Wani --- drivers/usb/core/driver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) dif