aboutsummaryrefslogtreecommitdiffstats
path: root/lib/string_helpers.c
diff options
context:
space:
mode:
authorJiang Liu <[email protected]>2015-02-02 02:42:55 +0000
committerRafael J. Wysocki <[email protected]>2015-02-03 21:27:19 +0000
commit581c19f3a72ae9ff7f24f2a6c2e67f269ed4392a (patch)
treeb6b9f4713b7f5978d2b0dd1c3005c854c5a51041 /lib/string_helpers.c
parentACPI: Fix a bug in parsing ACPI Memory24 resource (diff)
downloadkernel-581c19f3a72ae9ff7f24f2a6c2e67f269ed4392a.tar.gz
kernel-581c19f3a72ae9ff7f24f2a6c2e67f269ed4392a.zip
ACPI: Normalize return value of resource parser functions
Normalize return value of resource parse functions as: 1) return "true" if resource is assigned. 2) return "false" and IORESOURCE_DISABLED setting in res->flags if resource is unassigned. 3) return "false" and zeroing res->flags if it's not an valid or expected resource. Signed-off-by: Jiang Liu <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions