Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp258313ybl; Thu, 15 Aug 2019 16:51:46 -0700 (PDT) X-Google-Smtp-Source: APXvYqwzfdvBVrWzF1C59/VbyV6f0O7FRiJyZpzFs4QSe44WfWaSHj4OCtaZiQR/VplDwR4BmOoz X-Received: by 2002:a63:de43:: with SMTP id y3mr5453652pgi.211.1565913106492; Thu, 15 Aug 2019 16:51:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565913106; cv=none; d=google.com; s=arc-20160816; b=uni43n1VuB03tuM3IorRSKIepcgxm2H1243W6y4G/F9YamYwgFQ78Ll59x7bMMn7Cl fj0flvxYsBWT/1N3gqq5VgN+5i4h0mHMm0lAeNAXHzJGqWTgOjlCLFqUYu/a9WGRhSJY x6MihFtzqhxzxBb43hVYGMOyJC2oke6/d9qFWRMdjAd0bMoOegNIN5SREaRVNUIML96h E7lOc9crBq+XCe4J/sOnvY+sHzGfzUgXz4pwhAI6vd0IzTzZSIWqlVvt0fGLp3PwyHoz 8uE+Otd1xyEs7IbkVjyyGr/1Ql5YxaasDmfA6KENpsyTNDKMJnipYaRetDTBXqxmC4LV w7SQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:to :from:date; bh=HJp4/PWoXqkjeOR5uaAJjN8Kh5HJSZ1M5Z5jdWuxf7U=; b=SKW8+0fx7+fZq768RlsQaZgxdFdKcNuF5MKb0Jp+ADWhpdVDGfnUm+LHMTfuOx/DaJ XpI3smNUX4CZgurdliYDasatuRmJx6om5LQreRP6ZJFGSRnGylfcGhmUxI4QmZIasaDc HipdnUlXHpUGvBh2BP5t3KtouDne6FLoKK98+9A23eyYiYIPAzCbufMDeL+GwjlsxeiE hnh8+yr+SwUYDrD4wwtIsjvuSVKQUA0WfLOY+Lcw6Xshz1SinaNMbBY6gspMOHfFdEZ1 xKTgEHqOG+chvmrI+x9bHiIiUzD/nhIw6c+W9gR47nQlgvXo1BJnY+QIi+5mlbni8/YS NXiA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-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 f8si2656012pgv.164.2019.08.15.16.51.33; Thu, 15 Aug 2019 16:51:45 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-crypto-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-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729843AbfHOWrp (ORCPT + 99 others); Thu, 15 Aug 2019 18:47:45 -0400 Received: from helcar.hmeau.com ([216.24.177.18]:57370 "EHLO fornost.hmeau.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729325AbfHOWrp (ORCPT ); Thu, 15 Aug 2019 18:47:45 -0400 Received: from gondolin.me.apana.org.au ([192.168.0.6] helo=gondolin.hengli.com.au) by fornost.hmeau.com with esmtps (Exim 4.89 #2 (Debian)) id 1hyOX1-0008T2-Eq; Fri, 16 Aug 2019 08:47:43 +1000 Received: from herbert by gondolin.hengli.com.au with local (Exim 4.80) (envelope-from ) id 1hyOX1-0000qt-8P; Fri, 16 Aug 2019 08:47:43 +1000 Date: Fri, 16 Aug 2019 08:47:43 +1000 From: Herbert Xu To: Zhou Wang , linux-crypto@vger.kernel.org Subject: [v3 PATCH] crypto: hisilicon - Fix warning on printing %p with dma_addr_t Message-ID: <20190815224743.GA3261@gondor.apana.org.au> References: <20190815120313.GA29253@gondor.apana.org.au> <20190815224521.GA3188@gondor.apana.org.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190815224521.GA3188@gondor.apana.org.au> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org This patch fixes a printk format warning by replacing %p with %#llx for dma_addr_t. Signed-off-by: Herbert Xu diff --git a/drivers/crypto/hisilicon/qm.c b/drivers/crypto/hisilicon/qm.c index d72e062..4ad4de4 100644 --- a/drivers/crypto/hisilicon/qm.c +++ b/drivers/crypto/hisilicon/qm.c @@ -347,8 +353,8 @@ static int qm_mb(struct hisi_qm *qm, u8 cmd, dma_addr_t dma_addr, u16 queue, struct qm_mailbox mailbox; int ret = 0; - dev_dbg(&qm->pdev->dev, "QM mailbox request to q%u: %u-%pad\n", queue, - cmd, dma_addr); + dev_dbg(&qm->pdev->dev, "QM mailbox request to q%u: %u-%llx\n", + queue, cmd, (unsigned long long)dma_addr); mailbox.w0 = cmd | (op ? 0x1 << QM_MB_OP_SHIFT : 0) | -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt