All of lore.kernel.org
 help / color / mirror / Atom feed
* [skn:v5.10/ffa 3/7] drivers/firmware/arm_ffa/bus.c:149:6: warning: no previous prototype for 'ffa_device_is_valid'
@ 2020-12-04 17:36 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2020-12-04 17:36 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 2104 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/sudeep.holla/linux.git v5.10/ffa
head:   2cfe2ac357730fed491b3432a6278d90043b387d
commit: 5e561e44df4ab71c325826ae4c07582f4caf73f5 [3/7] firmware: arm_ffa: Add initial FFA bus support for device enumeration
config: arm64-allyesconfig (attached as .config)
compiler: aarch64-linux-gcc (GCC) 9.3.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/sudeep.holla/linux.git/commit/?id=5e561e44df4ab71c325826ae4c07582f4caf73f5
        git remote add skn https://git.kernel.org/pub/scm/linux/kernel/git/sudeep.holla/linux.git
        git fetch --no-tags skn v5.10/ffa
        git checkout 5e561e44df4ab71c325826ae4c07582f4caf73f5
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arm64 

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/firmware/arm_ffa/bus.c:149:6: warning: no previous prototype for 'ffa_device_is_valid' [-Wmissing-prototypes]
     149 | bool ffa_device_is_valid(struct ffa_device *ffa_dev)
         |      ^~~~~~~~~~~~~~~~~~~

vim +/ffa_device_is_valid +149 drivers/firmware/arm_ffa/bus.c

   148	
 > 149	bool ffa_device_is_valid(struct ffa_device *ffa_dev)
   150	{
   151		bool valid = false;
   152		struct device *dev;
   153		struct ffa_device *tmp_dev;
   154	
   155		do {
   156			dev = bus_find_next_device(&ffa_bus_type, NULL);
   157			tmp_dev = to_ffa_dev(dev);
   158			if (tmp_dev == ffa_dev) {
   159				valid = true;
   160				break;
   161			}
   162			put_device(dev);
   163		} while (dev);
   164	
   165		put_device(dev);
   166	
   167		return valid;
   168	}
   169	

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

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 75501 bytes --]

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

only message in thread, other threads:[~2020-12-04 17:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-04 17:36 [skn:v5.10/ffa 3/7] drivers/firmware/arm_ffa/bus.c:149:6: warning: no previous prototype for 'ffa_device_is_valid' kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.