[RFC PATCH v1 20/57] crypto: Remove PAGE_SIZE compile-time constant assumption
Herbert Xu
herbert at gondor.apana.org.au
Fri Oct 25 23:54:11 PDT 2024
On Mon, Oct 14, 2024 at 11:58:27AM +0100, Ryan Roberts wrote:
> To prepare for supporting boot-time page size selection, refactor code
> to remove assumptions about PAGE_SIZE being compile-time constant. Code
> intended to be equivalent when compile-time page size is active.
>
> Updated BUILD_BUG_ON() to test against limit.
>
> Signed-off-by: Ryan Roberts <ryan.roberts at arm.com>
> ---
>
> ***NOTE***
> Any confused maintainers may want to read the cover note here for context:
> https://lore.kernel.org/all/20241014105514.3206191-1-ryan.roberts@arm.com/
>
> crypto/lskcipher.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
Acked-by: Herbert Xu <herbert at gondor.apana.org.au>
--
Email: Herbert Xu <herbert at gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
More information about the linux-arm-kernel
mailing list