[radeon-alex:amd-staging-drm-next 534/912] drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c:904:6: warning: old-style function definition

kernel test robot lkp at intel.com
Fri Dec 11 01:35:01 UTC 2020


Hi Prike,

FYI, the error/warning still remains.

tree:   git://people.freedesktop.org/~agd5f/linux.git amd-staging-drm-next
head:   82811178dacd6530cb2702e97e9c25f253c61a6b
commit: 16cf2b67735cdd2f97aade032f8d720c8b089523 [534/912] drm/amdgpu: add s0i3 capacity check for s0i3 routine
config: i386-randconfig-r005-20201210 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-15) 9.3.0
reproduce (this is a W=1 build):
        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
        make W=1 ARCH=i386 

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: 36429 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20201211/8d7459cc/attachment-0001.gz>


More information about the dri-devel mailing list