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: <202111052013.f79RPg38-lkp@intel.com>
Date:   Fri, 5 Nov 2021 20:12:19 +0800
From:   kernel test robot <lkp@...el.com>
To:     Alan Tull <atull@...nsource.altera.com>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
        Dinh Nguyen <dinh.nguyen@...el.com>
Subject: [dinguyen:socfpga-5.14_v1 10/121]
 drivers/fpga/fpga-mgr-debugfs.h:30:6: warning: no previous prototype for
 'fpga_mgr_debugfs_add'

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/dinguyen/linux.git socfpga-5.14_v1
head:   cc7ba8d9b34b85acfbeefb77fa57c116c733c2c4
commit: 0f594e3dee07f3a29f4f5f1ac7e71887cf2f0f57 [10/121] FogBugz #398879-2: fpga mgr debugfs
config: sparc-buildonly-randconfig-r002-20211105 (attached as .config)
compiler: sparc-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/dinguyen/linux.git/commit/?id=0f594e3dee07f3a29f4f5f1ac7e71887cf2f0f57
        git remote add dinguyen https://git.kernel.org/pub/scm/linux/kernel/git/dinguyen/linux.git
        git fetch --no-tags dinguyen socfpga-5.14_v1
        git checkout 0f594e3dee07f3a29f4f5f1ac7e71887cf2f0f57
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=sparc 

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 >>):

   In file included from drivers/fpga/fpga-mgr.c:20:
>> drivers/fpga/fpga-mgr-debugfs.h:30:6: warning: no previous prototype for 'fpga_mgr_debugfs_add' [-Wmissing-prototypes]
      30 | void fpga_mgr_debugfs_add(struct fpga_manager *mgr) {}
         |      ^~~~~~~~~~~~~~~~~~~~
>> drivers/fpga/fpga-mgr-debugfs.h:31:6: warning: no previous prototype for 'fpga_mgr_debugfs_remove' [-Wmissing-prototypes]
      31 | void fpga_mgr_debugfs_remove(struct fpga_manager *mgr) {}
         |      ^~~~~~~~~~~~~~~~~~~~~~~
>> drivers/fpga/fpga-mgr-debugfs.h:32:6: warning: no previous prototype for 'fpga_mgr_debugfs_init' [-Wmissing-prototypes]
      32 | void fpga_mgr_debugfs_init(void) {}
         |      ^~~~~~~~~~~~~~~~~~~~~
>> drivers/fpga/fpga-mgr-debugfs.h:33:6: warning: no previous prototype for 'fpga_mgr_debugfs_uninit' [-Wmissing-prototypes]
      33 | void fpga_mgr_debugfs_uninit(void) {}
         |      ^~~~~~~~~~~~~~~~~~~~~~~


vim +/fpga_mgr_debugfs_add +30 drivers/fpga/fpga-mgr-debugfs.h

    29	
  > 30	void fpga_mgr_debugfs_add(struct fpga_manager *mgr) {}
  > 31	void fpga_mgr_debugfs_remove(struct fpga_manager *mgr) {}
  > 32	void fpga_mgr_debugfs_init(void) {}
  > 33	void fpga_mgr_debugfs_uninit(void) {}
    34	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

Download attachment ".config.gz" of type "application/gzip" (27654 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ