* [linux-next:master 8021/8813] drivers/gpu/drm/amd/amdgpu/../display/dc/virtual/virtual_link_hwss.c:40:6: warning: no previous prototype for function 'virtual_disable_link_output'
@ 2022-09-21 16:17 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-09-21 16:17 UTC (permalink / raw)
To: Wenjing Liu
Cc: llvm, kbuild-all, Linux Memory Management List, Alex Deucher, Jun Lei
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: 483fed3b5dc8ce3644c83d24240cf5756fb0993e
commit: 9c75891feef0f9f67cf1c8f8038371006e25d23f [8021/8813] drm/amd/display: rework recent update PHY state commit
config: powerpc-randconfig-r006-20220921 (https://download.01.org/0day-ci/archive/20220922/202209220019.Yr2VuXhg-lkp@intel.com/config)
compiler: clang version 16.0.0 (https://github.com/llvm/llvm-project 791a7ae1ba3efd6bca96338e10ffde557ba83920)
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 powerpc cross compiling tool for clang build
# apt-get install binutils-powerpc-linux-gnu
# https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=9c75891feef0f9f67cf1c8f8038371006e25d23f
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 9c75891feef0f9f67cf1c8f8038371006e25d23f
# 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=powerpc SHELL=/bin/bash drivers/gpu/drm/
If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
>> drivers/gpu/drm/amd/amdgpu/../display/dc/virtual/virtual_link_hwss.c:40:6: warning: no previous prototype for function 'virtual_disable_link_output' [-Wmissing-prototypes]
void virtual_disable_link_output(struct dc_link *link,
^
drivers/gpu/drm/amd/amdgpu/../display/dc/virtual/virtual_link_hwss.c:40:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
void virtual_disable_link_output(struct dc_link *link,
^
static
1 warning generated.
vim +/virtual_disable_link_output +40 drivers/gpu/drm/amd/amdgpu/../display/dc/virtual/virtual_link_hwss.c
39
> 40 void virtual_disable_link_output(struct dc_link *link,
41 const struct link_resource *link_res,
42 enum signal_type signal)
43 {
44 }
45
--
0-DAY CI Kernel Test Service
https://01.org/lkp
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-09-21 16:18 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-21 16:17 [linux-next:master 8021/8813] drivers/gpu/drm/amd/amdgpu/../display/dc/virtual/virtual_link_hwss.c:40:6: warning: no previous prototype for function 'virtual_disable_link_output' 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