All of lore.kernel.org
 help / color / mirror / Atom feed
* [linuxppc:next-test 6/37] include/linux/sysfs.h:515:12: error: 'compat_only_sysfs_link_entry_to_kobj' defined but not used
@ 2020-02-10 14:41 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2020-02-10 14:41 UTC (permalink / raw)
  To: kbuild-all

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

tree:   https://github.com/linuxppc/linux next-test
head:   36468c325e3aeb621c7565f8a8313a2eaafeda08
commit: d86bf077e526b577d167870a9ed7336309573fe9 [6/37] sysfs: Wrap __compat_only_sysfs_link_entry_to_kobj function to change the symlink name
config: sh-allnoconfig (attached as .config)
compiler: sh4-linux-gcc (GCC) 7.5.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout d86bf077e526b577d167870a9ed7336309573fe9
        # save the attached .config to linux build tree
        GCC_VERSION=7.5.0 make.cross ARCH=sh 

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

All errors (new ones prefixed by >>):

   In file included from include/linux/kobject.h:20:0,
                    from include/linux/module.h:20,
                    from arch/sh/kernel/io.c:8:
>> include/linux/sysfs.h:515:12: error: 'compat_only_sysfs_link_entry_to_kobj' defined but not used [-Werror=unused-function]
    static int compat_only_sysfs_link_entry_to_kobj(struct kobject *kobj,
               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   cc1: all warnings being treated as errors

vim +/compat_only_sysfs_link_entry_to_kobj +515 include/linux/sysfs.h

   514	
 > 515	static int compat_only_sysfs_link_entry_to_kobj(struct kobject *kobj,
   516							struct kobject *target_kobj,
   517							const char *target_name,
   518							const char *symlink_name)
   519	{
   520		return 0;
   521	}
   522	

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

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

only message in thread, other threads:[~2020-02-10 14:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-02-10 14:41 [linuxppc:next-test 6/37] include/linux/sysfs.h:515:12: error: 'compat_only_sysfs_link_entry_to_kobj' defined but not used kbuild 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.