From: kernel test robot <lkp@intel.com>
To: Hector Martin <marcan@marcan.st>
Cc: oe-kbuild-all@lists.linux.dev
Subject: [asahilinux:bits/010-soc 8/14] drivers/soc/apple/rtkit.c:627:37: error: 'struct apple_rtkit' has no member named 'mbox_chan'
Date: Tue, 25 Apr 2023 13:20:11 +0800 [thread overview]
Message-ID: <202304251325.fsh5EBuw-lkp@intel.com> (raw)
Hi Hector,
First bad commit (maybe != root cause):
tree: https://github.com/AsahiLinux/linux bits/010-soc
head: 64314818271dd6e78606e3d5197a5d74bf5d9e7c
commit: 718fdf42575923c879b29752487020a8add88766 [8/14] mailbox: apple: Delete driver
config: arm64-buildonly-randconfig-r004-20230423 (https://download.01.org/0day-ci/archive/20230425/202304251325.fsh5EBuw-lkp@intel.com/config)
compiler: aarch64-linux-gcc (GCC) 12.1.0
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
# https://github.com/AsahiLinux/linux/commit/718fdf42575923c879b29752487020a8add88766
git remote add asahilinux https://github.com/AsahiLinux/linux
git fetch --no-tags asahilinux bits/010-soc
git checkout 718fdf42575923c879b29752487020a8add88766
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=arm64 olddefconfig
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=arm64 SHELL=/bin/bash drivers/soc/
If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@intel.com>
| Link: https://lore.kernel.org/oe-kbuild-all/202304251325.fsh5EBuw-lkp@intel.com/
All errors (new ones prefixed by >>):
drivers/soc/apple/rtkit.c: In function 'apple_rtkit_send_message_wait':
>> drivers/soc/apple/rtkit.c:627:37: error: 'struct apple_rtkit' has no member named 'mbox_chan'
627 | ret = mbox_flush(rtk->mbox_chan, timeout);
| ^~
vim +627 drivers/soc/apple/rtkit.c
9bd1d9a0d8bb1a Sven Peter 2022-05-01 614
9bd1d9a0d8bb1a Sven Peter 2022-05-01 615 int apple_rtkit_send_message_wait(struct apple_rtkit *rtk, u8 ep, u64 message,
9bd1d9a0d8bb1a Sven Peter 2022-05-01 616 unsigned long timeout, bool atomic)
9bd1d9a0d8bb1a Sven Peter 2022-05-01 617 {
9bd1d9a0d8bb1a Sven Peter 2022-05-01 618 DECLARE_COMPLETION_ONSTACK(completion);
9bd1d9a0d8bb1a Sven Peter 2022-05-01 619 int ret;
9bd1d9a0d8bb1a Sven Peter 2022-05-01 620 long t;
9bd1d9a0d8bb1a Sven Peter 2022-05-01 621
9bd1d9a0d8bb1a Sven Peter 2022-05-01 622 ret = apple_rtkit_send_message(rtk, ep, message, &completion, atomic);
9bd1d9a0d8bb1a Sven Peter 2022-05-01 623 if (ret < 0)
9bd1d9a0d8bb1a Sven Peter 2022-05-01 624 return ret;
9bd1d9a0d8bb1a Sven Peter 2022-05-01 625
9bd1d9a0d8bb1a Sven Peter 2022-05-01 626 if (atomic) {
9bd1d9a0d8bb1a Sven Peter 2022-05-01 @627 ret = mbox_flush(rtk->mbox_chan, timeout);
9bd1d9a0d8bb1a Sven Peter 2022-05-01 628 if (ret < 0)
9bd1d9a0d8bb1a Sven Peter 2022-05-01 629 return ret;
9bd1d9a0d8bb1a Sven Peter 2022-05-01 630
9bd1d9a0d8bb1a Sven Peter 2022-05-01 631 if (try_wait_for_completion(&completion))
9bd1d9a0d8bb1a Sven Peter 2022-05-01 632 return 0;
9bd1d9a0d8bb1a Sven Peter 2022-05-01 633
9bd1d9a0d8bb1a Sven Peter 2022-05-01 634 return -ETIME;
9bd1d9a0d8bb1a Sven Peter 2022-05-01 635 } else {
9bd1d9a0d8bb1a Sven Peter 2022-05-01 636 t = wait_for_completion_interruptible_timeout(
9bd1d9a0d8bb1a Sven Peter 2022-05-01 637 &completion, msecs_to_jiffies(timeout));
9bd1d9a0d8bb1a Sven Peter 2022-05-01 638 if (t < 0)
9bd1d9a0d8bb1a Sven Peter 2022-05-01 639 return t;
9bd1d9a0d8bb1a Sven Peter 2022-05-01 640 else if (t == 0)
9bd1d9a0d8bb1a Sven Peter 2022-05-01 641 return -ETIME;
9bd1d9a0d8bb1a Sven Peter 2022-05-01 642 return 0;
9bd1d9a0d8bb1a Sven Peter 2022-05-01 643 }
9bd1d9a0d8bb1a Sven Peter 2022-05-01 644 }
9bd1d9a0d8bb1a Sven Peter 2022-05-01 645 EXPORT_SYMBOL_GPL(apple_rtkit_send_message_wait);
9bd1d9a0d8bb1a Sven Peter 2022-05-01 646
:::::: The code at line 627 was first introduced by commit
:::::: 9bd1d9a0d8bb1a549831fd98fcc3105960f7068b soc: apple: Add RTKit IPC library
:::::: TO: Sven Peter <sven@svenpeter.dev>
:::::: CC: Sven Peter <sven@svenpeter.dev>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests
reply other threads:[~2023-04-25 5:20 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=202304251325.fsh5EBuw-lkp@intel.com \
--to=lkp@intel.com \
--cc=marcan@marcan.st \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.