* [mmotm:master 351/375] drivers/gpu/drm/virtio/virtgpu_prime.c:43:23: sparse: sparse: symbol 'virtgpu_gem_prime_import_sg_table' was not declared. Should it be static?
@ 2019-04-26 10:27 kbuild test robot
2019-04-26 10:27 ` [RFC PATCH mmotm] virtgpu_gem_prime_import_sg_table() can be static kbuild test robot
0 siblings, 1 reply; 2+ messages in thread
From: kbuild test robot @ 2019-04-26 10:27 UTC (permalink / raw)
To: Andrew Morton
Cc: kbuild-all, Linux Memory Management List, Manfred Spraul,
Johannes Weiner
tree: git://git.cmpxchg.org/linux-mmotm.git master
head: 244c9142b31406e378f2cf5999774ffcbb919753
commit: 4a323f14cbb77c852f8420baababbe20304d8ce4 [351/375] linux-next-git-rejects
reproduce:
# apt-get install sparse
git checkout 4a323f14cbb77c852f8420baababbe20304d8ce4
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@intel.com>
sparse warnings: (new ones prefixed by >>)
>> drivers/gpu/drm/virtio/virtgpu_prime.c:43:23: sparse: sparse: symbol 'virtgpu_gem_prime_import_sg_table' was not declared. Should it be static?
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
^ permalink raw reply [flat|nested] 2+ messages in thread* [RFC PATCH mmotm] virtgpu_gem_prime_import_sg_table() can be static
2019-04-26 10:27 [mmotm:master 351/375] drivers/gpu/drm/virtio/virtgpu_prime.c:43:23: sparse: sparse: symbol 'virtgpu_gem_prime_import_sg_table' was not declared. Should it be static? kbuild test robot
@ 2019-04-26 10:27 ` kbuild test robot
0 siblings, 0 replies; 2+ messages in thread
From: kbuild test robot @ 2019-04-26 10:27 UTC (permalink / raw)
To: Andrew Morton
Cc: kbuild-all, Linux Memory Management List, Manfred Spraul,
Johannes Weiner
Fixes: 4a323f14cbb7 ("linux-next-git-rejects")
Signed-off-by: kbuild test robot <lkp@intel.com>
---
virtgpu_prime.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/virtio/virtgpu_prime.c b/drivers/gpu/drm/virtio/virtgpu_prime.c
index 8fbf71b..6e8880e3 100644
--- a/drivers/gpu/drm/virtio/virtgpu_prime.c
+++ b/drivers/gpu/drm/virtio/virtgpu_prime.c
@@ -40,7 +40,7 @@ struct sg_table *virtgpu_gem_prime_get_sg_table(struct drm_gem_object *obj)
bo->tbo.ttm->num_pages);
}
-struct drm_gem_object *virtgpu_gem_prime_import_sg_table(
+static struct drm_gem_object *virtgpu_gem_prime_import_sg_table(
struct drm_device *dev, struct dma_buf_attachment *attach,
struct sg_table *table)
{
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-04-26 10:28 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-26 10:27 [mmotm:master 351/375] drivers/gpu/drm/virtio/virtgpu_prime.c:43:23: sparse: sparse: symbol 'virtgpu_gem_prime_import_sg_table' was not declared. Should it be static? kbuild test robot
2019-04-26 10:27 ` [RFC PATCH mmotm] virtgpu_gem_prime_import_sg_table() can be static kbuild test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox