Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3092050imu; Thu, 29 Nov 2018 15:29:14 -0800 (PST) X-Google-Smtp-Source: AFSGD/Wyrl4rYtfS1CgQ65K4vCOaBcjEPxh2w9ifIP/jxysOSKH4EMgz+SA5xqWWvGFCtUK7mOq1 X-Received: by 2002:a17:902:720c:: with SMTP id ba12mr3429074plb.79.1543534153968; Thu, 29 Nov 2018 15:29:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543534153; cv=none; d=google.com; s=arc-20160816; b=T3s9eW2PY9bOYHVl1/0FT92qEDEDe+7NGFtuRf80Y2NzuaUz7Ju0Ne5vQ+29FRBWLJ u44F911VomuhBDq82tZodYu5D+H/dcO3nhlAMx+uIRjXUKl+6t7vK/ZwvQ/7Ph3/fe2I 0Jgx2cFfuYRgVRx2THLZAfKhhUAUVAOY5aN0QzJYK8ZXoWnZ6iN0OdKcI1iWvxk3cPI2 /ZtBArEQGeSk+iNfmCWaF763UOuwVj95HXHxwTykKg31fIIehOYmzkA6ccV0fHWbNOFP Mryy2k9chddTwhdqHXYcS+U2qhuPImDXx4DKiWXq1rReNRxYFOJjzlu7t0qunrIV7ZSi VNqw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=Zl5fPoC1NuO+flCl7vF84WF/Jg9hKcYZQ8HZLC6wvPA=; b=mryFHxA0POYV4Xpyl2/Pnr+NLKPxJ3fDjaS0uH/q40Bq8wHFDSfcL2rmjUYHmVHhjf h8NVpY3uMwj18b203fnT/5GHTq6Mw1limi4xfw4+Xsw5rJwglODMxnIX6dHbsTNTMpH1 wGWFmb6W9sxG/gbs4S7QAHEZxmQyq0oY9zGFMZsBuL58N4K9lqCssuUxm/1VQkhH1vX9 Dcr2B4aEUk0dIKmQyY4W3qhZBxY7snMa8mLF3DjT0hSPZDUKM2Cj6gqX7EsTo0A1Hlps SVGUze/o+UoSXnGyn+GK1NrzokI86lSak7PEuGXQvnsXWPznqXvFy8R6J5JLYzCGieVS vp4g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=HiuXfD0Q; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n67si3499156pfk.34.2018.11.29.15.28.59; Thu, 29 Nov 2018 15:29:13 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=HiuXfD0Q; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727115AbeK3KeS (ORCPT + 99 others); Fri, 30 Nov 2018 05:34:18 -0500 Received: from mail-yb1-f193.google.com ([209.85.219.193]:42751 "EHLO mail-yb1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726393AbeK3KeR (ORCPT ); Fri, 30 Nov 2018 05:34:17 -0500 Received: by mail-yb1-f193.google.com with SMTP id o204-v6so1484628yba.9 for ; Thu, 29 Nov 2018 15:27:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Zl5fPoC1NuO+flCl7vF84WF/Jg9hKcYZQ8HZLC6wvPA=; b=HiuXfD0Q5KHE/jwMpvTffEyVtbFoHdqJAT6vlyIP66YJczO+M3EuOPZqg8jzHjt4wH oObUIudcrRjP/ogYM+XANu8mRcD4gXkXLM9sYI8rKR5xTWaRLDtm4rAYfGuAtwcoecwc RV7PlZPay0axjDCdGSLUfBHmCYrMO5Nlf1NMU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Zl5fPoC1NuO+flCl7vF84WF/Jg9hKcYZQ8HZLC6wvPA=; b=SDuQdyUAccAK3zfdVL+R9QpgCWzJWR+eHGjWqMIl+Zheq50XjSCpDkop63s3VuU3NJ GuGB9vIIi87QnNRMHE3EiG71se9TU/hiWN6Xa+Xi/bEBSGGr2hOPg8Wd4gDr1i0DkP9d kHLPCB8sKXgrNA0pSMeklIDxJ0mZ9uWEKI/DVnUxH/SFDrtyrGDzRg19c7t4yFV8Lz5v s1OsM/bqWlAGgSqjhHI7mHiJG+50Ms92oYV2QFreAIVZCO9yUXaSD5Otj9aDNM8v2vmh hIn32i1uPOf9jJ3iGB6NatyyuY5etCspJHJTpJ5Wt7nA0eJsA0fsEIar51PZWYQTa766 HCgw== X-Gm-Message-State: AA+aEWb3u0V/ZN6Jldqls5Dujg22/dyz5YmtkM/+AZpiHKaq0+Inauar RtM2pOdu14yb33qmqqVVN3H2kDINwK4= X-Received: by 2002:a5b:587:: with SMTP id l7-v6mr3373638ybp.76.1543534024820; Thu, 29 Nov 2018 15:27:04 -0800 (PST) Received: from mail-yb1-f181.google.com (mail-yb1-f181.google.com. [209.85.219.181]) by smtp.gmail.com with ESMTPSA id w2sm2603854ywl.10.2018.11.29.15.27.03 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 29 Nov 2018 15:27:04 -0800 (PST) Received: by mail-yb1-f181.google.com with SMTP id z2-v6so1495390ybj.2 for ; Thu, 29 Nov 2018 15:27:03 -0800 (PST) X-Received: by 2002:a25:3502:: with SMTP id c2-v6mr3480754yba.410.1543534023393; Thu, 29 Nov 2018 15:27:03 -0800 (PST) MIME-Version: 1.0 References: <1504729681-3504-1-git-send-email-deller@gmx.de> <1504729681-3504-10-git-send-email-deller@gmx.de> In-Reply-To: <1504729681-3504-10-git-send-email-deller@gmx.de> From: Kees Cook Date: Thu, 29 Nov 2018 15:26:51 -0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 09/14] fs/pstore: Use %pS printk format for direct addresses To: Helge Deller Cc: LKML , Sergey Senozhatsky , Petr Mladek , Andrew Morton , Tony Luck Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Sep 6, 2017 at 1:28 PM Helge Deller wrote: > > Use the %pS instead of the %pF printk format specifier for printing symbols > from direct addresses. This is needed for the ia64, ppc64 and parisc64 > architectures. > > Signed-off-by: Helge Deller > Cc: Kees Cook > Cc: Tony Luck I missed this email from some time ago. I've now applied it, thanks! -Kees > --- > 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 fefd226..59f65d7 100644 > --- a/fs/pstore/inode.c > +++ b/fs/pstore/inode.c > @@ -116,7 +116,7 @@ static int pstore_ftrace_seq_show(struct seq_file *s, void *v) > > rec = (struct pstore_ftrace_record *)(ps->record->buf + data->off); > > - seq_printf(s, "CPU:%d ts:%llu %08lx %08lx %pf <- %pF\n", > + seq_printf(s, "CPU:%d ts:%llu %08lx %08lx %ps <- %pS\n", > pstore_ftrace_decode_cpu(rec), > pstore_ftrace_read_timestamp(rec), > rec->ip, rec->parent_ip, (void *)rec->ip, > -- > 2.1.0 > -- Kees Cook