Re: [PATCH] integrity/ima: Add declarations to init_once void arguments.

2021-04-06 Thread Mimi Zohar
Hi Jiele, On Tue, 2021-03-23 at 01:33 +, Jiele Zhao wrote: > init_once is a callback to kmem_cache_create. The parameter > type of this function is void *, so it's better to give a > explicit cast here. > > Signed-off-by: Jiele Zhao Please remove the "ima" in the Subject line and re-post Cc

Re: [PATCH] integrity/ima: Add declarations to init_once void arguments.

2021-04-05 Thread Jiele Zhao
Hi Mimi, Please see if this is a useful suggestion. On 2021/4/6 10:38, James Morris wrote: On Tue, 6 Apr 2021, Jiele Zhao wrote: Ping. Mimi Zohar is the maintainer for this code. On 2021/3/23 9:33, Jiele Zhao wrote: init_once is a callback to kmem_cache_create. The parameter type of this

Re: [PATCH] integrity/ima: Add declarations to init_once void arguments.

2021-04-05 Thread James Morris
On Tue, 6 Apr 2021, Jiele Zhao wrote: > Ping. Mimi Zohar is the maintainer for this code. > > On 2021/3/23 9:33, Jiele Zhao wrote: > > init_once is a callback to kmem_cache_create. The parameter > > type of this function is void *, so it's better to give a > > explicit cast here. > > > > Signed

Re: [PATCH] integrity/ima: Add declarations to init_once void arguments.

2021-04-05 Thread Jiele Zhao
Ping. On 2021/3/23 9:33, Jiele Zhao wrote: init_once is a callback to kmem_cache_create. The parameter type of this function is void *, so it's better to give a explicit cast here. Signed-off-by: Jiele Zhao --- security/integrity/iint.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

Re: [PATCH] integrity/ima: Add declarations to init_once void arguments.

2021-03-29 Thread Jiele Zhao
Ping. On 2021/3/23 9:33, Jiele Zhao wrote: init_once is a callback to kmem_cache_create. The parameter type of this function is void *, so it's better to give a explicit cast here. Signed-off-by: Jiele Zhao --- security/integrity/iint.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[PATCH] integrity/ima: Add declarations to init_once void arguments.

2021-03-22 Thread Jiele Zhao
init_once is a callback to kmem_cache_create. The parameter type of this function is void *, so it's better to give a explicit cast here. Signed-off-by: Jiele Zhao --- security/integrity/iint.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/security/integrity/iint.c b/securi