mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [ogabbay:habanalabs-next 25/28] drivers/misc/habanalabs/goya/goya.c:4265:5: warning: no previous prototype for function 'goya_debugfs_read_dma'
@ 2022-04-01 23:33 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-04-01 23:33 UTC (permalink / raw)
  To: Dafna Hirschfeld; +Cc: llvm, kbuild-all, linux-kernel, Oded Gabbay

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/ogabbay/linux.git habanalabs-next
head:   fa59c43c5c906277ab3b753d782488ef4fd3ba62
commit: cb162eee0d9f31c21860a9f454563abde2ff30aa [25/28] habanalabs: remove debugfs read/write callbacks
config: x86_64-randconfig-a014 (https://download.01.org/0day-ci/archive/20220402/202204020715.RF7P32XV-lkp@intel.com/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project cc2e2b80a1f36a28fa7c96c38c2674b10868f09f)
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
        # https://git.kernel.org/pub/scm/linux/kernel/git/ogabbay/linux.git/commit/?id=cb162eee0d9f31c21860a9f454563abde2ff30aa
        git remote add ogabbay https://git.kernel.org/pub/scm/linux/kernel/git/ogabbay/linux.git
        git fetch --no-tags ogabbay habanalabs-next
        git checkout cb162eee0d9f31c21860a9f454563abde2ff30aa
        # save the config file to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash drivers/misc/

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All warnings (new ones prefixed by >>):

>> drivers/misc/habanalabs/goya/goya.c:4265:5: warning: no previous prototype for function 'goya_debugfs_read_dma' [-Wmissing-prototypes]
   int goya_debugfs_read_dma(struct hl_device *hdev, u64 addr, u32 size,
       ^
   drivers/misc/habanalabs/goya/goya.c:4265:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
   int goya_debugfs_read_dma(struct hl_device *hdev, u64 addr, u32 size,
   ^
   static 
   1 warning generated.


vim +/goya_debugfs_read_dma +4265 drivers/misc/habanalabs/goya/goya.c

  4264	
> 4265	int goya_debugfs_read_dma(struct hl_device *hdev, u64 addr, u32 size,
  4266					void *blob_addr)
  4267	{
  4268		dev_err(hdev->dev, "Reading via DMA is unimplemented yet\n");
  4269		return -EPERM;
  4270	}
  4271	

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp

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

only message in thread, other threads:[~2022-04-01 23:34 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-01 23:33 [ogabbay:habanalabs-next 25/28] drivers/misc/habanalabs/goya/goya.c:4265:5: warning: no previous prototype for function 'goya_debugfs_read_dma' 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

Powered by JetHome