diff options
| author | Jes Sorensen <Jes.Sorensen@redhat.com> | 2014-04-26 18:54:54 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-04-26 10:16:12 -0700 |
| commit | fbde4129175fd2896ffc9c5363ee1a7a65541e76 (patch) | |
| tree | edb8f03290be3bb4a9586e4d187b741906dcd00e /include/uapi/linux/errqueue.h | |
| 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>
Diffstat (limited to 'include/uapi/linux/errqueue.h')
0 files changed, 0 insertions, 0 deletions
