[radeon-alex:drm-next-4.20-wip 175/184] drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c:314:14: sparse: symbol 'amdgpu_kiq_reg_write_reg_wait' was not declared. Should it be static?

kbuild test robot lkp at intel.com
Wed Aug 22 02:31:00 UTC 2018


tree:   git://people.freedesktop.org/~agd5f/linux.git drm-next-4.20-wip
head:   2034a5eca0c640259d13dbd4c29ca8ce712055cc
commit: d790449835e6f61831f6d34dea5b928de918cf60 [175/184] drm/amdgpu: use kiq to do invalidate tlb
reproduce:
        # apt-get install sparse
        git checkout d790449835e6f61831f6d34dea5b928de918cf60
        make ARCH=x86_64 allmodconfig
        make C=1 CF=-D__CHECK_ENDIAN__


sparse warnings: (new ones prefixed by >>)

   drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c:263:55: sparse: missing braces around initializer
>> drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c:314:14: sparse: symbol 'amdgpu_kiq_reg_write_reg_wait' was not declared. Should it be static?
   drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c:486:30: sparse: incorrect type in initializer (different address spaces) @@    expected void [noderef] <asn:2>*ptr @@    got sn:2>*ptr @@
   drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c:486:30:    expected void [noderef] <asn:2>*ptr
   drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c:486:30:    got void *<noident>

Please review and possibly fold the followup patch.

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation


More information about the dri-devel mailing list