* [linux-next:master 2054/2270] drivers/gpu/drm/amd/amdgpu/../pm/powerplay/hwmgr/ppatomctrl.c:1234:29: warning: no previous prototype for function 'asic_internal_ss_get_ss_table'
@ 2020-10-28 13:59 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2020-10-28 13:59 UTC (permalink / raw)
To: Evan Quan
Cc: kbuild-all, clang-built-linux, Linux Memory Management List,
Alex Deucher
[-- Attachment #1: Type: text/plain, Size: 2673 bytes --]
Hi Evan,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: 1c86f90a16d413621918ae1403842b43632f0b3d
commit: f6638d0e6f93501dae110d66445c159309aa366a [2054/2270] drm/amd/pm: correct the checks for sclk/mclk SS support
config: arm64-randconfig-r004-20201028 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project 50dfa19cc799ae7cddd39a95dbfce675a12672ad)
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 arm64 cross compiling tool for clang build
# apt-get install binutils-aarch64-linux-gnu
# https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=f6638d0e6f93501dae110d66445c159309aa366a
git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
git fetch --no-tags linux-next master
git checkout f6638d0e6f93501dae110d66445c159309aa366a
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=arm64
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/powerplay/hwmgr/ppatomctrl.c:1234:29: warning: no previous prototype for function 'asic_internal_ss_get_ss_table' [-Wmissing-prototypes]
ATOM_ASIC_INTERNAL_SS_INFO *asic_internal_ss_get_ss_table(void *device)
^
drivers/gpu/drm/amd/amdgpu/../pm/powerplay/hwmgr/ppatomctrl.c:1234:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
ATOM_ASIC_INTERNAL_SS_INFO *asic_internal_ss_get_ss_table(void *device)
^
static
1 warning generated.
vim +/asic_internal_ss_get_ss_table +1234 drivers/gpu/drm/amd/amdgpu/../pm/powerplay/hwmgr/ppatomctrl.c
1230
1231 /**
1232 * Get the asic internal spread spectrum table
1233 */
> 1234 ATOM_ASIC_INTERNAL_SS_INFO *asic_internal_ss_get_ss_table(void *device)
1235 {
1236 ATOM_ASIC_INTERNAL_SS_INFO *table = NULL;
1237 u8 frev, crev;
1238 u16 size;
1239
1240 table = (ATOM_ASIC_INTERNAL_SS_INFO *)
1241 smu_atom_get_data_table(device,
1242 GetIndexIntoMasterTable(DATA, ASIC_InternalSS_Info),
1243 &size, &frev, &crev);
1244
1245 return table;
1246 }
1247
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 41823 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-10-28 14:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-28 13:59 [linux-next:master 2054/2270] drivers/gpu/drm/amd/amdgpu/../pm/powerplay/hwmgr/ppatomctrl.c:1234:29: warning: no previous prototype for function 'asic_internal_ss_get_ss_table' kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox