diff options
| author | Andre Naujoks <nautsch2@gmail.com> | 2013-09-13 19:37:12 +0200 |
|---|---|---|
| committer | Mister Oyster <oysterized@gmail.com> | 2017-04-11 10:57:15 +0200 |
| commit | c9b5a2213e0dd4b527020b13117bd144fef93018 (patch) | |
| tree | a7faa6d3526b9628dbd4324438943adb95019345 /lib | |
| parent | b0f916ba19475cd51d1bd07932ed4ddf486332c7 (diff) | |
lib: introduce upper case hex ascii helpers
To be able to use the hex ascii functions in case sensitive environments
the array hex_asc_upper[] and the needed functions for hex_byte_pack_upper()
are introduced.
Signed-off-by: Andre Naujoks <nautsch2@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/hexdump.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/hexdump.c b/lib/hexdump.c index 3f0494c9d..8499c8109 100644 --- a/lib/hexdump.c +++ b/lib/hexdump.c @@ -14,6 +14,8 @@ const char hex_asc[] = "0123456789abcdef"; EXPORT_SYMBOL(hex_asc); +const char hex_asc_upper[] = "0123456789ABCDEF"; +EXPORT_SYMBOL(hex_asc_upper); /** * hex_to_bin - convert a hex digit to its real value |
