lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202204020706.ouqJkQDU-lkp@intel.com>
Date:   Sat, 2 Apr 2022 07:12:39 +0800
From:   kernel test robot <lkp@...el.com>
To:     Dafna Hirschfeld <dhirschfeld@...ana.ai>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
        Oded Gabbay <ogabbay@...nel.org>
Subject: [ogabbay:habanalabs-next 25/28]
 drivers/misc/habanalabs/goya/goya.c:4265:5: warning: no previous prototype
 for 'goya_debugfs_read_dma'

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: alpha-allyesconfig (https://download.01.org/0day-ci/archive/20220402/202204020706.ouqJkQDU-lkp@intel.com/config)
compiler: alpha-linux-gcc (GCC) 11.2.0
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=gcc-11.2.0 make.cross O=build_dir ARCH=alpha SHELL=/bin/bash drivers/misc/

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

All warnings (new ones prefixed by >>):

>> drivers/misc/habanalabs/goya/goya.c:4265:5: warning: no previous prototype for 'goya_debugfs_read_dma' [-Wmissing-prototypes]
    4265 | int goya_debugfs_read_dma(struct hl_device *hdev, u64 addr, u32 size,
         |     ^~~~~~~~~~~~~~~~~~~~~


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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ