On 2020/12/7 15:47, Herbert Xu Wrote: > On Mon, Dec 07, 2020 at 03:46:28PM +0800, liulongfang wrote: >> >> I need to use "__packed __aligned(n)" to make sure the structure length is >> normal. >> Is it possible to use "__packed __aligned(n)" in the kernel? > > I don't see why not. > > Cheers, > Well, I will modify it in this way in the next patchset. Thanks, Longfang.
- [PATCH 0/5] crypto: hisilicon - add some new algorithms Longfang Liu
- [PATCH 1/5] crypto: hisilicon/hpre - add version adapt t... Longfang Liu
- [PATCH 5/5] crypto: hisilicon/sec - fixes some coding st... Longfang Liu
- [PATCH 2/5] crypto: hisilicon/sec - add new type of sqe ... Longfang Liu
- Re: [PATCH 2/5] crypto: hisilicon/sec - add new type... Herbert Xu
- Re: [PATCH 2/5] crypto: hisilicon/sec - add new ... liulongfang
- Re: [PATCH 2/5] crypto: hisilicon/sec - add new ... liulongfang
- Re: [PATCH 2/5] crypto: hisilicon/sec - add ... Herbert Xu
- Re: [PATCH 2/5] crypto: hisilicon/sec -... liulongfang
- Re: [PATCH 2/5] crypto: hisilicon/s... Herbert Xu
- Re: [PATCH 2/5] crypto: hisilic... liulongfang
- [PATCH 4/5] crypto: hisilicon/sec - add new AEAD mode fo... Longfang Liu
- [PATCH 3/5] crypto: hisilicon/sec - add new skcipher mod... Longfang Liu
- Re: [PATCH 0/5] crypto: hisilicon - add some new algorit... Herbert Xu