]> git.karo-electronics.de Git - karo-tx-linux.git/commit
staging: wilc1000: fixes a struct allocation to match coding standards
authorLeo Kim <leo.kim@atmel.com>
Fri, 6 Nov 2015 02:12:59 +0000 (11:12 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 16 Nov 2015 04:02:47 +0000 (20:02 -0800)
commit1d401a4d66f6a3b1c70eec21288fe05d804d4bd8
treeb5e3920e1aaff4b9226e37849a700122791b6daf
parent44c4417d1b2b3a05c9dd8f653915d2c3a6de4182
staging: wilc1000: fixes a struct allocation to match coding standards

This patch fixes the checks reported by checkpatch.pl
for prefer kmalloc(sizeof(*tqe)...) over kmalloc(sizeof(struct txq_entry_t)...)

Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/wilc_wlan.c