Skip to content
Commit a5f95da9 authored by Arjun Sreedharan's avatar Arjun Sreedharan Committed by Rafael J. Wysocki
Browse files

ACPI / PNP: Replace faulty is_hex_digit() by isxdigit()



0 is ascii for NULL. Hex digit matching should be from '0'.
Faulty version returns true for #,$,%,& etc.

Signed-off-by: default avatarArjun Sreedharan <arjun024@gmail.com>
Acked-by: default avatarRandy Dunlap <rdunlap@infradead.org>
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
parent feb41bb1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment