All of lore.kernel.org
 help / color / mirror / Atom feed
* [krzk-github:wip/qcom-rt 56/380] drivers/of/property.c:1195:28: warning: 'parse_remote_endpoint' defined but not used
@ 2023-01-20  4:19 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-01-20  4:19 UTC (permalink / raw)
  To: Dmitry Baryshkov; +Cc: oe-kbuild-all

tree:   https://github.com/krzk/linux wip/qcom-rt
head:   6880445158dd6376c96b5898fa41a7a3f8898b7d
commit: d48e81e7ae9a16ecbe7462d504a5de7b7e5e81d3 [56/380] Revert "of: property: fw_devlink: Add support for remote-endpoint"
config: i386-randconfig-m021 (https://download.01.org/0day-ci/archive/20230120/202301201206.rVScY6y3-lkp@intel.com/config)
compiler: gcc-11 (Debian 11.3.0-8) 11.3.0
reproduce (this is a W=1 build):
        # https://github.com/krzk/linux/commit/d48e81e7ae9a16ecbe7462d504a5de7b7e5e81d3
        git remote add krzk-github https://github.com/krzk/linux
        git fetch --no-tags krzk-github wip/qcom-rt
        git checkout d48e81e7ae9a16ecbe7462d504a5de7b7e5e81d3
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        make W=1 O=build_dir ARCH=i386 olddefconfig
        make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash

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

All warnings (new ones prefixed by >>):

>> drivers/of/property.c:1195:28: warning: 'parse_remote_endpoint' defined but not used [-Wunused-function]
    1195 | static struct device_node *parse_##fname(struct device_node *np,          \
         |                            ^~~~~~
   drivers/of/property.c:1299:1: note: in expansion of macro 'DEFINE_SIMPLE_PROP'
    1299 | DEFINE_SIMPLE_PROP(remote_endpoint, "remote-endpoint", NULL)
         | ^~~~~~~~~~~~~~~~~~


vim +/parse_remote_endpoint +1195 drivers/of/property.c

a3e1d1a7f5fccc Saravana Kannan 2019-09-04  1193  
a436ef4aba1f01 Saravana Kannan 2019-11-04  1194  #define DEFINE_SIMPLE_PROP(fname, name, cells)				  \
a436ef4aba1f01 Saravana Kannan 2019-11-04 @1195  static struct device_node *parse_##fname(struct device_node *np,	  \
a436ef4aba1f01 Saravana Kannan 2019-11-04  1196  					const char *prop_name, int index) \
a436ef4aba1f01 Saravana Kannan 2019-11-04  1197  {									  \
a436ef4aba1f01 Saravana Kannan 2019-11-04  1198  	return parse_prop_cells(np, prop_name, index, name, cells);	  \
a3e1d1a7f5fccc Saravana Kannan 2019-09-04  1199  }
a3e1d1a7f5fccc Saravana Kannan 2019-09-04  1200  

:::::: The code at line 1195 was first introduced by commit
:::::: a436ef4aba1f011fa25f35fe7922d577ecde6c7c of: property: Make it easy to add device links from DT properties

:::::: TO: Saravana Kannan <saravanak@google.com>
:::::: CC: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests

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

only message in thread, other threads:[~2023-01-20  4:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-20  4:19 [krzk-github:wip/qcom-rt 56/380] drivers/of/property.c:1195:28: warning: 'parse_remote_endpoint' defined but not used 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.