diff options
author | Andre Naujoks <nautsch2@gmail.com> | 2013-09-13 13:37:12 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-09-20 15:38:26 -0400 |
commit | c26d436cbf7a9549ec1073480a2e3f0d3f64e02d (patch) | |
tree | 6ba037fbde3d391864208ce94e2b61dc536bab10 /lib | |
parent | cc9fa74e2a195f7bab27fbbc4896d2fe3ec32150 (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 3f0494c9d57a..8499c810909a 100644 --- a/lib/hexdump.c +++ b/lib/hexdump.c | |||
@@ -14,6 +14,8 @@ | |||
14 | 14 | ||
15 | const char hex_asc[] = "0123456789abcdef"; | 15 | const char hex_asc[] = "0123456789abcdef"; |
16 | EXPORT_SYMBOL(hex_asc); | 16 | EXPORT_SYMBOL(hex_asc); |
17 | const char hex_asc_upper[] = "0123456789ABCDEF"; | ||
18 | EXPORT_SYMBOL(hex_asc_upper); | ||
17 | 19 | ||
18 | /** | 20 | /** |
19 | * hex_to_bin - convert a hex digit to its real value | 21 | * hex_to_bin - convert a hex digit to its real value |