[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1da6e25f-3f1e-4acc-8256-53fbbdc29e78@gmail.com>
Date: Thu, 22 Feb 2024 13:42:44 +0530 (GMT+05:30)
From: Shresth Prasad <shresthprasad7@...il.com>
To: nstange@...e.de
Cc: jikos@...nel.org, joe.lawrence@...hat.com, jpoimboe@...nel.org,
linux-kernel-mentees@...ts.linuxfoundation.org,
linux-kernel@...r.kernel.org, linux-kselftest@...r.kernel.org,
live-patching@...r.kernel.org, mbenes@...e.cz, mpdesouza@...e.com,
pmladek@...e.com, shresthprasad7@...il.com, shuah@...nel.org,
skhan@...uxfoundation.org, zhangwarden@...il.com
Subject: Re: [PATCH] Fix implicit cast warning in test_klp_state.c
>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
Powered by blists - more mailing lists