commit | bc28596a8fe5034ef776b0be2e0bf5629a31f746 | [log] [tgz] |
---|---|---|
author | Axel Lin <axel.lin@gmail.com> | Tue Jul 20 15:19:51 2010 -0700 |
committer | Matthew Garrett <mjg@redhat.com> | Tue Aug 03 09:49:02 2010 -0400 |
tree | cfc5b39c733cdfe111c60c906b3948887905723c | |
parent | 1bd1ca1f4ce99c5be041bfc2997e394cdb5240dc [diff] |
hp-wmi: add return value checking for input_allocate_device() Add error checking and return -ENOMEM if input_allocate_device() fail. Signed-off-by: Axel Lin <axel.lin@gmail.com> Acked-by: Thomas Renninger <trenn@suse.de> Cc: Matthew Garrett <mjg@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Matthew Garrett <mjg@redhat.com>