From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out-183.mta1.migadu.com (out-183.mta1.migadu.com [95.215.58.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1CCAB37C0EC for ; Mon, 6 Jul 2026 15:04:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.215.58.183 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783350270; cv=none; b=Si4VjKJTdx2ROKYj34HcpdjrMlg1OFqlmz2nXTerpzPIRZtXNzwPlFLfcOK50gB2dY3yVSJZELyOZVS9Ce8jw/r2J7MjBzvY6/Wb+XRa0LIxztjPCZvuvbwPy1EhA9kMUMu7NZ6v5laQ5JqMnX4oErnf8TpqrjAzTHC4t8XQYRs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783350270; c=relaxed/simple; bh=a+Olt+ci13rqSPS4SJgJk85PDpEKmzQRJHhJh3LQqZQ=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=R98klHdN+hUouUl+qr5Ez0h9WzwmvXov0L/MDrHPCLfMdI+GZSyjMC0vKOgg5IggKhgKLB/aKMF2HvlrVe7fDM1QrgcToKbNn1Ly5mw/DesgXMlpQK5doeH5TzmshnXNP5gqle10mobhh3Wbxbzc7KYIxGZqhFwK9QTzWpPe8PA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=PDfBzBJV; arc=none smtp.client-ip=95.215.58.183 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="PDfBzBJV" X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1783350266; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=08VdG4udULNeeqwqKevnwBUl3foigbG9+JAc/3kbzIY=; b=PDfBzBJVr/NT3u5/jdEu4k+xyKsN3JEifzbluzANOAwmGRhpwsURnBGwtjtYXL5pLKIQgJ sZHi5IPp4c78HXjyJZxVjHdv4ryJJkE4nzTkK7jsuqN196hgyBHeX8n7NXgIvG8wGRDHDV mpzzVakBDcaBUynM/20/cTu6erhcC2Q= From: Thorsten Blum To: Herbert Xu , "David S. Miller" , Nicolas Ferre , Alexandre Belloni , Claudiu Beznea Cc: Thorsten Blum , linux-crypto@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/4] crypto: atmel-tdes - use __get_free_page in buff_init Date: Mon, 6 Jul 2026 17:04:06 +0200 Message-ID: <20260706150404.382209-6-thorsten.blum@linux.dev> In-Reply-To: <20260706150404.382209-5-thorsten.blum@linux.dev> References: <20260706150404.382209-5-thorsten.blum@linux.dev> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=796; i=thorsten.blum@linux.dev; h=from:subject; bh=a+Olt+ci13rqSPS4SJgJk85PDpEKmzQRJHhJh3LQqZQ=; b=owGbwMvMwCUWt7pQ4caZUj3G02pJDFneh594p5wsixb/vbFsXUWdqv8jbZPLL951/zbVYnL8z MG0pnB7RykLgxgXg6yYIsuDWT9m+JbWVG4yidgJM4eVCWQIAxenAExklzXDH95oz1ldhdXKVUVq vZs/PZgx6/M2NYcw15mKM1w23JofnsnIcEfncG/ZkVdKE5lu1V38vumlWPnvtHIVa/+g+atZ5Zj qOAE= X-Developer-Key: i=thorsten.blum@linux.dev; a=openpgp; fpr=1D60735E8AEF3BE473B69D84733678FD8DFEEAD4 Content-Transfer-Encoding: 8bit X-Migadu-Flow: FLOW_OUT Replace __get_free_pages(..., 0) with __get_free_page(). Signed-off-by: Thorsten Blum --- drivers/crypto/atmel-tdes.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/crypto/atmel-tdes.c b/drivers/crypto/atmel-tdes.c index d9cc4f657481..32f0acae46e3 100644 --- a/drivers/crypto/atmel-tdes.c +++ b/drivers/crypto/atmel-tdes.c @@ -313,8 +313,8 @@ static int atmel_tdes_buff_init(struct atmel_tdes_dev *dd) { int err = -ENOMEM; - dd->buf_in = (void *)__get_free_pages(GFP_KERNEL, 0); - dd->buf_out = (void *)__get_free_pages(GFP_KERNEL, 0); + dd->buf_in = (void *)__get_free_page(GFP_KERNEL); + dd->buf_out = (void *)__get_free_page(GFP_KERNEL); dd->buflen = PAGE_SIZE; dd->buflen &= ~(DES_BLOCK_SIZE - 1);