[<prev] [next>] [day] [month] [year] [list]
Message-ID: <201904150908.YUUaTBdW%lkp@intel.com>
Date: Mon, 15 Apr 2019 09:20:09 +0800
From: kbuild test robot <lkp@...el.com>
To: Thomas Gleixner <tglx@...utronix.de>
Cc: kbuild-all@...org, linux-kernel@...r.kernel.org, tipbuild@...or.com
Subject: [tip:WIP.core/stacktrace 34/47] drivers/gpu/drm/drm_mm.c:136:3:
error: implicit declaration of function 'stack_trace_snprintf'
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git WIP.core/stacktrace
head: 63c35ea6b829a0f98d307a8dec038095681ecd13
commit: 6476291d5b823a05b9c903a65a5f6e6026a02606 [34/47] drm: Simplify stacktrace handling
config: i386-randconfig-a1-201915 (attached as .config)
compiler: gcc-4.9 (Debian 4.9.4-2) 4.9.4
reproduce:
git checkout 6476291d5b823a05b9c903a65a5f6e6026a02606
# save the attached .config to linux build tree
make ARCH=i386
All errors (new ones prefixed by >>):
drivers/gpu/drm/drm_mm.c: In function 'show_leaks':
>> drivers/gpu/drm/drm_mm.c:136:3: error: implicit declaration of function 'stack_trace_snprintf' [-Werror=implicit-function-declaration]
stack_trace_snprintf(buf, BUFSZ, entries, nr_entries, 0);
^
cc1: some warnings being treated as errors
vim +/stack_trace_snprintf +136 drivers/gpu/drm/drm_mm.c
116
117 static void show_leaks(struct drm_mm *mm)
118 {
119 struct drm_mm_node *node;
120 unsigned long *entries;
121 unsigned int nr_entries;
122 char *buf;
123
124 buf = kmalloc(BUFSZ, GFP_KERNEL);
125 if (!buf)
126 return;
127
128 list_for_each_entry(node, drm_mm_nodes(mm), node_list) {
129 if (!node->stack) {
130 DRM_ERROR("node [%08llx + %08llx]: unknown owner\n",
131 node->start, node->size);
132 continue;
133 }
134
135 nr_entries = stack_depot_fetch(node->stack, &entries);
> 136 stack_trace_snprintf(buf, BUFSZ, entries, nr_entries, 0);
137 DRM_ERROR("node [%08llx + %08llx]: inserted at\n%s",
138 node->start, node->size, buf);
139 }
140
141 kfree(buf);
142 }
143
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Download attachment ".config.gz" of type "application/gzip" (31693 bytes)
Powered by blists - more mailing lists