diff options
Diffstat (limited to 'drivers/acpi/acpica/evgpeinit.c')
-rw-r--r-- | drivers/acpi/acpica/evgpeinit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/acpica/evgpeinit.c b/drivers/acpi/acpica/evgpeinit.c index 8840296d5b20..ea4c0d3fca2d 100644 --- a/drivers/acpi/acpica/evgpeinit.c +++ b/drivers/acpi/acpica/evgpeinit.c | |||
@@ -377,7 +377,7 @@ acpi_ev_match_gpe_method(acpi_handle obj_handle, | |||
377 | 377 | ||
378 | /* 4) The last two characters of the name are the hex GPE Number */ | 378 | /* 4) The last two characters of the name are the hex GPE Number */ |
379 | 379 | ||
380 | gpe_number = ACPI_STRTOUL(&name[2], NULL, 16); | 380 | gpe_number = strtoul(&name[2], NULL, 16); |
381 | if (gpe_number == ACPI_UINT32_MAX) { | 381 | if (gpe_number == ACPI_UINT32_MAX) { |
382 | 382 | ||
383 | /* Conversion failed; invalid method, just ignore it */ | 383 | /* Conversion failed; invalid method, just ignore it */ |