]> git.baikalelectronics.ru Git - kernel.git/commit
staging: wilc1000: linux_mon: fix coding style of kmalloc usage
authorChaehyun Lim <chaehyun.lim@gmail.com>
Mon, 1 Feb 2016 12:26:45 +0000 (21:26 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 3 Feb 2016 23:34:29 +0000 (15:34 -0800)
commit5b405c1b34e8a93a07d961fa6af32cadf29f3e40
treea7ce36be50206a6921d821725d0aa96cb014d49f
parent9d9fab8ba6f41811fb7584d8ef8c8771c4a7c4b5
staging: wilc1000: linux_mon: fix coding style of kmalloc usage

This patch fixes coding style of kmalloc usage found by checkpatch.pl
CHECK: Prefer kmalloc(sizeof(*mgmt_tx)...) over kmalloc(sizeof(struct
tx_complete_mon_data)...)

Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/linux_mon.c