[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240220120024.28694-1-mpdesouza@suse.com>
Date: Tue, 20 Feb 2024 09:00:24 -0300
From: Marcos Paulo de Souza <mpdesouza@...e.com>
To: Shresth Prasad <shresthprasad7@...il.com>
Cc: zhangwarden@...il.com,
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,
shuah@...nel.org,
skhan@...uxfoundation.org
Subject: Re: [PATCH] Fix implicit cast warning in test_klp_state.c
On Tue, 20 Feb 2024 17:23:49 +0530 (GMT+05:30) Shresth Prasad <shresthprasad7@...il.com> wrote:
> 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.
What compiler version and architecture? Are you compiling using flags like W=1?
I would advise you to always add more information about how the problem
manifests, and what you are executing. This can help to nail down the issue
quicker.
Thanks,
Marcos
>
> Regards,
> Shresth
Powered by blists - more mailing lists