All of lore.kernel.org
 help / color / mirror / Atom feed
* [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?
@ 2015-01-21 12:32 ` kbuild test robot
  0 siblings, 0 replies; 4+ messages in thread
From: kbuild test robot @ 2015-01-21 12:32 UTC (permalink / raw)
  To: Ben Goz
  Cc: kbuild-all, Oded Gabbay, Alex Deucher, Christian König,
	David Airlie, dri-devel, linux-kernel

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH drm-intel] drm/radeon: cik_sdma_ctx_switch_enable() can be static
  2015-01-21 12:32 ` kbuild test robot
@ 2015-01-21 12:32   ` kbuild test robot
  -1 siblings, 0 replies; 4+ messages in thread
From: kbuild test robot @ 2015-01-21 12:32 UTC (permalink / raw)
  To: Ben Goz
  Cc: kbuild-all, Oded Gabbay, Alex Deucher, Christian König,
	David Airlie, dri-devel, linux-kernel

drivers/gpu/drm/radeon/cik_sdma.c:293:6: sparse: symbol 'cik_sdma_ctx_switch_enable' was not declared. Should it be static?

Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---
 cik_sdma.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/radeon/cik_sdma.c b/drivers/gpu/drm/radeon/cik_sdma.c
index 1f4ded1..de137d1 100644
--- a/drivers/gpu/drm/radeon/cik_sdma.c
+++ b/drivers/gpu/drm/radeon/cik_sdma.c
@@ -290,7 +290,7 @@ static void cik_sdma_rlc_stop(struct radeon_device *rdev)
  *
  * Halt or unhalt the async dma engines (CIK).
  */
-void cik_sdma_ctx_switch_enable(struct radeon_device *rdev, bool enable)
+static void cik_sdma_ctx_switch_enable(struct radeon_device *rdev, bool enable)
 {
 	uint32_t reg_offset, value;
 	int i;

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH drm-intel] drm/radeon: cik_sdma_ctx_switch_enable() can be static
@ 2015-01-21 12:32   ` kbuild test robot
  0 siblings, 0 replies; 4+ messages in thread
From: kbuild test robot @ 2015-01-21 12:32 UTC (permalink / raw)
  To: Ben Goz
  Cc: linux-kernel, dri-devel, kbuild-all, Alex Deucher, Christian König

drivers/gpu/drm/radeon/cik_sdma.c:293:6: sparse: symbol 'cik_sdma_ctx_switch_enable' was not declared. Should it be static?

Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---
 cik_sdma.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/radeon/cik_sdma.c b/drivers/gpu/drm/radeon/cik_sdma.c
index 1f4ded1..de137d1 100644
--- a/drivers/gpu/drm/radeon/cik_sdma.c
+++ b/drivers/gpu/drm/radeon/cik_sdma.c
@@ -290,7 +290,7 @@ static void cik_sdma_rlc_stop(struct radeon_device *rdev)
  *
  * Halt or unhalt the async dma engines (CIK).
  */
-void cik_sdma_ctx_switch_enable(struct radeon_device *rdev, bool enable)
+static void cik_sdma_ctx_switch_enable(struct radeon_device *rdev, bool enable)
 {
 	uint32_t reg_offset, value;
 	int i;
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [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?
@ 2015-01-21 12:32 ` kbuild test robot
  0 siblings, 0 replies; 4+ messages in thread
From: kbuild test robot @ 2015-01-21 12:32 UTC (permalink / raw)
  To: Ben Goz
  Cc: linux-kernel, dri-devel, kbuild-all, Alex Deucher, Christian König

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
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-01-21 12:33 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-21 12:32 [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? kbuild test robot
2015-01-21 12:32 ` kbuild test robot
2015-01-21 12:32 ` [PATCH drm-intel] drm/radeon: cik_sdma_ctx_switch_enable() can be static kbuild test robot
2015-01-21 12:32   ` kbuild test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.