From: Tejun Heo <tj@kernel.org>
To: Vishal Chourasia <vishalc@linux.ibm.com>
Cc: linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] sched_ext: Fix function pointer type mismatches in BPF selftests
Date: Thu, 24 Oct 2024 06:56:35 -1000 [thread overview]
Message-ID: <Zxp8Q4mmNFoHYFXg@slm.duckdns.org> (raw)
In-Reply-To: <20241024051608.358683-2-vishalc@linux.ibm.com>
On Thu, Oct 24, 2024 at 10:46:09AM +0530, Vishal Chourasia wrote:
> Fix incompatible function pointer type warnings in sched_ext BPF selftests by
> explicitly casting the function pointers when initializing struct_ops.
> This addresses multiple -Wincompatible-function-pointer-types warnings from the
> clang compiler where function signatures didn't match exactly.
>
> The void * cast ensures the compiler accepts the function pointer
> assignment despite minor type differences in the parameters.
>
> Signed-off-by: Vishal Chourasia <vishalc@linux.ibm.com>
Applied to sched_ext/for-6.12-fixes.
Thanks.
--
tejun
next prev parent reply other threads:[~2024-10-24 16:56 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-24 5:16 [PATCH] sched_ext: Fix function pointer type mismatches in BPF selftests Vishal Chourasia
2024-10-24 16:56 ` Tejun Heo [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-10-23 8:45 Vishal Chourasia
2024-10-23 19:23 ` Tejun Heo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Zxp8Q4mmNFoHYFXg@slm.duckdns.org \
--to=tj@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-kselftest@vger.kernel.org \
--cc=vishalc@linux.ibm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox