[radeon-alex:drm-next-5.2-wip 64/66] drivers/gpu/drm/ttm/ttm_bo.c:52:10: sparse: symbol 'ttm_bo_glob_use_count' was not declared. Should it be static?
kbuild test robot
lkp at intel.com
Fri Apr 19 20:02:08 UTC 2019
tree: git://people.freedesktop.org/~agd5f/linux.git drm-next-5.2-wip
head: a70be09f90c0b211b45bae50eb98617d75713297
commit: 5c4923919f015e80e76d3d88d5743d422d105ff2 [64/66] drm/ttm: fix re-init of global structures
reproduce:
# apt-get install sparse
git checkout 5c4923919f015e80e76d3d88d5743d422d105ff2
make ARCH=x86_64 allmodconfig
make C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__'
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp at intel.com>
sparse warnings: (new ones prefixed by >>)
drivers/gpu/drm/ttm/ttm_bo.c:51:1: sparse: symbol 'ttm_global_mutex' was not declared. Should it be static?
>> drivers/gpu/drm/ttm/ttm_bo.c:52:10: sparse: symbol 'ttm_bo_glob_use_count' was not declared. Should it be static?
include/linux/reservation.h:220:20: sparse: dereference of noderef expression
include/linux/reservation.h:220:45: sparse: dereference of noderef expression
include/linux/reservation.h:220:20: sparse: dereference of noderef expression
include/linux/reservation.h:220:45: sparse: dereference of noderef expression
include/linux/reservation.h:220:20: sparse: dereference of noderef expression
include/linux/reservation.h:220:45: sparse: dereference of noderef expression
include/linux/reservation.h:220:20: sparse: dereference of noderef expression
include/linux/reservation.h:220:45: sparse: dereference of noderef expression
include/linux/reservation.h:220:20: sparse: dereference of noderef expression
include/linux/reservation.h:220:45: sparse: dereference of noderef expression
include/linux/reservation.h:220:20: sparse: dereference of noderef expression
include/linux/reservation.h:220:45: sparse: dereference of noderef expression
include/linux/reservation.h:220:20: sparse: dereference of noderef expression
include/linux/reservation.h:220:45: sparse: dereference of noderef expression
include/linux/reservation.h:220:20: sparse: dereference of noderef expression
include/linux/reservation.h:220:45: sparse: dereference of noderef expression
drivers/gpu/drm/ttm/ttm_bo.c:559:28: sparse: context imbalance in 'ttm_bo_cleanup_refs' - unexpected unlock
drivers/gpu/drm/ttm/ttm_bo.c:619:27: sparse: context imbalance in 'ttm_bo_delayed_delete' - different lock contexts for basic block
include/linux/reservation.h:220:20: sparse: dereference of noderef expression
include/linux/reservation.h:220:45: sparse: dereference of noderef expression
include/linux/reservation.h:220:20: sparse: dereference of noderef expression
include/linux/reservation.h:220:45: sparse: dereference of noderef expression
drivers/gpu/drm/ttm/ttm_bo.c:787:12: sparse: context imbalance in 'ttm_mem_evict_first' - different lock contexts for basic block
include/linux/reservation.h:220:20: sparse: dereference of noderef expression
include/linux/reservation.h:220:45: sparse: dereference of noderef expression
include/linux/reservation.h:220:20: sparse: dereference of noderef expression
include/linux/reservation.h:220:45: sparse: dereference of noderef expression
include/linux/reservation.h:220:20: sparse: dereference of noderef expression
include/linux/reservation.h:220:45: sparse: dereference of noderef expression
include/linux/reservation.h:220:20: sparse: dereference of noderef expression
include/linux/reservation.h:220:45: sparse: dereference of noderef expression
drivers/gpu/drm/ttm/ttm_bo.c:1765:5: sparse: context imbalance in 'ttm_bo_swapout' - different lock contexts for basic block
include/linux/reservation.h:220:20: sparse: dereference of noderef expression
include/linux/reservation.h:220:45: sparse: dereference of noderef expression
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