From patchwork Fri Jul 6 13:03:55 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Benjamin Gaignard X-Patchwork-Id: 10511667 Return-Path: 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 340666024A for ; Fri, 6 Jul 2018 13:04:22 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 24D04285EC for ; Fri, 6 Jul 2018 13:04:22 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 188A42866C; Fri, 6 Jul 2018 13:04:22 +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 D4C57285EC for ; Fri, 6 Jul 2018 13:04:20 +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=56K/rayWJVbikSu1ZlXPCEaszfaVeFRv4MgOEOW59P8=; b=eA8 LqlVE5DZ1MJCddXr43jEV/bKzKPBGrM6sAVlvrvpRKY6WTcjhlLcaCdb+Uar1lOMDWZWQ4QFkbqKV diSbitt1wR4KW0BT0P6N/42LV59gfjrzYCYzComwoR5bGHbVxCsBjbphKH/EvF07oa8pRs82hIJwC 1jw/lQ/K+u2Xr4aDRqLJFTHx8YuO3ZRRfyCQnx02AGFT8Pgt2sqi8fcG6MjjmD09YixfapHHold0M bfFdEAGmOqzi2l/lIVq/VMtiQjDPtgP5uF1RQmH/Y1blBemsao0UrXkL0kGiGcFk0IJc+FrJxG5c3 Fg24ioJU2yckH7gjlG+7V2DDTn/vvYQ==; 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 1fbQPI-0005Eh-OO; Fri, 06 Jul 2018 13:04:16 +0000 Received: from mail-wm0-x242.google.com ([2a00:1450:400c:c09::242]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fbQPF-0005D3-8X for linux-arm-kernel@lists.infradead.org; Fri, 06 Jul 2018 13:04:14 +0000 Received: by mail-wm0-x242.google.com with SMTP id w16-v6so14766083wmc.2 for ; Fri, 06 Jul 2018 06:04:02 -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=Tb7st3shVAR02PPI8VyW+WbQUABCRQ96wJt2tDBcs10=; b=D2BCnL+Mrc+KgJj//9YPtLr9bh+gYxTmTmmx9Arxb202g+OLQ/q4hHnYK6R5b79bHP 19KLkzH4Nce/PE78UKGDajanZmFzQvhxeiJxXLr+p/JKPDc5dqR4zc5rCZ0WRE8IQFGn buXAJDismfW48pTy+tozPJrAOXAOibeH4p+zY= 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=Tb7st3shVAR02PPI8VyW+WbQUABCRQ96wJt2tDBcs10=; b=smgmM2REeqpthdmwA9aVlXPVqy/uycqeEF9Jt7cCiYpOHLtGCSMC0u3k3aQf7c8izS rYDbT3JBI0CXPzCz9xVenipKnQ6fTQ4a09VShnllIpIhPd2gdck7OeyiCse0Kpzx+7Nh VfW+peCxjsRlivDsNFCaLHkF3hlr2iiNphznvEmGebMYCVZIwf1zd+5Yg+lAbQXbgL18 g5suSWxOKg3TPXjwGNWHrfUPyg+kLqIKAcurpQG+bMSSWJDG6bKG1kP4Q3MBnafcgNK2 czBmD4EiFZPfsz6EGBnObqKivI+4rvQBWM7DZ6PX3UWtFqvLO3jitsMEwZzYuEAmKrih eokg== X-Gm-Message-State: APt69E1Y8IUrCwEHuMjCzRyOiob5e/haZ+MGrGe1h2b7sRZxZLmNBVgl r/zi9LFseU8Fe0zNTpCQ8/Sing== X-Google-Smtp-Source: AAOMgpc7B1ODgndxltMrhFsksPumiltl6beIJJNJgxNi9POYMDZcmYgiX3gGm/C0L3EbhHgvxq+F4w== X-Received: by 2002:a1c:be10:: with SMTP id o16-v6mr6095374wmf.132.1530882241629; Fri, 06 Jul 2018 06:04:01 -0700 (PDT) Received: from lmecxl0911.lme.st.com ([80.214.65.221]) by smtp.gmail.com with ESMTPSA id h102-v6sm13219199wrh.60.2018.07.06.06.03.59 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 06 Jul 2018 06:04:01 -0700 (PDT) From: Benjamin Gaignard X-Google-Original-From: Benjamin Gaignard To: mchehab@kernel.org, mcoquelin.stm32@gmail.com, alexandre.torgue@st.com, hans.verkuil@cisco.com, hugues.fruchet@st.com Subject: [PATCH] media: stm32: dcmi: replace "%p" with "%pK" Date: Fri, 6 Jul 2018 15:03:55 +0200 Message-Id: <20180706130355.22100-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_060413_301729_BF336B7E X-CRM114-Status: GOOD ( 11.88 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Benjamin Gaignard , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-media@vger.kernel.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP The format specifier "%p" can leak kernel addresses. Use "%pK" instead. Signed-off-by: Benjamin Gaignard --- drivers/media/platform/stm32/stm32-dcmi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/platform/stm32/stm32-dcmi.c b/drivers/media/platform/stm32/stm32-dcmi.c index 2e1933d872ee..fe90672cf16f 100644 --- a/drivers/media/platform/stm32/stm32-dcmi.c +++ b/drivers/media/platform/stm32/stm32-dcmi.c @@ -1753,7 +1753,7 @@ static int dcmi_probe(struct platform_device *pdev) ret = clk_prepare(mclk); if (ret) { - dev_err(&pdev->dev, "Unable to prepare mclk %p\n", mclk); + dev_err(&pdev->dev, "Unable to prepare mclk %pK\n", mclk); goto err_dma_release; }