Message ID | 20180706130808.22466-1-benjamin.gaignard@st.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 232696024A for <patchwork-linux-arm@patchwork.kernel.org>; Fri, 6 Jul 2018 13:08:32 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 12AEB25EF7 for <patchwork-linux-arm@patchwork.kernel.org>; Fri, 6 Jul 2018 13:08:32 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 051052838F; Fri, 6 Jul 2018 13:08:32 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id AFFFB25EF7 for <patchwork-linux-arm@patchwork.kernel.org>; Fri, 6 Jul 2018 13:08:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=RMe98/68l4Zy2JO6zVjiOXS8PMi4Q7KGjCzpc1jtkXg=; b=hEx +5w9VQgUH8pIqWyj4zYN5SRb2z0hiIJo9AuhKDWYd612aBERqwa+ehY/Vf+zsG9zQPSd4BiMW82pr NBhJ/SZRC1hhwSL2NOZdVgEvdozCTwTbv6+tSsQjwvl5rWLwvRVksKsecq797yrxveWbsdn/w45zj Jg8V2PD+JEUrm33M9TBYl1cUdM+D+ClX6twt1GRYBxl0I5ftTpnDWK/yWtHFJ2ZQOwkEWvQzwPPo9 XgcEtiXolVOFw0N8tTT85z04cL4qlBLV+2GiwKiiGRv7GlGe9JXzANi2X64vFpX+NBHVwHQozYvXa JL2lRpOSqul5wc3oRtv0rjjKJtcLfUg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fbQTL-0008LL-57; Fri, 06 Jul 2018 13:08:27 +0000 Received: from mail-wm0-x241.google.com ([2a00:1450:400c:c09::241]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fbQTH-0008KL-SD for linux-arm-kernel@lists.infradead.org; Fri, 06 Jul 2018 13:08:25 +0000 Received: by mail-wm0-x241.google.com with SMTP id i139-v6so14766445wmf.4 for <linux-arm-kernel@lists.infradead.org>; Fri, 06 Jul 2018 06:08:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=Ftq1080aXc/JhiteENcbMRqIZL2weLRpnJHeOh+TPpo=; b=f5ooQJadafYSWjE6Fl3I2XvZB/H2WuZPFJMgvw7abXRrFNcxH4TK9CJmR/jg/YYigU Q8Na+zHl0fVER680wafm2bZbW/VEOepqNO1Gv7zoVIhKVDipHY9PbCcmQHs2llXRDivJ AUlVFMoCX2qZ5c2onW2OxjIdYW7tdvPgGCzns= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=Ftq1080aXc/JhiteENcbMRqIZL2weLRpnJHeOh+TPpo=; b=Wh9Uywinm0b/a/3SzBxvvEZdEW1Hj/+XvuCynRngZI4GD8e/I7/qd03mscJqwDjzY7 D91pK/51RMqFMblHuBh9ZlQJEfE4xmNJxXyqJ/W17DTW7OLBnyr4uYmdKGm0tZ/bWMBB qfJP7U3folVwQWnTtrmN9eTeBnQwzWEurOClINCRSYffDVX3zrmK+3Q2CCsvIyWPOqsi yInq38oS3gF0mipPjDTF6RMDBMVarDRXMTZT8jEFnWlwuGkbxiLYXWbkAqUOSMPD+8L1 ZcI1CU8nzOFsdu/f7l+EV9Z1BdotOnX3dw7BqRoHZOcLoyqtFRuugXjfiLz2J0vdkHx+ pUSA== X-Gm-Message-State: APt69E1Ns6HSA09WDzN1sqItNU7IcHeY9wwPBfv+zC+cYt3n7hw9u8b4 SbGfZjaXalxjVogC6yEQfpMx9w== X-Google-Smtp-Source: AAOMgpfgVHPDRGuy19PyrLaibJAgfk2A+YXVBXcVermlk3qhxcwubwcUX+6rezyRn6Xwb9xup2G62g== X-Received: by 2002:a1c:d812:: with SMTP id p18-v6mr6910776wmg.92.1530882492535; Fri, 06 Jul 2018 06:08:12 -0700 (PDT) Received: from lmecxl0911.lme.st.com ([80.214.65.221]) by smtp.gmail.com with ESMTPSA id l17-v6sm14266704wrh.45.2018.07.06.06.08.11 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 06 Jul 2018 06:08:12 -0700 (PDT) From: Benjamin Gaignard <benjamin.gaignard@linaro.org> X-Google-Original-From: Benjamin Gaignard <benjamin.gaignard@st.com> To: wim@linux-watchdog.org, linux@roeck-us.net, mcoquelin.stm32@gmail.com, alexandre.torgue@st.com Subject: [PATCH] watchdog: stm32: replace "%p" with "%pK" Date: Fri, 6 Jul 2018 15:08:08 +0200 Message-Id: <20180706130808.22466-1-benjamin.gaignard@st.com> X-Mailer: git-send-email 2.15.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180706_060823_908103_F8BE9EB0 X-CRM114-Status: GOOD ( 12.39 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Cc: Benjamin Gaignard <benjamin.gaignard@st.com>, linux-watchdog@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/drivers/watchdog/stm32_iwdg.c b/drivers/watchdog/stm32_iwdg.c index c97ad5619cb0..740f74a98644 100644 --- a/drivers/watchdog/stm32_iwdg.c +++ b/drivers/watchdog/stm32_iwdg.c @@ -172,7 +172,7 @@ static int stm32_iwdg_probe(struct platform_device *pdev) ret = clk_prepare_enable(clk); if (ret) { - dev_err(&pdev->dev, "Unable to prepare clock %p\n", clk); + dev_err(&pdev->dev, "Unable to prepare clock %pK\n", clk); return ret; }
The format specifier "%p" can leak kernel addresses. Use "%pK" instead. Signed-off-by: Benjamin Gaignard <benjamin.gaignard@st.com> --- drivers/watchdog/stm32_iwdg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)