From: kbuild test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [linuxppc:next-test 6/37] include/linux/sysfs.h:515:12: error: 'compat_only_sysfs_link_entry_to_kobj' defined but not used
Date: Mon, 10 Feb 2020 22:41:04 +0800 [thread overview]
Message-ID: <202002102201.pGgxgAzK%lkp@intel.com> (raw)
[-- 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 --]
reply other threads:[~2020-02-10 14:41 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202002102201.pGgxgAzK%lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.