From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from smtp.megiteam.pl ([31.186.83.105]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fwnko-0007sD-KT for barebox@lists.infradead.org; Mon, 03 Sep 2018 12:14:52 +0000 From: Marcin Niestroj Date: Mon, 3 Sep 2018 13:44:43 +0200 Message-Id: <20180903114452.4611-19-m.niestroj@grinn-global.com> In-Reply-To: <20180903114452.4611-1-m.niestroj@grinn-global.com> References: <20180903112408.2086-1-m.niestroj@grinn-global.com> <20180903114452.4611-1-m.niestroj@grinn-global.com> MIME-Version: 1.0 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: [PATCH 09/18] crypto: caam - constify pointer to descriptor buffer To: barebox@lists.infradead.org Cc: Marcin Niestroj UGljayBjb21taXQgMjRhNGYxNGYwYTkzZjZmZmY3ZTZhZGU1ZDk5YjQwMmM4MzFiYmQ5NiBmcm9t IExpbnV4CnVwc3RyZWFtLgoKICAgIGNyeXB0bzogY2FhbSAtIGNvbnN0aWZ5IHBvaW50ZXIgdG8g ZGVzY3JpcHRvciBidWZmZXIKCiAgICBUaGUgcG9pbnRlciB0byB0aGUgZGVzY3JpcHRvciBidWZm ZXIgaXMgbm90IHRvdWNoZWQsCiAgICBpdCBhbHdheXMgcG9pbnRzIHRvIHN0YXJ0IG9mIHRoZSBk ZXNjcmlwdG9yIGJ1ZmZlci4KICAgIFRodXMsIG1ha2UgaXQgY29uc3QuCgogICAgU2lnbmVkLW9m Zi1ieTogSG9yaWEgR2VhbnTEgyA8aG9yaWEuZ2VhbnRhQG54cC5jb20+CiAgICBTaWduZWQtb2Zm LWJ5OiBIZXJiZXJ0IFh1IDxoZXJiZXJ0QGdvbmRvci5hcGFuYS5vcmcuYXU+CgpTaWduZWQ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