All of lore.kernel.org
 help / color / mirror / Atom feed
* [drm-drm-intel:drm-intel-gt-next 7/8] drivers/gpu/drm/i915/intel_region_ttm.c:181:6: sparse: sparse: symbol 'intel_region_ttm_node_free' was not declared. Should it be static?
@ 2021-06-17  7:01 kernel test robot
  2021-06-17  7:01 ` [RFC PATCH drm-drm-intel] drm/i915/ttm: intel_region_ttm_node_free() can be static kernel test robot
  0 siblings, 1 reply; 2+ messages in thread
From: kernel test robot @ 2021-06-17  7:01 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 1243 bytes --]

tree:   git://anongit.freedesktop.org/drm/drm-intel drm-intel-gt-next
head:   13c2ceb6addb6b14468e09b75832c98909eed8e7
commit: d53ec322dc7de32a59bf1c2a56b93e90fc2f1c28 [7/8] drm/i915/ttm: switch over to ttm_buddy_man
config: x86_64-rhel-8.3-kselftests (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce:
        # apt-get install sparse
        # sparse version: v0.6.3-341-g8af24329-dirty
        git remote add drm-drm-intel git://anongit.freedesktop.org/drm/drm-intel
        git fetch --no-tags drm-drm-intel drm-intel-gt-next
        git checkout d53ec322dc7de32a59bf1c2a56b93e90fc2f1c28
        # save the attached .config to linux build tree
        make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' W=1 ARCH=x86_64 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>


sparse warnings: (new ones prefixed by >>)
>> drivers/gpu/drm/i915/intel_region_ttm.c:181:6: sparse: sparse: symbol 'intel_region_ttm_node_free' was not declared. Should it be static?

Please review and possibly fold the followup patch.

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 41905 bytes --]

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

* [RFC PATCH drm-drm-intel] drm/i915/ttm: intel_region_ttm_node_free() can be static
  2021-06-17  7:01 [drm-drm-intel:drm-intel-gt-next 7/8] drivers/gpu/drm/i915/intel_region_ttm.c:181:6: sparse: sparse: symbol 'intel_region_ttm_node_free' was not declared. Should it be static? kernel test robot
@ 2021-06-17  7:01 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-06-17  7:01 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 1000 bytes --]

drivers/gpu/drm/i915/intel_region_ttm.c:181:6: warning: symbol 'intel_region_ttm_node_free' was not declared. Should it be static?

Fixes: d53ec322dc7d ("drm/i915/ttm: switch over to ttm_buddy_man")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: kernel test robot <lkp@intel.com>
---
 intel_region_ttm.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/gpu/drm/i915/intel_region_ttm.c b/drivers/gpu/drm/i915/intel_region_ttm.c
index 052253c81e984..01e3062e6948b 100644
--- a/drivers/gpu/drm/i915/intel_region_ttm.c
+++ b/drivers/gpu/drm/i915/intel_region_ttm.c
@@ -178,8 +178,8 @@ intel_region_ttm_resource_alloc(struct intel_memory_region *mem,
 
 #endif
 
-void intel_region_ttm_node_free(struct intel_memory_region *mem,
-				struct ttm_resource *res)
+static void intel_region_ttm_node_free(struct intel_memory_region *mem,
+				       struct ttm_resource *res)
 {
 	struct ttm_resource_manager *man = mem->region_private;
 

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

end of thread, other threads:[~2021-06-17  7:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-17  7:01 [drm-drm-intel:drm-intel-gt-next 7/8] drivers/gpu/drm/i915/intel_region_ttm.c:181:6: sparse: sparse: symbol 'intel_region_ttm_node_free' was not declared. Should it be static? kernel test robot
2021-06-17  7:01 ` [RFC PATCH drm-drm-intel] drm/i915/ttm: intel_region_ttm_node_free() can be static kernel 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.