summaryrefslogtreecommitdiffstats
path: root/include/acpi/platform/acmsvcex.h
diff options
context:
space:
mode:
authorLv Zheng2016-03-24 06:01:28 +0100
committerRafael J. Wysocki2016-04-09 03:08:40 +0200
commit60438d9a1ef4176d79739efadee122afe92904b8 (patch)
tree6dbb238ffd64d75bb487e10e47557ef7e4ba6e10 /include/acpi/platform/acmsvcex.h
parentLinux 4.6-rc2 (diff)
downloadkernel-qcow2-linux-60438d9a1ef4176d79739efadee122afe92904b8.tar.gz
kernel-qcow2-linux-60438d9a1ef4176d79739efadee122afe92904b8.tar.xz
kernel-qcow2-linux-60438d9a1ef4176d79739efadee122afe92904b8.zip
tools/power/acpi: close file only if it is open
The logic on the test for a valid fd to close is incorrect. This was just a mistake and was pointed out by Colin Ian King. Link: https://patchwork.kernel.org/patch/8620201/ Original-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Lv Zheng <lv.zheng@intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'include/acpi/platform/acmsvcex.h')
0 files changed, 0 insertions, 0 deletions