Commit 0bcf7a16 authored by Sakari Ailus's avatar Sakari Ailus Committed by Zheng Zengkai
Browse files

ACPI: property: Return type of acpi_add_nondev_subnodes() should be bool

stable inclusion
from stable-v5.10.138
commit b0c3eec4ac6971821089f4f7f7acf3d3cb79d5d3
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I60QFD

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=b0c3eec4ac6971821089f4f7f7acf3d3cb79d5d3



--------------------------------

commit 85140ef2 upstream.

The value acpi_add_nondev_subnodes() returns is bool so change the return
type of the function to match that.

Fixes: 445b0eb0 ("ACPI / property: Add support for data-only subnodes")
Signed-off-by: default avatarSakari Ailus <sakari.ailus@linux.intel.com>
Reviewed-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
Reviewed-by: default avatarWei Li <liwei391@huawei.com>
parent 1f2d2705
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment