diff options
author | Mimi Zohar <zohar@linux.vnet.ibm.com> | 2010-11-23 22:50:31 (GMT) |
---|---|---|
committer | James Morris <jmorris@namei.org> | 2010-11-28 21:55:11 (GMT) |
commit | dc88e46029486ed475c71fe1bb696d39511ac8fe (patch) | |
tree | 75f5bbf30480d4126315211ea6fb3af395e5f09c /net/packet | |
parent | ce6ada35bdf710d16582cc4869c26722547e6f11 (diff) | |
download | linux-fsl-qoriq-dc88e46029486ed475c71fe1bb696d39511ac8fe.tar.xz |
lib: hex2bin converts ascii hexadecimal string to binary
Similar to the kgdb_hex2mem() code, hex2bin converts a string
to binary using the hex_to_bin() library call.
Changelog:
- Replace parameter names with src/dst (based on David Howell's comment)
- Add 'const' where needed (based on David Howell's comment)
- Replace int with size_t (based on David Howell's comment)
Signed-off-by: Mimi Zohar <zohar@us.ibm.com>
Acked-by: Serge E. Hallyn <serge@hallyn.com>
Acked-by: David Howells <dhowells@redhat.com>
Signed-off-by: James Morris <jmorris@namei.org>
Diffstat (limited to 'net/packet')
0 files changed, 0 insertions, 0 deletions