tree:
https://github.com/HabanaAI/linux.git habanalabs-next
head: 9f1f5fec2fa4fdc6fd885cede11eded0026afc48
commit: d3a635399f51a0b7d478b758239d23ec4cc1a4af [3/7] habanalabs: sync stream generic
functionality
config: x86_64-allyesconfig (attached as .config)
compiler: clang version 11.0.0 (
https://github.com/llvm/llvm-project
487ca07fcc75d52755c9fe2ee05bcb3b6eeeec44)
reproduce (this is a W=1 build):
wget
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O
~/bin/make.cross
chmod +x ~/bin/make.cross
# install x86_64 cross compiling tool for clang build
# apt-get install binutils-x86-64-linux-gnu
git checkout d3a635399f51a0b7d478b758239d23ec4cc1a4af
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>, old ones prefixed by <<):
> drivers/misc/habanalabs/hw_queue.c:755:6: warning: no previous
prototype for function 'sync_stream_queue_reset' [-Wmissing-prototypes]
void
sync_stream_queue_reset(struct hl_device *hdev, u32 q_idx)
^
drivers/misc/habanalabs/hw_queue.c:755:1: note: declare 'static' if the function
is not intended to be used outside of this translation unit
void sync_stream_queue_reset(struct hl_device *hdev, u32 q_idx)
^
static
1 warning generated.
vim +/sync_stream_queue_reset +755 drivers/misc/habanalabs/hw_queue.c
754
755 void sync_stream_queue_reset(struct hl_device *hdev, u32 q_idx)
756 {
757 struct hl_hw_queue *hw_queue = &hdev->kernel_queues[q_idx];
758
759 /*
760 * In case we got here due to a stuck CS, the refcnt might be bigger
761 * than 1 and therefore we reset it.
762 */
763 kref_init(&hw_queue->hw_sob[hw_queue->curr_sob_offset].kref);
764 hw_queue->curr_sob_offset = 0;
765 hw_queue->next_sob_val = 1;
766 }
767
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org