diff options
Diffstat (limited to 'drivers/acpi/namespace/nsutils.c')
-rw-r--r-- | drivers/acpi/namespace/nsutils.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/acpi/namespace/nsutils.c b/drivers/acpi/namespace/nsutils.c index ebec036423c9..549075fb9f88 100644 --- a/drivers/acpi/namespace/nsutils.c +++ b/drivers/acpi/namespace/nsutils.c | |||
@@ -249,10 +249,10 @@ acpi_object_type acpi_ns_get_type(struct acpi_namespace_node * node) | |||
249 | 249 | ||
250 | if (!node) { | 250 | if (!node) { |
251 | ACPI_REPORT_WARNING(("ns_get_type: Null Node input pointer\n")); | 251 | ACPI_REPORT_WARNING(("ns_get_type: Null Node input pointer\n")); |
252 | return_VALUE(ACPI_TYPE_ANY); | 252 | return_UINT32(ACPI_TYPE_ANY); |
253 | } | 253 | } |
254 | 254 | ||
255 | return_VALUE((acpi_object_type) node->type); | 255 | return_UINT32((acpi_object_type) node->type); |
256 | } | 256 | } |
257 | 257 | ||
258 | /******************************************************************************* | 258 | /******************************************************************************* |
@@ -276,10 +276,10 @@ u32 acpi_ns_local(acpi_object_type type) | |||
276 | /* Type code out of range */ | 276 | /* Type code out of range */ |
277 | 277 | ||
278 | ACPI_REPORT_WARNING(("ns_local: Invalid Object Type\n")); | 278 | ACPI_REPORT_WARNING(("ns_local: Invalid Object Type\n")); |
279 | return_VALUE(ACPI_NS_NORMAL); | 279 | return_UINT32(ACPI_NS_NORMAL); |
280 | } | 280 | } |
281 | 281 | ||
282 | return_VALUE((u32) acpi_gbl_ns_properties[type] & ACPI_NS_LOCAL); | 282 | return_UINT32((u32) acpi_gbl_ns_properties[type] & ACPI_NS_LOCAL); |
283 | } | 283 | } |
284 | 284 | ||
285 | /******************************************************************************* | 285 | /******************************************************************************* |
@@ -805,10 +805,10 @@ u32 acpi_ns_opens_scope(acpi_object_type type) | |||
805 | 805 | ||
806 | ACPI_REPORT_WARNING(("ns_opens_scope: Invalid Object Type %X\n", | 806 | ACPI_REPORT_WARNING(("ns_opens_scope: Invalid Object Type %X\n", |
807 | type)); | 807 | type)); |
808 | return_VALUE(ACPI_NS_NORMAL); | 808 | return_UINT32(ACPI_NS_NORMAL); |
809 | } | 809 | } |
810 | 810 | ||
811 | return_VALUE(((u32) acpi_gbl_ns_properties[type]) & ACPI_NS_NEWSCOPE); | 811 | return_UINT32(((u32) acpi_gbl_ns_properties[type]) & ACPI_NS_NEWSCOPE); |
812 | } | 812 | } |
813 | 813 | ||
814 | /******************************************************************************* | 814 | /******************************************************************************* |