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: 9356761 X-Patchwork-Delegate: herbert@gondor.apana.org.au 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 6C9D86077A for ; Thu, 29 Sep 2016 16:46:15 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5B48F29B76 for ; Thu, 29 Sep 2016 16:46:15 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4B76729BB7; Thu, 29 Sep 2016 16:46:15 +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=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 762E529B76 for ; Thu, 29 Sep 2016 16:46:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932897AbcI2QqN (ORCPT ); Thu, 29 Sep 2016 12:46:13 -0400 Received: from smtpout.microchip.com ([198.175.253.82]:42087 "EHLO email.microchip.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S932469AbcI2QqM (ORCPT ); Thu, 29 Sep 2016 12:46:12 -0400 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: , , , CC: , , , Cyrille Pitchen 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 Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.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 */