aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/acpi/acpica/hwvalid.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/acpi/acpica/hwvalid.c b/drivers/acpi/acpica/hwvalid.c
index 0b102e071802..3094cec4eab4 100644
--- a/drivers/acpi/acpica/hwvalid.c
+++ b/drivers/acpi/acpica/hwvalid.c
@@ -135,7 +135,7 @@ acpi_hw_validate_io_request(acpi_io_address address, u32 bit_width)
135 if ((bit_width != 8) && (bit_width != 16) && (bit_width != 32)) { 135 if ((bit_width != 8) && (bit_width != 16) && (bit_width != 32)) {
136 ACPI_ERROR((AE_INFO, 136 ACPI_ERROR((AE_INFO,
137 "Bad BitWidth parameter: %8.8X", bit_width)); 137 "Bad BitWidth parameter: %8.8X", bit_width));
138 return_ACPI_STATUS(AE_BAD_PARAMETER); 138 return (AE_BAD_PARAMETER);
139 } 139 }
140 140
141 port_info = acpi_protected_ports; 141 port_info = acpi_protected_ports;
@@ -153,13 +153,13 @@ acpi_hw_validate_io_request(acpi_io_address address, u32 bit_width)
153 ACPI_ERROR((AE_INFO, 153 ACPI_ERROR((AE_INFO,
154 "Illegal I/O port address/length above 64K: %8.8X%8.8X/0x%X", 154 "Illegal I/O port address/length above 64K: %8.8X%8.8X/0x%X",
155 ACPI_FORMAT_UINT64(address), byte_width)); 155 ACPI_FORMAT_UINT64(address), byte_width));
156 return_ACPI_STATUS(AE_LIMIT); 156 return (AE_LIMIT);
157 } 157 }
158 158
159 /* Exit if requested address is not within the protected port table */ 159 /* Exit if requested address is not within the protected port table */
160 160
161 if (address > acpi_protected_ports[ACPI_PORT_INFO_ENTRIES - 1].end) { 161 if (address > acpi_protected_ports[ACPI_PORT_INFO_ENTRIES - 1].end) {
162 return_ACPI_STATUS(AE_OK); 162 return (AE_OK);
163 } 163 }
164 164
165 /* Check request against the list of protected I/O ports */ 165 /* Check request against the list of protected I/O ports */
@@ -198,7 +198,7 @@ acpi_hw_validate_io_request(acpi_io_address address, u32 bit_width)
198 } 198 }
199 } 199 }
200 200
201 return_ACPI_STATUS(AE_OK); 201 return (AE_OK);
202} 202}
203 203
204/****************************************************************************** 204/******************************************************************************