summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2017-10-13 10:38:47 +0200
committerJohannes Berg <johannes.berg@intel.com>2017-10-13 10:57:50 +0200
commit40c06d6965547ad783cd22a5bd8d1f9e7cf5294b (patch)
tree1817054c3133cdbd79ce334d32db6e680a655c8d
parentde1f448fda84cb89a1b1eb9d98ad662331a693c4 (diff)
backports: add hex_byte_pack
This was just renamed at some point, needed by bin2hex() in the next patch. Signed-off-by: Johannes Berg <johannes.berg@intel.com>
-rw-r--r--backport/backport-include/linux/kernel.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/backport/backport-include/linux/kernel.h b/backport/backport-include/linux/kernel.h
index ea55d7d3..0e9a69f9 100644
--- a/backport/backport-include/linux/kernel.h
+++ b/backport/backport-include/linux/kernel.h
@@ -159,6 +159,8 @@
#endif /* rounddown */
#if LINUX_VERSION_IS_LESS(3,2,0)
+#define hex_byte_pack pack_hex_byte
+
/* kernels before 3.2 didn't have error checking for the function */
#define hex2bin LINUX_BACKPORT(hex2bin)
int __must_check hex2bin(u8 *dst, const char *src, size_t count);