From: "Sven Peter" <sven@svenpeter.dev>
To: "kernel test robot" <lkp@intel.com>, "Arnd Bergmann" <arnd@arndb.de>
Cc: clang-built-linux <llvm@lists.linux.dev>,
oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org
Subject: Re: drivers/soc/apple/rtkit.c:947:38: warning: cast from 'void (*)(struct apple_rtkit *)' to 'void (*)(void *)' converts to incompatible function type
Date: Fri, 04 Nov 2022 13:14:13 +0100 [thread overview]
Message-ID: <c56bcb20-9ea9-43ac-9528-db62d01ad072@app.fastmail.com> (raw)
In-Reply-To: <202211041947.EOX4mt7V-lkp@intel.com>
Hi,
On Fri, Nov 4, 2022, at 13:04, kernel test robot wrote:
> tree:
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
> master
> head: ee6050c8af96bba2f81e8b0793a1fc2f998fcd20
> commit: 9bd1d9a0d8bb1a549831fd98fcc3105960f7068b soc: apple: Add RTKit
> IPC library
> date: 6 months ago
> config: s390-randconfig-r002-20221104
> compiler: clang version 16.0.0 (https://github.com/llvm/llvm-project
> 2bbafe04fe785a9469bea5a3737f8d7d3ce4aca2)
> reproduce (this is a W=1 build):
> wget
> https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross
> -O ~/bin/make.cross
> chmod +x ~/bin/make.cross
> # install s390 cross compiling tool for clang build
> # apt-get install binutils-s390x-linux-gnu
> #
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=9bd1d9a0d8bb1a549831fd98fcc3105960f7068b
> git remote add linus
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
> git fetch --no-tags linus master
> git checkout 9bd1d9a0d8bb1a549831fd98fcc3105960f7068b
> # save the config file
> mkdir build_dir && cp config build_dir/.config
> COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1
> O=build_dir ARCH=s390 SHELL=/bin/bash drivers/soc/apple/
>
> If you fix the issue, kindly add following tag where applicable
> | Reported-by: kernel test robot <lkp@intel.com>
Thanks for the report, this instance is especially brain-dead since
apple_rtkit_free isn't even used outside of rtkit.c.
I'll send a fix later as well.
Sven
prev parent reply other threads:[~2022-11-04 12:14 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-04 12:04 kernel test robot
2022-11-04 12:14 ` Sven Peter [this message]
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=c56bcb20-9ea9-43ac-9528-db62d01ad072@app.fastmail.com \
--to=sven@svenpeter.dev \
--cc=arnd@arndb.de \
--cc=linux-kernel@vger.kernel.org \
--cc=lkp@intel.com \
--cc=llvm@lists.linux.dev \
--cc=oe-kbuild-all@lists.linux.dev \
/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
all inboxes | Powered by JetHome®