commit | fbde4129175fd2896ffc9c5363ee1a7a65541e76 | [log] [tgz] |
---|---|---|
author | Jes Sorensen <Jes.Sorensen@redhat.com> | Sat Apr 26 18:54:54 2014 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sat Apr 26 10:16:12 2014 -0700 |
tree | edb8f03290be3bb4a9586e4d187b741906dcd00e | |
parent | 8282aeb63f981a0add994c57a75e472e1ba4f525 [diff] |
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 <dan.carpenter@oracle.com> Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>