public inbox for llvm@lists.linux.dev
 help / color / mirror / Atom feed
* Re: [PATCH 5/6] accel/habanalabs/gaudi2: move HMMU page tables to device memory
       [not found] <20240102150654.522555-5-ogabbay@kernel.org>
@ 2024-01-04 12:47 ` kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-01-04 12:47 UTC (permalink / raw)
  To: Oded Gabbay; +Cc: llvm, oe-kbuild-all

Hi Oded,

kernel test robot noticed the following build warnings:

[auto build test WARNING on drm-tip/drm-tip]
[cannot apply to drm-misc/drm-misc-next linus/master v6.7-rc8 next-20240104]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]

url:    https://github.com/intel-lab-lkp/linux/commits/Oded-Gabbay/accel-habanalabs-gaudi2-add-interrupt-affinity-for-user-interrupts/20240102-231007
base:   git://anongit.freedesktop.org/drm/drm-tip drm-tip
patch link:    https://lore.kernel.org/r/20240102150654.522555-5-ogabbay%40kernel.org
patch subject: [PATCH 5/6] accel/habanalabs/gaudi2: move HMMU page tables to device memory
config: x86_64-buildonly-randconfig-003-20240103 (https://download.01.org/0day-ci/archive/20240104/202401042015.r2eyzYmv-lkp@intel.com/config)
compiler: ClangBuiltLinux clang version 17.0.6 (https://github.com/llvm/llvm-project 6009708b4367171ccdbf4b5905cb6a803753fe18)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240104/202401042015.r2eyzYmv-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202401042015.r2eyzYmv-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> drivers/accel/habanalabs/gaudi2/gaudi2.c:2311:6: warning: no previous prototype for function 'gaudi2_is_edma_queue_id' [-Wmissing-prototypes]
    2311 | bool gaudi2_is_edma_queue_id(u32 queue_id)
         |      ^
   drivers/accel/habanalabs/gaudi2/gaudi2.c:2311:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
    2311 | bool gaudi2_is_edma_queue_id(u32 queue_id)
         | ^
         | static 
   1 warning generated.


vim +/gaudi2_is_edma_queue_id +2311 drivers/accel/habanalabs/gaudi2/gaudi2.c

  2310	
> 2311	bool gaudi2_is_edma_queue_id(u32 queue_id)
  2312	{
  2313	
  2314		switch (queue_id) {
  2315		case GAUDI2_QUEUE_ID_DCORE0_EDMA_0_0...GAUDI2_QUEUE_ID_DCORE0_EDMA_1_3:
  2316		case GAUDI2_QUEUE_ID_DCORE1_EDMA_0_0...GAUDI2_QUEUE_ID_DCORE1_EDMA_1_3:
  2317		case GAUDI2_QUEUE_ID_DCORE2_EDMA_0_0...GAUDI2_QUEUE_ID_DCORE2_EDMA_1_3:
  2318		case GAUDI2_QUEUE_ID_DCORE3_EDMA_0_0...GAUDI2_QUEUE_ID_DCORE3_EDMA_1_3:
  2319			return true;
  2320		default:
  2321			return false;
  2322		}
  2323	}
  2324	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-01-04 12:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20240102150654.522555-5-ogabbay@kernel.org>
2024-01-04 12:47 ` [PATCH 5/6] accel/habanalabs/gaudi2: move HMMU page tables to device memory kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox