Home
last modified time | relevance | path

Searched hist:"9766 f2517e55338ab546891c4bfff6666ffacaea" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/usb/core/
H A Ddriver.cdiff 9766f2517e55338ab546891c4bfff6666ffacaea Mon Sep 07 11:00:25 CDT 2015 Muhammad Falak R Wani <falakreyaz@gmail.com> usb: core: driver: Use kmalloc_array

Use kmalloc_array instead of kmalloc to allocate memory for an array.
Also, remove the dev_warn for a memory leak, making the if check more
sleek.

Signed-off-by: Muhammad Falak R Wani <falakreyaz@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>