mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [bvanassche:scsi-move-scsi-pointer 24/45] drivers/scsi/mac53c94.h:219:22: warning: no previous prototype for 'mac53c94_scsi_pointer'
@ 2022-01-24 16:03 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-01-24 16:03 UTC (permalink / raw)
  To: Bart Van Assche; +Cc: kbuild-all, linux-kernel

tree:   https://github.com/bvanassche/linux scsi-move-scsi-pointer
head:   83b0eca2b3e354c26f2dbfcc765d97c35de34a57
commit: 7d78660acf74697fe6470e6f95fbeacca3113524 [24/45] mac53c94: Move the SCSI pointer to private command data
config: powerpc-ppc6xx_defconfig (https://download.01.org/0day-ci/archive/20220124/202201242330.fIUDhR7w-lkp@intel.com/config)
compiler: powerpc-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://github.com/bvanassche/linux/commit/7d78660acf74697fe6470e6f95fbeacca3113524
        git remote add bvanassche https://github.com/bvanassche/linux
        git fetch --no-tags bvanassche scsi-move-scsi-pointer
        git checkout 7d78660acf74697fe6470e6f95fbeacca3113524
        # 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=powerpc SHELL=/bin/bash drivers/

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

   In file included from drivers/scsi/mac53c94.c:34:
>> drivers/scsi/mac53c94.h:219:22: warning: no previous prototype for 'mac53c94_scsi_pointer' [-Wmissing-prototypes]
     219 | struct scsi_pointer *mac53c94_scsi_pointer(struct scsi_cmnd *cmd)
         |                      ^~~~~~~~~~~~~~~~~~~~~
   drivers/scsi/mac53c94.c: In function 'mac53c94_init':
   drivers/scsi/mac53c94.c:128:13: warning: variable 'x' set but not used [-Wunused-but-set-variable]
     128 |         int x;
         |             ^


vim +/mac53c94_scsi_pointer +219 drivers/scsi/mac53c94.h

   218	
 > 219	struct scsi_pointer *mac53c94_scsi_pointer(struct scsi_cmnd *cmd)
   220	{
   221		struct mac53c94_cmd_priv *mcmd = scsi_cmd_priv(cmd);
   222	
   223		return &mcmd->scsi_pointer;
   224	}
   225	

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

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

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

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-24 16:03 [bvanassche:scsi-move-scsi-pointer 24/45] drivers/scsi/mac53c94.h:219:22: warning: no previous prototype for 'mac53c94_scsi_pointer' 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