From: kbuild test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [linux-stable-rc:linux-4.4.y 7661/9999] include/linux/slab.h:546: undefined reference to `__multi3'
Date: Mon, 18 May 2020 08:46:39 +0800 [thread overview]
Message-ID: <20200518004639.GC4344@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 2540 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-4.4.y
head: ceb6b0b3f45d368cf15b65cb3d690cffaab7bf38
commit: 44d3e9852350e7797096097f47fd3972b94fb657 [7661/9999] USB: ldusb: fix read info leaks
config: sparc64-randconfig-r015-20200517 (attached as .config)
compiler: sparc64-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 44d3e9852350e7797096097f47fd3972b94fb657
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day GCC_VERSION=7.5.0 make.cross ARCH=sparc64
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 >>, old ones prefixed by <<):
ipc/built-in.o: In function `mq_attr_ok':
ipc/mqueue.c:717: undefined reference to `__multi3'
drivers/built-in.o: In function `kmalloc_array':
>> include/linux/slab.h:546: undefined reference to `__multi3'
vim +546 include/linux/slab.h
ba6c496ed834a3 Glauber Costa 2012-12-18 537
e7efa615ccf783 Michael Opdenacker 2013-06-25 538 /**
e7efa615ccf783 Michael Opdenacker 2013-06-25 539 * kmalloc_array - allocate memory for an array.
e7efa615ccf783 Michael Opdenacker 2013-06-25 540 * @n: number of elements.
e7efa615ccf783 Michael Opdenacker 2013-06-25 541 * @size: element size.
e7efa615ccf783 Michael Opdenacker 2013-06-25 542 * @flags: the type of memory to allocate (see kmalloc).
800590f523bf3b Paul Drynoff 2006-06-23 543 */
a8203725dfded5 Xi Wang 2012-03-05 544 static inline void *kmalloc_array(size_t n, size_t size, gfp_t flags)
^1da177e4c3f41 Linus Torvalds 2005-04-16 545 {
a3860c1c5dd113 Xi Wang 2012-05-31 @546 if (size != 0 && n > SIZE_MAX / size)
6193a2ff180920 Paul Mundt 2007-07-15 547 return NULL;
a8203725dfded5 Xi Wang 2012-03-05 548 return __kmalloc(n * size, flags);
a8203725dfded5 Xi Wang 2012-03-05 549 }
a8203725dfded5 Xi Wang 2012-03-05 550
:::::: The code at line 546 was first introduced by commit
:::::: a3860c1c5dd1137db23d7786d284939c5761d517 introduce SIZE_MAX
:::::: TO: Xi Wang <xi.wang@gmail.com>
:::::: CC: Linus Torvalds <torvalds@linux-foundation.org>
---
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: 26373 bytes --]
reply other threads:[~2020-05-18 0:46 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=20200518004639.GC4344@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.