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

Shresth Prasad
2024-02-22T08:13:03Z

>Is the declaration of klp_get_state() visible at that >point, i.e. is
>there perhaps any warning about missing >declarations above that?
>
>Otherwise C rules would default to assume an 'int' >return type.

I wasn't aware it works like that. You're right I do see some warnings about implicit function declarations of klp_get_state.

Regards,
Shresth