linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Janosch Frank <frankja@linux.ibm.com>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org,
	Christian Borntraeger <borntraeger@de.ibm.com>,
	Cornelia Huck <cohuck@redhat.com>,
	David Hildenbrand <david@redhat.com>
Subject: arch/s390/kernel/uv.c:366: undefined reference to `uv_info'
Date: Tue, 21 Apr 2020 18:43:11 +0800	[thread overview]
Message-ID: <202004211808.FRjbYRqI%lkp@intel.com> (raw)

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   ae83d0b416db002fe95601e7f97f64b59514d936
commit: a0f60f8431999bf57cf53c3b27c47ef156b4fa17 s390/protvirt: Add sysfs firmware interface for Ultravisor information
date:   8 weeks ago
config: s390-randconfig-a001-20200421 (attached as .config)
compiler: s390-linux-gcc (GCC) 9.3.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 a0f60f8431999bf57cf53c3b27c47ef156b4fa17
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day GCC_VERSION=9.3.0 make.cross ARCH=s390 

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

All errors (new ones prefixed by >>):

   s390-linux-ld: arch/s390/kernel/uv.o: in function `uv_query_max_guest_addr':
>> arch/s390/kernel/uv.c:366: undefined reference to `uv_info'
>> s390-linux-ld: arch/s390/kernel/uv.c:366: undefined reference to `uv_info'
   s390-linux-ld: arch/s390/kernel/uv.o: in function `uv_query_max_guest_vms':
   arch/s390/kernel/uv.c:356: undefined reference to `uv_info'
   s390-linux-ld: arch/s390/kernel/uv.c:356: undefined reference to `uv_info'
   s390-linux-ld: arch/s390/kernel/uv.o: in function `uv_query_max_guest_cpus':
   arch/s390/kernel/uv.c:347: undefined reference to `uv_info'
   s390-linux-ld: arch/s390/kernel/uv.o:arch/s390/kernel/uv.c:347: more undefined references to `uv_info' follow

vim +366 arch/s390/kernel/uv.c

   359	
   360	static struct kobj_attribute uv_query_max_guest_vms_attr =
   361		__ATTR(max_guests, 0444, uv_query_max_guest_vms, NULL);
   362	
   363	static ssize_t uv_query_max_guest_addr(struct kobject *kobj,
   364					       struct kobj_attribute *attr, char *page)
   365	{
 > 366		return snprintf(page, PAGE_SIZE, "%lx\n",
   367				uv_info.max_sec_stor_addr);
   368	}
   369	

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

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

                 reply	other threads:[~2020-04-21 10:50 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=202004211808.FRjbYRqI%lkp@intel.com \
    --to=lkp@intel.com \
    --cc=borntraeger@de.ibm.com \
    --cc=cohuck@redhat.com \
    --cc=david@redhat.com \
    --cc=frankja@linux.ibm.com \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-kernel@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).