backports: add hex_byte_pack
authorJohannes Berg <johannes.berg@intel.com>
Fri, 13 Oct 2017 08:38:47 +0000 (10:38 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 13 Oct 2017 08:57:50 +0000 (10:57 +0200)
This was just renamed at some point, needed by bin2hex()
in the next patch.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
backport/backport-include/linux/kernel.h

index ea55d7d3b1435b37703d5bb88cf84408aadd6bcd..0e9a69f9bcd27af8b58f472726973268fbb5211c 100644 (file)
 #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);