[radeon-alex:amd-staging-drm-next 3/5] drivers/gpu/drm/ttm/ttm_tt.c:240:6: sparse: symbol 'ttm_tt_init_fields' was not declared. Should it be static?

kbuild test robot fengguang.wu at intel.com
Wed Mar 7 03:07:35 UTC 2018


tree:   git://people.freedesktop.org/~agd5f/linux.git amd-staging-drm-next
head:   085145ebf0e9c401e18cd9f7b2dd835a20c188c9
commit: 69665e4b79150133c3b28807f212972a1d3a392a [3/5] drm/ttm: add ttm_sg_tt_init
reproduce:
        # apt-get install sparse
        git checkout 69665e4b79150133c3b28807f212972a1d3a392a
        make ARCH=x86_64 allmodconfig
        make C=1 CF=-D__CHECK_ENDIAN__


sparse warnings: (new ones prefixed by >>)

>> drivers/gpu/drm/ttm/ttm_tt.c:240:6: sparse: symbol 'ttm_tt_init_fields' was not declared. Should it be static?

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