lkml.org 
[lkml]   [2022]   [May]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject[asahilinux:bits/050-nvme 8/9] drivers/soc/apple/rtkit.c:665:16: error: implicit declaration of function 'mbox_client_poll_data'; did you mean 'mbox_client_peek_data'?
tree:   https://github.com/AsahiLinux/linux bits/050-nvme
head: 54dfe8ce63a23f4a11e9aa0481a09a6ec2267b2f
commit: ecb1172a9cbf4c3ad18fa5c259380a116c2f00e6 [8/9] soc: apple: rtkit: Add apple_rtkit_poll
config: arc-allyesconfig (https://download.01.org/0day-ci/archive/20220525/202205250417.A3XFu2wp-lkp@intel.com/config)
compiler: arceb-elf-gcc (GCC) 11.3.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/ecb1172a9cbf4c3ad18fa5c259380a116c2f00e6
git remote add asahilinux https://github.com/AsahiLinux/linux
git fetch --no-tags asahilinux bits/050-nvme
git checkout ecb1172a9cbf4c3ad18fa5c259380a116c2f00e6
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.3.0 make.cross W=1 O=build_dir ARCH=arc SHELL=/bin/bash

If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

drivers/soc/apple/rtkit.c: In function 'apple_rtkit_poll':
>> drivers/soc/apple/rtkit.c:665:16: error: implicit declaration of function 'mbox_client_poll_data'; did you mean 'mbox_client_peek_data'? [-Werror=implicit-function-declaration]
665 | return mbox_client_poll_data(rtk->mbox_chan);
| ^~~~~~~~~~~~~~~~~~~~~
| mbox_client_peek_data
cc1: some warnings being treated as errors


vim +665 drivers/soc/apple/rtkit.c

662
663 int apple_rtkit_poll(struct apple_rtkit *rtk)
664 {
> 665 return mbox_client_poll_data(rtk->mbox_chan);
666 }
667 EXPORT_SYMBOL_GPL(apple_rtkit_poll);
668

--
0-DAY CI Kernel Test Service
https://01.org/lkp

\
 
 \ /
  Last update: 2022-05-24 22:52    [W:0.033 / U:0.188 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site