From 40c06d6965547ad783cd22a5bd8d1f9e7cf5294b Mon Sep 17 00:00:00 2001 From: Johannes Berg Date: Fri, 13 Oct 2017 10:38:47 +0200 Subject: backports: add hex_byte_pack This was just renamed at some point, needed by bin2hex() in the next patch. Signed-off-by: Johannes Berg --- backport/backport-include/linux/kernel.h | 2 ++ 1 file changed, 2 insertions(+) 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); -- cgit v1.2.3