All of lore.kernel.org
 help / color / mirror / Atom feed
* [android-common:android-mainline 399/454] kernel/module_signing.c:33: undefined reference to `mod_check_sig'
@ 2019-11-12  8:45 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2019-11-12  8:45 UTC (permalink / raw)
  To: kbuild-all

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

Hi Greg,

It's probably a bug fix that unveils the link errors.

tree:   https://android.googlesource.com/kernel/common android-mainline
head:   bf868444c2b730f295730bb8a0eb50a80ef2fdfc
commit: 54087918b8d5d43ca0515c60170e2453b84d9f83 [399/454] ANDROID: modpost: fix up merge issues due to namespace removal
config: x86_64-rhel-7.6-kasan (attached as .config)
compiler: gcc-7 (Debian 7.4.0-14) 7.4.0
reproduce:
        git checkout 54087918b8d5d43ca0515c60170e2453b84d9f83
        # save the attached .config to linux build tree
        make ARCH=x86_64 

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

All errors (new ones prefixed by >>):

   ld: kernel/module_signing.o: in function `mod_verify_sig':
>> kernel/module_signing.c:33: undefined reference to `mod_check_sig'

vim +33 kernel/module_signing.c

106a4ee258d148 Rusty Russell         2012-09-26  16  
106a4ee258d148 Rusty Russell         2012-09-26  17  /*
106a4ee258d148 Rusty Russell         2012-09-26  18   * Verify the signature on a module.
106a4ee258d148 Rusty Russell         2012-09-26  19   */
f314dfea16a085 Jessica Yu            2018-06-29  20  int mod_verify_sig(const void *mod, struct load_info *info)
106a4ee258d148 Rusty Russell         2012-09-26  21  {
48ba2462ace607 David Howells         2012-09-26  22  	struct module_signature ms;
f314dfea16a085 Jessica Yu            2018-06-29  23  	size_t sig_len, modlen = info->len;
c8424e776b0932 Thiago Jung Bauermann 2019-07-04  24  	int ret;
48ba2462ace607 David Howells         2012-09-26  25  
0390c883569050 Randy Dunlap          2012-10-20  26  	pr_devel("==>%s(,%zu)\n", __func__, modlen);
48ba2462ace607 David Howells         2012-09-26  27  
caabe240574aec David Howells         2012-10-20  28  	if (modlen <= sizeof(ms))
48ba2462ace607 David Howells         2012-09-26  29  		return -EBADMSG;
48ba2462ace607 David Howells         2012-09-26  30  
caabe240574aec David Howells         2012-10-20  31  	memcpy(&ms, mod + (modlen - sizeof(ms)), sizeof(ms));
c8424e776b0932 Thiago Jung Bauermann 2019-07-04  32  
c8424e776b0932 Thiago Jung Bauermann 2019-07-04 @33  	ret = mod_check_sig(&ms, modlen, info->name);

:::::: The code at line 33 was first introduced by commit
:::::: c8424e776b093280d3fdd104d850706b3b229ac8 MODSIGN: Export module signature definitions

:::::: TO: Thiago Jung Bauermann <bauerman@linux.ibm.com>
:::::: CC: Mimi Zohar <zohar@linux.ibm.com>

---
0-DAY kernel test infrastructure                 Open Source Technology Center
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org Intel Corporation

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

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

only message in thread, other threads:[~2019-11-12  8:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-12  8:45 [android-common:android-mainline 399/454] kernel/module_signing.c:33: undefined reference to `mod_check_sig' 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.