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]
Date:   Sun, 16 Jan 2022 21:45:49 +0800
From:   kernel test robot <lkp@...el.com>
To:     Bart Van Assche <bvanassche@....org>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org
Subject: [bvanassche:scsi-move-scsi-pointer 16/18]
 drivers/scsi/fdomain.c:122:22: warning: no previous prototype for
 'fdomain_scsi_pointer'

tree:   https://github.com/bvanassche/linux scsi-move-scsi-pointer
head:   7173550f8dd7130891118452742bb6e99b63fd27
commit: 6eea006091e2b2b428a910feb8041bbb99aa707d [16/18] fdomain: Move the SCSI pointer to private command data
config: i386-randconfig-a005 (https://download.01.org/0day-ci/archive/20220116/202201162111.5FI8my1D-lkp@intel.com/config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
        # https://github.com/bvanassche/linux/commit/6eea006091e2b2b428a910feb8041bbb99aa707d
        git remote add bvanassche https://github.com/bvanassche/linux
        git fetch --no-tags bvanassche scsi-move-scsi-pointer
        git checkout 6eea006091e2b2b428a910feb8041bbb99aa707d
        # save the config file to linux build tree
        mkdir build_dir
        make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash drivers/scsi/

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/scsi/fdomain.c:122:22: warning: no previous prototype for 'fdomain_scsi_pointer' [-Wmissing-prototypes]
     122 | struct scsi_pointer *fdomain_scsi_pointer(struct scsi_cmnd *cmd)
         |                      ^~~~~~~~~~~~~~~~~~~~


vim +/fdomain_scsi_pointer +122 drivers/scsi/fdomain.c

   121	
 > 122	struct scsi_pointer *fdomain_scsi_pointer(struct scsi_cmnd *cmd)
   123	{
   124		struct fdomain_priv *fcmd = scsi_cmd_priv(cmd);
   125	
   126		return &fcmd->scsi_pointer;
   127	}
   128	

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ