Re: [PATCH 09/11] nvmet: Implement basic In-Band Authentication
From: Herbert Xu <herbert@gondor.apana.org.au>
Date: 2021-07-18 13:27:31
Also in:
linux-nvme
From: Herbert Xu <herbert@gondor.apana.org.au>
Date: 2021-07-18 13:27:31
Also in:
linux-nvme
On Sun, Jul 18, 2021 at 02:37:34PM +0200, Hannes Reinecke wrote:
quoted
quoted
+ response = kmalloc(data->hl, GFP_KERNEL);Again, align to CRYPTO_MINALIGN_ATTR?Ah, _that_ alignment. Wasn't aware that I need to align to anything. But if that's required, sure, I'll be fixing it.
Memory returned by kmalloc is guaranteed to be aligned to CRYPTO_MINALIGN_ATTR, in fact that's the whole point of that attribute. Cheers, -- Email: Herbert Xu [off-list ref] Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt