[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4dc04319-8f4c-4159-a6c8-6b106a15305e@gmail.com>
Date: Tue, 20 Feb 2024 17:23:49 +0530 (GMT+05:30)
From: Shresth Prasad <shresthprasad7@...il.com>
To: zhangwarden@...il.com
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
Subject: Re: [PATCH] Fix implicit cast warning in test_klp_state.c
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
Powered by blists - more mailing lists