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

This patch fixes the checks reported by checkpatch.pl
for prefer kmalloc(sizeof(*rqe)...) over kmalloc(sizeof(struct rxq_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