[radeon-alex:drm-next-5.1-wip 17/212] drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_module.c:79:18: sparse: warning: non-ANSI function declaration of function 'kgd2kfd_init'

kbuild test robot lkp at intel.com
Fri Feb 1 07:33:04 UTC 2019


tree:   git://people.freedesktop.org/~agd5f/linux.git drm-next-5.1-wip
head:   8054c54a6169ca26157d2bed0b52f63d472dbd34
commit: 308176d6f625bc782a34ec316beaefcfa7ad75f3 [17/212] drm/amdgpu: Remove kgd2kfd function pointers
reproduce:
        # apt-get install sparse
        git checkout 308176d6f625bc782a34ec316beaefcfa7ad75f3
        make ARCH=x86_64 allmodconfig
        make C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__'

All warnings (new ones prefixed by >>):

>> drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_module.c:79:18: sparse: warning: non-ANSI function declaration of function 'kgd2kfd_init'

vim +/kgd2kfd_init +79 drivers/gpu/drm/amd/amdgpu/../amdkfd/kfd_module.c

    78	
  > 79	int kgd2kfd_init()
    80	{
    81		return kfd_init();
    82	}
    83	

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 67039 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20190201/94052aa7/attachment-0001.gz>


More information about the dri-devel mailing list