tree:
https://gitlab.freedesktop.org/agd5f/linux.git amd-staging-drm-next
head: a34b64a7d2e86965f4a257dc94e764a084faf5a7
commit: 99eb9954171ce959f12ab738c55ffbdcb1964a29 [2152/2165] drm/amdgpu: Add mode2 reset
support for aldebaran
config: arm-randconfig-r035-20210323 (attached as .config)
compiler: clang version 13.0.0 (
https://github.com/llvm/llvm-project
78a65cd945d006ff02f9d24d9cc20a302ed93b08)
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 arm cross compiling tool for clang build
# apt-get install binutils-arm-linux-gnueabi
git remote add agd5f
https://gitlab.freedesktop.org/agd5f/linux.git
git fetch --no-tags agd5f amd-staging-drm-next
git checkout 99eb9954171ce959f12ab738c55ffbdcb1964a29
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=arm
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
In file included from drivers/gpu/drm/amd/amdgpu/aldebaran.c:25:
drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgpu_reset.h:24:9: warning:
'__AMDUGPU_RESET_H__' is used as a header guard here, followed by #define of a
different macro [-Wheader-guard]
#ifndef __AMDUGPU_RESET_H__
^~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgpu_reset.h:25:9: note:
'__AMDGPU_RESET_H__' is defined here; did you mean '__AMDUGPU_RESET_H__'?
#define __AMDGPU_RESET_H__
^~~~~~~~~~~~~~~~~~
__AMDUGPU_RESET_H__
> drivers/gpu/drm/amd/amdgpu/aldebaran.c:110:6: warning: no
previous prototype for function 'aldebaran_async_reset' [-Wmissing-prototypes]
void aldebaran_async_reset(struct work_struct *work)
^
drivers/gpu/drm/amd/amdgpu/aldebaran.c:110:1: note: declare 'static' if the
function is not intended to be used outside of this translation unit
void aldebaran_async_reset(struct work_struct *work)
^
static
2 warnings generated.
vim +/aldebaran_async_reset +110 drivers/gpu/drm/amd/amdgpu/aldebaran.c
109
110 void aldebaran_async_reset(struct work_struct *work)
111 {
112 struct amdgpu_reset_handler *handler;
113 struct amdgpu_reset_control *reset_ctl =
114 container_of(work, struct amdgpu_reset_control, reset_work);
115 struct amdgpu_device *adev = (struct amdgpu_device *)reset_ctl->handle;
116
117 list_for_each_entry(handler, &reset_ctl->reset_handlers,
118 handler_list) {
119 if (handler->reset_method == reset_ctl->active_reset) {
120 dev_dbg(adev->dev, "Resetting device\n");
121 handler->do_reset(adev);
122 break;
123 }
124 }
125 }
126
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org