* [habanaai:habanalabs-next 3/7] drivers/misc/habanalabs/hw_queue.c:755:6: sparse: sparse: symbol 'sync_stream_queue_reset' was not declared. Should it be
@ 2020-06-16 12:55 kernel test robot
2020-06-16 12:55 ` [RFC PATCH habanaai] habanalabs: sync_stream_queue_reset() can be static kernel test robot
0 siblings, 1 reply; 2+ messages in thread
From: kernel test robot @ 2020-06-16 12:55 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 1091 bytes --]
tree: https://github.com/HabanaAI/linux.git habanalabs-next
head: 9f1f5fec2fa4fdc6fd885cede11eded0026afc48
commit: d3a635399f51a0b7d478b758239d23ec4cc1a4af [3/7] habanalabs: sync stream generic functionality
config: x86_64-randconfig-s021-20200615 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-13) 9.3.0
reproduce:
# apt-get install sparse
# sparse version: v0.6.2-rc1-3-g55607964-dirty
git checkout d3a635399f51a0b7d478b758239d23ec4cc1a4af
# save the attached .config to linux build tree
make W=1 C=1 ARCH=x86_64 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__'
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/misc/habanalabs/hw_queue.c:755:6: sparse: sparse: symbol 'sync_stream_queue_reset' 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: 31720 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* [RFC PATCH habanaai] habanalabs: sync_stream_queue_reset() can be static
2020-06-16 12:55 [habanaai:habanalabs-next 3/7] drivers/misc/habanalabs/hw_queue.c:755:6: sparse: sparse: symbol 'sync_stream_queue_reset' was not declared. Should it be kernel test robot
@ 2020-06-16 12:55 ` kernel test robot
0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2020-06-16 12:55 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 724 bytes --]
Fixes: d3a635399f51 ("habanalabs: sync stream generic functionality")
Signed-off-by: kernel test robot <lkp@intel.com>
---
hw_queue.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/misc/habanalabs/hw_queue.c b/drivers/misc/habanalabs/hw_queue.c
index a8fa8021c617e..27f0c34b63b9b 100644
--- a/drivers/misc/habanalabs/hw_queue.c
+++ b/drivers/misc/habanalabs/hw_queue.c
@@ -752,7 +752,7 @@ static void sync_stream_queue_init(struct hl_device *hdev, u32 q_idx)
}
}
-void sync_stream_queue_reset(struct hl_device *hdev, u32 q_idx)
+static void sync_stream_queue_reset(struct hl_device *hdev, u32 q_idx)
{
struct hl_hw_queue *hw_queue = &hdev->kernel_queues[q_idx];
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-06-16 12:55 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-06-16 12:55 [habanaai:habanalabs-next 3/7] drivers/misc/habanalabs/hw_queue.c:755:6: sparse: sparse: symbol 'sync_stream_queue_reset' was not declared. Should it be kernel test robot
2020-06-16 12:55 ` [RFC PATCH habanaai] habanalabs: sync_stream_queue_reset() 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.