]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - security/keys/trusted.c
Merge branch 'irq-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[karo-tx-linux.git] / security / keys / trusted.c
index 0964fc236946c0ec310c63bd9b3159583835df34..0ed5fdf238a22c6712e5375207f5bd6d8a168ef6 100644 (file)
@@ -1098,7 +1098,7 @@ static long trusted_read(const struct key *key, char __user *buffer,
 
        bufp = ascii_buf;
        for (i = 0; i < p->blob_len; i++)
-               bufp = pack_hex_byte(bufp, p->blob[i]);
+               bufp = hex_byte_pack(bufp, p->blob[i]);
        if ((copy_to_user(buffer, ascii_buf, 2 * p->blob_len)) != 0) {
                kfree(ascii_buf);
                return -EFAULT;