aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2019-03-12 10:30:29 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2019-03-12 10:34:58 +0100
commit3fd16d70166194dd0bf0f7a555779a42ee267223 (patch)
tree66af0ea76bbd0456cd8cd68027df6d30dde0ba5c /Documentation
parentMerge tag 'acpi-5.1-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm (diff)
downloadlinux-dev-3fd16d70166194dd0bf0f7a555779a42ee267223.tar.xz
linux-dev-3fd16d70166194dd0bf0f7a555779a42ee267223.zip
ACPI: sysfs: Prevent get_status() from returning acpi_status
The return value of get_status() is passed to user space on errors, so it should not return acpi_status values then. Make it return error values that are meaningful for user space instead. This also makes a Clang warning regarding the initialization of a local variable in get_status() go away. Reported-by: Nathan Chancellor <natechancellor@gmail.com> Reviewed-by: Nathan Chancellor <natechancellor@gmail.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions