From patchwork Mon Apr 23 07:25:15 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gilad Ben-Yossef X-Patchwork-Id: 133970 Delivered-To: patch@linaro.org Received: by 10.46.151.6 with SMTP id r6csp678583lji; Mon, 23 Apr 2018 00:25:52 -0700 (PDT) X-Google-Smtp-Source: AIpwx48HhRQBz9ReIJcNjKsvdleBFw1ftzk+e3wyJ0e1bxVFukxTixTHMLjMbpK/9kTBZ/ad6J/a X-Received: by 2002:a17:902:6a10:: with SMTP id m16-v6mr19508117plk.370.1524468352094; Mon, 23 Apr 2018 00:25:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524468352; cv=none; d=google.com; s=arc-20160816; b=YA/lWU49JsAfJdgsUu7wJ02LyxwGk2DzwoYAPEcl4WXmAW9eAjKyD+BbCEtOHO5MnG gK/R6rII43TYazUPhYUjg6ZIvfbCPxV16A2ohpCRyOBF9ojUsDQkLOlzkVIUDcneILX/ LtmMkEkuiOkzrpc/3cYO12+kZm2+w+iNqrINuvTxc2XYylyW4QQtzI3ILGbn3LYXYn5Z 2ejrSZSNkSLD/4ihR59R+Mhq25RI25MvyWpArd9UxzdyKp7MyIrkN6SWoW4W6ARwESkx 4xNmaFFUfImm0fbfgCCPbVFj9wmRweNzWJTt8bUfpckRHFaMm19EV5oIILFujcUTn2mB 2edg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=Mq834meggp1i51PPMKHY79nFXutkCSg8IPsozTF5MIE=; b=wSH4OhzSYlCAa9S9pzVjV5XhKeQNlGWHn44GAzNtwdP+9zjiMqqocpOhSa7B6nMSeQ ZEgz9oupFq/T7Zo13Rv563DZGBA/8QTayrN04EjSkki1jRabq3nQD5RmZ82+pN7OpmNQ 5UN1zIRKvH6/nyyvkelMneBYcrYE/rcWxAgpnBdoF13zWPr0o697403ijRw+Zw5JOZWd 2ZA0njqk2A3AGDv7Ic5b/dh7pI0ugeb5cbptWPmWsTvooCvH93kiCz/mgm5GQnoou4WP Be+1i4L5nEXk7cgEzJD/ap712A7sGQO6yOAa0Yt6G5aZU/m9rbs2WcVuZjQ7trcbUGLS pitw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y75si10940153pfk.34.2018.04.23.00.25.51; Mon, 23 Apr 2018 00:25:52 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754508AbeDWHZt (ORCPT + 29 others); Mon, 23 Apr 2018 03:25:49 -0400 Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70]:36380 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754493AbeDWHZf (ORCPT ); Mon, 23 Apr 2018 03:25:35 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 018081529; Mon, 23 Apr 2018 00:25:35 -0700 (PDT) Received: from sugar.kfn.arm.com (unknown [10.45.48.152]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 77BFB3F590; Mon, 23 Apr 2018 00:25:33 -0700 (PDT) From: Gilad Ben-Yossef To: Herbert Xu , "David S. Miller" Cc: Ofir Drang , linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 2/2] crypto: ccree: use proper printk format Date: Mon, 23 Apr 2018 08:25:15 +0100 Message-Id: <1524468316-6606-3-git-send-email-gilad@benyossef.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1524468316-6606-1-git-send-email-gilad@benyossef.com> References: <1524468316-6606-1-git-send-email-gilad@benyossef.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fix incorrect use of %pad as a printk format string for none dma_addr_t variable. Discovered via smatch. Signed-off-by: Gilad Ben-Yossef --- drivers/crypto/ccree/cc_driver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.7.4 diff --git a/drivers/crypto/ccree/cc_driver.c b/drivers/crypto/ccree/cc_driver.c index 89ce013..37f2e6e 100644 --- a/drivers/crypto/ccree/cc_driver.c +++ b/drivers/crypto/ccree/cc_driver.c @@ -265,7 +265,7 @@ static int init_cc_resources(struct platform_device *plat_dev) } if (rc) { - dev_err(dev, "Failed in dma_set_mask, mask=%pad\n", &dma_mask); + dev_err(dev, "Failed in dma_set_mask, mask=%llx\n", dma_mask); return rc; }