All of lore.kernel.org
 help / color / mirror / Atom feed
* drivers/base/dd.c:310:7: error: implicit declaration of function 'fw_devlink_get_flags'
@ 2021-01-21 12:00 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-01-21 12:00 UTC (permalink / raw)
  To: kbuild-all

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

tree:   https://github.com/0day-ci/linux/commits/UPDATE-20210121-164128/Saravana-Kannan/Enable-fw_devlink-on-by-default/20201218-112111
head:   4575daba2a1d7e497f93ddfc7c7908d6edb3f152
commit: 4575daba2a1d7e497f93ddfc7c7908d6edb3f152 driver: core: Make fw_devlink=on more forgiving
date:   3 hours ago
config: alpha-randconfig-r025-20210121 (attached as .config)
compiler: alpha-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://github.com/0day-ci/linux/commit/4575daba2a1d7e497f93ddfc7c7908d6edb3f152
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review UPDATE-20210121-164128/Saravana-Kannan/Enable-fw_devlink-on-by-default/20201218-112111
        git checkout 4575daba2a1d7e497f93ddfc7c7908d6edb3f152
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=alpha 

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

All errors (new ones prefixed by >>):

   drivers/base/dd.c: In function 'deferred_probe_fw_devlink_unblock':
>> drivers/base/dd.c:310:7: error: implicit declaration of function 'fw_devlink_get_flags' [-Werror=implicit-function-declaration]
     310 |  if (!fw_devlink_get_flags() || fw_devlink_is_permissive())
         |       ^~~~~~~~~~~~~~~~~~~~
   cc1: some warnings being treated as errors


vim +/fw_devlink_get_flags +310 drivers/base/dd.c

   303	
   304	static bool deferred_probe_fw_devlink_unblock(void)
   305	{
   306		struct device *dev;
   307		struct device_private *private;
   308		bool unblocked = false;
   309	
 > 310		if (!fw_devlink_get_flags() || fw_devlink_is_permissive())
   311			return false;
   312	
   313		mutex_lock(&deferred_probe_mutex);
   314		list_for_each_entry(private, &deferred_probe_pending_list, deferred_probe) {
   315			dev = private->device;
   316			unblocked |= fw_devlink_unblock_probe(dev);
   317		}
   318		mutex_unlock(&deferred_probe_mutex);
   319	
   320		return unblocked;
   321	}
   322	

---
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: 23751 bytes --]

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

only message in thread, other threads:[~2021-01-21 12:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-21 12:00 drivers/base/dd.c:310:7: error: implicit declaration of function 'fw_devlink_get_flags' 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.