lkml.org 
[lkml]   [2023]   [Feb]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH stable v5.15.y 1/1] crypto: add __init/__exit annotations to init/exit funcs
Date
Hi,

> On Feb 14, 2023, at 10:55 PM, Greg KH <gregkh@linuxfoundation.org> wrote:
>
> On Tue, Feb 14, 2023 at 11:53:00AM -0800, Saeed Mirzamohammadi wrote:
>> From: Xiu Jianfeng <xiujianfeng@huawei.com>
>>
>> Add missing __init/__exit annotations to init/exit funcs.
>>
>> Signed-off-by: Xiu Jianfeng <xiujianfeng@huawei.com>
>> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
>> (cherry picked from commit 33837be33367172d66d1f2bd6964cc41448e6e7c)
>> Cc: stable@vger.kernel.org # 5.15+
>> Signed-off-by: Saeed Mirzamohammadi <saeed.mirzamohammadi@oracle.com>
>> ---
>> crypto/async_tx/raid6test.c | 4 ++--
>> crypto/curve25519-generic.c | 4 ++--
>> crypto/dh.c | 4 ++--
>> crypto/ecdh.c | 4 ++--
>> crypto/ecdsa.c | 4 ++--
>> crypto/rsa.c | 4 ++--
>> crypto/sm2.c | 4 ++--
>> 7 files changed, 14 insertions(+), 14 deletions(-)
>
> What bug/problem does this resolve? Why is this needed in stable
> kernels?

I don’t have any specific bug to discuss for this fix. It would help freeing up some memory after initialization for these crypto modules since the init function is only called once but not addressing any major issue. Feel free to disregard if this is trivial for stable.

Thanks,
Saeed
\
 
 \ /
  Last update: 2023-03-27 00:24    [W:0.095 / U:1.672 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site