Received: by 2002:ac0:a591:0:0:0:0:0 with SMTP id m17-v6csp1760574imm; Fri, 6 Jul 2018 06:06:50 -0700 (PDT) X-Google-Smtp-Source: AAOMgpeOcVxTHhn9Z+HXMLnigcmpLV/7O9AHiGq9vjOQFdpoJaTQkw2dOMJcdvsBi4Ym/9j2dRzE X-Received: by 2002:a17:902:5857:: with SMTP id f23-v6mr8239441plj.206.1530882410547; Fri, 06 Jul 2018 06:06:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530882410; cv=none; d=google.com; s=arc-20160816; b=U+0iqmjRwx7tF8uaduZ3EOxGWf3pDbGRevJecyWBo6pmf13TwzzggxZeGl3lYL8vLx zjhuF4ZH7suaBcVR77RPDjQ7qcL4vUOOYqlziwLziDIcC5BkDFMh1RyQ5iqOhM7kIEiC 177qIEx+vFfyqfppGcNq17sMssSszGZP6NWUBBgOJYK6RzQVcS7cLcfZUXE92pSgvSje HEt1gRIM28/uGLJIzgx/fOQYQX7JgVaPqZe3Ad8TwwR+ux47jkcpavg7uEfB2rYDrVVT jqpy43DLacMf65f5CpVMQ6wn5MmIMdHOEEXusx5Lq7xRhJ35YX1e2dcShF+qGfzzukDW HnWw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=Tb7st3shVAR02PPI8VyW+WbQUABCRQ96wJt2tDBcs10=; b=AkIPOrLcK/ho8FEUChjdLcbI+ocf1JB3UdLo0JfFGgWQQr+1l3L4Sj/nxplA61fqXi mNXWosJsTTEpIlHIzYNFgI2nHx8DR9O9TxXOjma2XCqFQXuHSqbO1BU8Ogef61fKuuYv yNHixbD5mJsi3gaFsPaQ03vJtoy3eXZqWxVQIFLRMabKOkRhv+8KprpFdjux+JXcwb3F +rmR5BCLRL12isx4XEJnMYFgB4IOfsy8J+a2aPDcVnnRniscG4QILRHEGm+uzDrTY+QZ xBsphsV0l52adYy5tbFAqnNishFNvNwCDGp4MaJD5j+zfTuze0fW55YqnFC4diQ9LVqT SIYw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=D2BCnL+M; 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=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 21-v6si6107595pgl.62.2018.07.06.06.06.35; Fri, 06 Jul 2018 06:06:50 -0700 (PDT) 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=@linaro.org header.s=google header.b=D2BCnL+M; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933105AbeGFNEE (ORCPT + 99 others); Fri, 6 Jul 2018 09:04:04 -0400 Received: from mail-wm0-f66.google.com ([74.125.82.66]:56137 "EHLO mail-wm0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932379AbeGFNEC (ORCPT ); Fri, 6 Jul 2018 09:04:02 -0400 Received: by mail-wm0-f66.google.com with SMTP id v16-v6so14849463wmv.5 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=VoZEHIhBjerBclNWdXpr8z1VLCGb6Kakfz6bTxUkKHRdwN2PmwauYppxRpioU36GFh 8kUDkZ+NK/7EcWzqkOmjTWTjYfq1hQ7pSUa8lC6aBFV+xqzxCJ0IcNWQedgx46ELEvp1 GLSsrx0vAmlYhis2CmtCr7ov56UF5ol16lDtFi0vXcemfBFCIzX62FEJCTqRBPVbTIzf EPVrlBUcViQsE1agO/0k67HXIUol3+gyU36/4K/qNbcgtJ2ssxKEgw8RZ4YmxZgcK3Kn N7IheKiypzAzx2huvYZ6N96XfpIRmmEWZGkajONfQ8E65FoO/mce7s5UdbwWTsMIeG6J pD4g== X-Gm-Message-State: APt69E23Ia1x4RET5oC/soNmY1OJB2UEHKnXw1Z9HlaFG1oKFFIMPqON zBeMt5BGFdKwy4//MKuHh22apg== 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 Cc: linux-media@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Benjamin Gaignard 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 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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; } -- 2.15.0