From patchwork Thu Sep 29 16:46:57 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cyrille Pitchen X-Patchwork-Id: 9356765 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 6AE396077A for ; Thu, 29 Sep 2016 16:48:23 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5B00129B76 for ; Thu, 29 Sep 2016 16:48:23 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4DEAE29BB7; Thu, 29 Sep 2016 16:48:23 +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=-4.2 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id E07D729B76 for ; Thu, 29 Sep 2016 16:48:22 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1bpeTk-0000zp-H8; Thu, 29 Sep 2016 16:46:36 +0000 Received: from smtpout.microchip.com ([198.175.253.82] helo=email.microchip.com) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bpeTg-0000yd-JK for linux-arm-kernel@lists.infradead.org; Thu, 29 Sep 2016 16:46:33 +0000 Received: from tenerife.corp.atmel.com (10.10.76.4) by chn-sv-exch04.mchp-main.com (10.10.76.105) with Microsoft SMTP Server id 14.3.181.6; Thu, 29 Sep 2016 09:46:10 -0700 From: Cyrille Pitchen To: , , , Subject: [PATCH 1/1] crypto: atmel-aes: fix compiler error when VERBOSE_DEBUG is defined Date: Thu, 29 Sep 2016 18:46:57 +0200 Message-ID: <605a4f64ee501aeaffbd43b7b45fd9b3d997bd7b.1475167206.git.cyrille.pitchen@atmel.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 X-Brightmail-Tracker: H4sIAAAAAAAAC+NgFvrPosTGxcLF5cOiG+z6Ntygs23NSyaLwwunMFo8eN/JYjFt+jtmi3uftjFadExZxeTAGsAQxZqZl5RfkcCace7ADpaCo2wVHfcnMTUw7mftYuTiEBJYzyixaXI3YxcjJwebgKHE2wdHWUFsEYEsieO/L7OBFDELTGeUeLD6HTtIQlggQmLT1tlgRSwCqhJ9K6eCxXkF4iV2ta4CGyQhICdx81wnM0RcUOLkzCcsIDazgITEwRcvwOJCAmoSC1tWMEPUB0r8/9nHCmE7SXSdnMgGYdtJHJ5+kR3CdpDYvusLC0zNrs+XoXq1Jba/2gfVqyOx7WA/VI2txJ4ZE5kgbHeJB4+WQ9m+ErMeNkDVREk0PnvINIFRbBaSU2chOXUBI9MqRmlnDz/d4DBd1whnDwMTvdzkjALd3MTMPL3k/NxNjJAIydzBeKzB/xCjJAeTkijv1knnw4X4kvJTKjMSizPii0pzUosPMUpw8CiJ8FouB8rxFhck5hZnpsOkZDg4lCR4I0BSgkWp6akVaZk5JalFEOlTjKocC37cXsskxJKXn5cqJc4bDVIoADIjozQPru4So6iUMG/UUqAcT0FqUW5mCUT8FqMwx0OYZqBzGYBAg/EVozgHo5IwrzvILJ7MvBK4c14BXcoEdOm63adBLi1JREhJNTC61IYumFadqfTg089f4cuaNFV0vPeffT3BWCXod8yDa6xm1v3xjypP93+a6tUwVz6Aq7zynQaP5FabSXqRkw/O7PmamXDNraNAqsK7++IfbtY09+curkV3g2U5Gv9djZpu8bXSJfMqZ7yh2Pzwq/+1XmXpHBVP/hMekKsst8zSUFJ9L5+9sBJLcUaioRZzUXEiAKfc6IcSAwAA X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160929_094632_712424_A88DFCE6 X-CRM114-Status: UNSURE ( 7.85 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Cyrille Pitchen , linux-crypto@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org 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 This patch fixes a compiler error when VERBOSE_DEBUG is defined. Indeed, in atmel_aes_write(), the 3rd argument of atmel_aes_reg_name() was missing. Signed-off-by: Cyrille Pitchen Reported-by: Levent Demir --- drivers/crypto/atmel-aes.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/crypto/atmel-aes.c b/drivers/crypto/atmel-aes.c index e3d40a8dfffb..1d9e7bd3f377 100644 --- a/drivers/crypto/atmel-aes.c +++ b/drivers/crypto/atmel-aes.c @@ -317,7 +317,7 @@ static inline void atmel_aes_write(struct atmel_aes_dev *dd, char tmp[16]; dev_vdbg(dd->dev, "write 0x%08x into %s\n", value, - atmel_aes_reg_name(offset, tmp)); + atmel_aes_reg_name(offset, tmp, sizeof(tmp))); } #endif /* VERBOSE_DEBUG */