lkml.org 
[lkml]   [2015]   [Jan]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject[drm-intel:drm-intel-nightly 357/550] drivers/gpu/drm/radeon/cik_sdma.c:293:6: sparse: symbol 'cik_sdma_ctx_switch_enable' was not declared. Should it be static?
tree:   git://anongit.freedesktop.org/drm-intel drm-intel-nightly
head: 0e3c37cedf582819b6dbdd0bf0b14a15d3c2e47d
commit: d7a60d8ea5cd4560e0496d2683643d2e4930e609 [357/550] drm/radeon: Enable sdma preemption
reproduce:
# apt-get install sparse
git checkout d7a60d8ea5cd4560e0496d2683643d2e4930e609
make ARCH=x86_64 allmodconfig
make C=1 CF=-D__CHECK_ENDIAN__


sparse warnings: (new ones prefixed by >>)

>> drivers/gpu/drm/radeon/cik_sdma.c:293:6: sparse: symbol 'cik_sdma_ctx_switch_enable' was not declared. Should it be static?
drivers/gpu/drm/radeon/cik_sdma.c:471:48: sparse: cast to restricted __le32
drivers/gpu/drm/radeon/cik_sdma.c:472:27: sparse: cast to restricted __le32
drivers/gpu/drm/radeon/cik_sdma.c:480:48: sparse: cast to restricted __le32
drivers/gpu/drm/radeon/cik_sdma.c:481:27: sparse: cast to restricted __le32
drivers/gpu/drm/radeon/cik_sdma.c:651:30: sparse: incorrect type in assignment (different base types)
drivers/gpu/drm/radeon/cik_sdma.c:651:30: expected unsigned int volatile [unsigned] [usertype] <noident>
drivers/gpu/drm/radeon/cik_sdma.c:651:30: got restricted __le32 [usertype] <noident>
drivers/gpu/drm/radeon/cik_sdma.c:666:23: sparse: cast to restricted __le32
drivers/gpu/drm/radeon/cik_sdma.c:708:30: sparse: incorrect type in assignment (different base types)
drivers/gpu/drm/radeon/cik_sdma.c:708:30: expected unsigned int volatile [unsigned] [usertype] <noident>
drivers/gpu/drm/radeon/cik_sdma.c:708:30: got restricted __le32 [usertype] <noident>
drivers/gpu/drm/radeon/cik_sdma.c:735:23: sparse: cast to restricted __le32

Please review and possibly fold the followup patch.

---
0-DAY kernel test infrastructure Open Source Technology Center
http://lists.01.org/mailman/listinfo/kbuild Intel Corporation


\
 
 \ /
  Last update: 2015-01-21 13:41    [W:0.156 / U:0.120 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site