From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [agd5f:drm-next-5.17 92/342] drivers/gpu/drm/amd/amdgpu/../pm/swsmu/smu11/sienna_cichlid_ppt.c:3827:5: warning: no previous prototype for 'sienna_cichlid_stb_get_data_direct'
Date: Thu, 30 Dec 2021 16:25:20 +0800 [thread overview]
Message-ID: <202112301643.dtvsIJca-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 2491 bytes --]
Hi Andrey,
FYI, the error/warning still remains.
tree: https://gitlab.freedesktop.org/agd5f/linux.git drm-next-5.17
head: 46dbcbf47e6871e142ada8a8188b7a4fc8f1d808
commit: db5b5c679e6cad2bb147337af6c378d278231b45 [92/342] drm/amd/pm: Add STB support in sienna_cichlid
config: alpha-randconfig-r004-20211122 (https://download.01.org/0day-ci/archive/20211230/202112301643.dtvsIJca-lkp(a)intel.com/config)
compiler: alpha-linux-gcc (GCC) 11.2.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
git remote add agd5f https://gitlab.freedesktop.org/agd5f/linux.git
git fetch --no-tags agd5f drm-next-5.17
git checkout db5b5c679e6cad2bb147337af6c378d278231b45
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=alpha SHELL=/bin/bash drivers/gpu/drm/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
>> drivers/gpu/drm/amd/amdgpu/../pm/swsmu/smu11/sienna_cichlid_ppt.c:3827:5: warning: no previous prototype for 'sienna_cichlid_stb_get_data_direct' [-Wmissing-prototypes]
3827 | int sienna_cichlid_stb_get_data_direct(struct smu_context *smu,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vim +/sienna_cichlid_stb_get_data_direct +3827 drivers/gpu/drm/amd/amdgpu/../pm/swsmu/smu11/sienna_cichlid_ppt.c
3826
> 3827 int sienna_cichlid_stb_get_data_direct(struct smu_context *smu,
3828 void *buf,
3829 uint32_t size)
3830 {
3831 uint32_t *p = buf;
3832 struct amdgpu_device *adev = smu->adev;
3833
3834 /* No need to disable interrupts for now as we don't lock it yet from ISR */
3835 spin_lock(&smu->stb_context.lock);
3836
3837 /*
3838 * Read the STB FIFO in units of 32bit since this is the accessor window
3839 * (register width) we have.
3840 */
3841 buf = ((char *) buf) + size;
3842 while ((void *)p < buf)
3843 *p++ = cpu_to_le32(RREG32_PCIE(MP1_Public | smnMP1_PMI_3));
3844
3845 spin_unlock(&smu->stb_context.lock);
3846
3847 return 0;
3848 }
3849
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: Andrey Grodzovsky <andrey.grodzovsky@amd.com>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org,
Alex Deucher <alexander.deucher@amd.com>,
Lijo Lazar <lijo.lazar@amd.com>,
Luben Tuikov <luben.tuikov@amd.com>
Subject: [agd5f:drm-next-5.17 92/342] drivers/gpu/drm/amd/amdgpu/../pm/swsmu/smu11/sienna_cichlid_ppt.c:3827:5: warning: no previous prototype for 'sienna_cichlid_stb_get_data_direct'
Date: Thu, 30 Dec 2021 16:25:20 +0800 [thread overview]
Message-ID: <202112301643.dtvsIJca-lkp@intel.com> (raw)
Hi Andrey,
FYI, the error/warning still remains.
tree: https://gitlab.freedesktop.org/agd5f/linux.git drm-next-5.17
head: 46dbcbf47e6871e142ada8a8188b7a4fc8f1d808
commit: db5b5c679e6cad2bb147337af6c378d278231b45 [92/342] drm/amd/pm: Add STB support in sienna_cichlid
config: alpha-randconfig-r004-20211122 (https://download.01.org/0day-ci/archive/20211230/202112301643.dtvsIJca-lkp@intel.com/config)
compiler: alpha-linux-gcc (GCC) 11.2.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
git remote add agd5f https://gitlab.freedesktop.org/agd5f/linux.git
git fetch --no-tags agd5f drm-next-5.17
git checkout db5b5c679e6cad2bb147337af6c378d278231b45
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=alpha SHELL=/bin/bash drivers/gpu/drm/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
>> drivers/gpu/drm/amd/amdgpu/../pm/swsmu/smu11/sienna_cichlid_ppt.c:3827:5: warning: no previous prototype for 'sienna_cichlid_stb_get_data_direct' [-Wmissing-prototypes]
3827 | int sienna_cichlid_stb_get_data_direct(struct smu_context *smu,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vim +/sienna_cichlid_stb_get_data_direct +3827 drivers/gpu/drm/amd/amdgpu/../pm/swsmu/smu11/sienna_cichlid_ppt.c
3826
> 3827 int sienna_cichlid_stb_get_data_direct(struct smu_context *smu,
3828 void *buf,
3829 uint32_t size)
3830 {
3831 uint32_t *p = buf;
3832 struct amdgpu_device *adev = smu->adev;
3833
3834 /* No need to disable interrupts for now as we don't lock it yet from ISR */
3835 spin_lock(&smu->stb_context.lock);
3836
3837 /*
3838 * Read the STB FIFO in units of 32bit since this is the accessor window
3839 * (register width) we have.
3840 */
3841 buf = ((char *) buf) + size;
3842 while ((void *)p < buf)
3843 *p++ = cpu_to_le32(RREG32_PCIE(MP1_Public | smnMP1_PMI_3));
3844
3845 spin_unlock(&smu->stb_context.lock);
3846
3847 return 0;
3848 }
3849
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
next reply other threads:[~2021-12-30 8:25 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-30 8:25 kernel test robot [this message]
2021-12-30 8:25 ` [agd5f:drm-next-5.17 92/342] drivers/gpu/drm/amd/amdgpu/../pm/swsmu/smu11/sienna_cichlid_ppt.c:3827:5: warning: no previous prototype for 'sienna_cichlid_stb_get_data_direct' kernel test robot
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=202112301643.dtvsIJca-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
/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.