summaryrefslogtreecommitdiffstats
path: root/drivers/ide/ide-gd.c
diff options
context:
space:
mode:
authorPeter Senna Tschudin <peter.senna@gmail.com>2015-10-12 23:22:36 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-10-16 23:46:27 -0700
commit0d88002e2729e93d93631743d57e1f36763ce136 (patch)
treec5468f26934525a02f1666dc22580f78a3e45160 /drivers/ide/ide-gd.c
parentf238b4e2b39e94dc9770243c472a80fa41190db0 (diff)
downloadop-kernel-dev-0d88002e2729e93d93631743d57e1f36763ce136.zip
op-kernel-dev-0d88002e2729e93d93631743d57e1f36763ce136.tar.gz
usb/host/fotg210: change kmalloc by kmalloc_array
This patch replaces: kmalloc(DBG_SCHED_LIMIT * sizeof(*seen), GFP_ATOMIC) by: kmalloc_array(DBG_SCHED_LIMIT, sizeof(*seen), GFP_ATOMIC) as kmalloc_array() should be used for allocating arrays. Signed-off-by: Peter Senna Tschudin <peter.senna@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/ide/ide-gd.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud