lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Wed, 11 Mar 2015 22:13:55 -0500 From: Scott Wood <scottwood@...escale.com> To: <trivial@...nel.org>, <linux-kernel@...r.kernel.org> CC: Scott Wood <scottwood@...escale.com>, Anton Vorontsov <anton@...msg.org>, Colin Cross <ccross@...roid.com>, Kees Cook <keescook@...omium.org>, "Tony Luck" <tony.luck@...el.com> Subject: [PATCH 20/22] pstore: %pF is only for function pointers Use %pS for actual addresses, otherwise you'll get bad output on arches like ppc64 where %pF expects a function descriptor. Signed-off-by: Scott Wood <scottwood@...escale.com> Cc: Anton Vorontsov <anton@...msg.org> Cc: Colin Cross <ccross@...roid.com> Cc: Kees Cook <keescook@...omium.org> Cc: Tony Luck <tony.luck@...el.com> --- fs/pstore/inode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/pstore/inode.c b/fs/pstore/inode.c index b32ce53..f8a5bfe 100644 --- a/fs/pstore/inode.c +++ b/fs/pstore/inode.c @@ -107,7 +107,7 @@ static int pstore_ftrace_seq_show(struct seq_file *s, void *v) struct pstore_ftrace_seq_data *data = v; struct pstore_ftrace_record *rec = (void *)(ps->data + data->off); - seq_printf(s, "%d %08lx %08lx %pf <- %pF\n", + seq_printf(s, "%d %08lx %08lx %ps <- %pS\n", pstore_ftrace_decode_cpu(rec), rec->ip, rec->parent_ip, (void *)rec->ip, (void *)rec->parent_ip); -- 2.1.0 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists