[radeon-alex:amd-staging-drm-next 534/571] drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c:904:6: warning: old-style function definition
kernel test robot
lkp at intel.com
Sat Nov 14 03:10:43 UTC 2020
tree: git://people.freedesktop.org/~agd5f/linux.git amd-staging-drm-next
head: a29bd65d3af75aa50f10e35af7bb77218943622f
commit: 16cf2b67735cdd2f97aade032f8d720c8b089523 [534/571] drm/amdgpu: add s0i3 capacity check for s0i3 routine
config: ia64-allmodconfig (attached as .config)
compiler: ia64-linux-gcc (GCC) 9.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
git remote add radeon-alex git://people.freedesktop.org/~agd5f/linux.git
git fetch --no-tags radeon-alex amd-staging-drm-next
git checkout 16cf2b67735cdd2f97aade032f8d720c8b089523
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=ia64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp at intel.com>
All warnings (new ones prefixed by >>):
drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c: In function 'amdgpu_acpi_is_s0ix_supported':
>> drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c:904:6: warning: old-style function definition [-Wold-style-definition]
904 | bool amdgpu_acpi_is_s0ix_supported()
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vim +904 drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c
898
899 /**
900 * amdgpu_acpi_is_s0ix_supported
901 *
902 * returns true if supported, false if not.
903 */
> 904 bool amdgpu_acpi_is_s0ix_supported()
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 61626 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20201114/94f3b2db/attachment-0001.gz>
More information about the dri-devel
mailing list