diff options
author | Vincent Bernat <vincent@bernat.im> | 2014-07-15 15:43:47 +0400 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2014-12-29 07:45:43 +0300 |
commit | 05b981f493e07856371ecd4a9294f187f5b50cf6 (patch) | |
tree | 0619f47359e1ecc71bf4c587bdec9b8b9c0db0c9 /arch/powerpc/xmon/ppc.h | |
parent | e3a8446a6a1bff8c2345cacd4f3b8bdea0ba36d8 (diff) | |
download | linux-05b981f493e07856371ecd4a9294f187f5b50cf6.tar.xz |
powerpc/xmon: use isspace/isxdigit/isalnum from linux/ctype.h
isxdigit() macro definition is the same.
isalnum() from linux/ctype.h will accept additional latin non-ASCII
characters. This is harmless since this macro is used in scanhex() which
parses user input.
isspace() from linux/ctype.h will accept vertical tab and form feed but
not NULL. The use of this macro is modified to accept NULL as
well. Additional characters are harmless since this macro is also only
used in scanhex().
Signed-off-by: Vincent Bernat <vincent@bernat.im>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/xmon/ppc.h')
0 files changed, 0 insertions, 0 deletions