]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - include/linux/kernel.h
lib: add error checking to hex2bin
[mirror_ubuntu-artful-kernel.git] / include / linux / kernel.h
index 46ac9a50528d5b6ca03e30d1fd55a01a486fcbea..8eefcf7e95eb18cabef6066498a7f9ca55cf521f 100644 (file)
@@ -382,7 +382,7 @@ static inline char *pack_hex_byte(char *buf, u8 byte)
 }
 
 extern int hex_to_bin(char ch);
-extern void hex2bin(u8 *dst, const char *src, size_t count);
+extern int __must_check hex2bin(u8 *dst, const char *src, size_t count);
 
 /*
  * General tracing related utility functions - trace_printk(),