From: Jes Sorensen Date: Sat, 26 Apr 2014 16:54:54 +0000 (+0200) Subject: staging: rtl8723au: c2h_wk_callback(): Use GFP_KERNEL, and check return value X-Git-Tag: omap-for-v3.16/fixes-against-rc1~39^2~36^2~1220 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fbde4129175fd2896ffc9c5363ee1a7a65541e76;p=pandora-kernel.git staging: rtl8723au: c2h_wk_callback(): Use GFP_KERNEL, and check return value It is safe to use GFP_KERNEL in a workqueue handler, and check the return value. If the malloc fails, skip and try again. Reported-by: Dan Carpenter Signed-off-by: Jes Sorensen Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed