diff options
author | Axel Lin <axel.lin@gmail.com> | 2010-06-10 16:06:40 +0800 |
---|---|---|
committer | Matthew Garrett <mjg@redhat.com> | 2010-08-03 09:48:47 -0400 |
commit | dfec5c48cdfdcb08d73d24cbf277de543ef864ae (patch) | |
tree | 49286224b8cc935b9b2f914e185960f69a34f5c8 /mm/fadvise.c | |
parent | 35f2915c3bd0cd6950bdd9d461de565e8feae852 (diff) | |
download | kernel_samsung_smdk4412-dfec5c48cdfdcb08d73d24cbf277de543ef864ae.zip kernel_samsung_smdk4412-dfec5c48cdfdcb08d73d24cbf277de543ef864ae.tar.gz kernel_samsung_smdk4412-dfec5c48cdfdcb08d73d24cbf277de543ef864ae.tar.bz2 |
hp-wmi: add error handling for hp_wmi_init
Current implementation in hp_wmi_init does not check any error and always
return success.
This patch properly handles recource reclaim and return err in error path.
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
Diffstat (limited to 'mm/fadvise.c')
0 files changed, 0 insertions, 0 deletions