Re: [PATCH] Fix implicit cast warning in test_klp_state.c

Shresth Prasad
2024-02-20T11:53:57Z

Looking at the function definition now, I do see that the function returns a struct pointer but for me the compiler still complains about an implicit conversion from int to struct pointer.

Is there any particular reason why this might be happening? I couldn't quite figure it out myself as I am very new to working with the kernel.

Regards,
Shresth