[chrome-os:chromeos-5.4 36/45] drivers/xen/platform-pci.c:176:3: error: field designator 'resume_early' does not refer to any field in type 'struct pci_driver'
by kernel test robot
tree: https://chromium.googlesource.com/chromiumos/third_party/kernel chromeos-5.4
head: 3bff92c765fe7f3039b00930c6b85684c9a034d0
commit: a88376defcf7df6a2fca28d866973d1588be89db [36/45] UPSTREAM: PCI/PM: Remove unused pci_driver.resume_early() hook
config: x86_64-allyesconfig (attached as .config)
compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project 487ca07fcc75d52755c9fe2ee05bcb3b6eeeec44)
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# install x86_64 cross compiling tool for clang build
# apt-get install binutils-x86-64-linux-gnu
git checkout a88376defcf7df6a2fca28d866973d1588be89db
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>, old ones prefixed by <<):
>> drivers/xen/platform-pci.c:176:3: error: field designator 'resume_early' does not refer to any field in type 'struct pci_driver'
.resume_early = platform_pci_resume,
^
1 error generated.
vim +176 drivers/xen/platform-pci.c
183d03cc4ff39e Stefano Stabellini 2010-05-17 170
183d03cc4ff39e Stefano Stabellini 2010-05-17 171 static struct pci_driver platform_driver = {
183d03cc4ff39e Stefano Stabellini 2010-05-17 172 .name = DRV_NAME,
e01dc539df3ada Paul Gortmaker 2016-02-21 173 .probe = platform_pci_probe,
183d03cc4ff39e Stefano Stabellini 2010-05-17 174 .id_table = platform_pci_tbl,
da72ff5bfcb02c Stefano Stabellini 2017-01-13 175 #ifdef CONFIG_PM
da72ff5bfcb02c Stefano Stabellini 2017-01-13 @176 .resume_early = platform_pci_resume,
da72ff5bfcb02c Stefano Stabellini 2017-01-13 177 #endif
183d03cc4ff39e Stefano Stabellini 2010-05-17 178 };
183d03cc4ff39e Stefano Stabellini 2010-05-17 179
:::::: The code at line 176 was first introduced by commit
:::::: da72ff5bfcb02c6ac8b169a7cf597a3c8e6c4de1 partially revert "xen: Remove event channel notification through Xen PCI platform device"
:::::: TO: Stefano Stabellini <sstabellini(a)kernel.org>
:::::: CC: Stefano Stabellini <sstabellini(a)kernel.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
2 years, 3 months
[jpirko-mlxsw:net_next_queue 12/27] htmldocs: Documentation/networking/ethtool-netlink.rst:514: (SEVERE/4) Unexpected section title.
by kernel test robot
tree: https://github.com/jpirko/linux_mlxsw net_next_queue
head: f57f2148543db358708e16537ab5c87f5da6abba
commit: fd09a8ae7eba209afe02437e7b55f42b19be47b0 [12/27] Documentation: networking: ethtool-netlink: Add link extended state
reproduce: make htmldocs
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>, old ones prefixed by <<):
reST markup error:
>> Documentation/networking/ethtool-netlink.rst:514: (SEVERE/4) Unexpected section title.
vim +514 Documentation/networking/ethtool-netlink.rst
512
513 Autoneg substates
> 514 =================
515
516 ============================================== =============================================
517 ``No partner detected`` Peer side is down
518
519 ``Ack not received`` Ack not received from peer side
520
521 ``Next page exchange failed`` Next page exchange failed
522
523 ``No partner detected during force mode`` Peer side is down during force mode or there
524 is no agreement of speed
525
526 ``FEC mismatch during override`` Forward error correction modes in both sides
527 are mismatched
528
529 ``No HCD`` No Highest Common Denominator
530 ============================================== =============================================
531
532 Link training substates
533 =======================
534
535 ============================================== =============================================
536 ``KR frame lock not acquired`` Frames were not recognized, the lock failed
537
538 ``KR link inhibit timeout`` The lock did not occur before timeout
539
540 ``KR Link partner did not set receiver ready`` Peer side did not send ready signal after
541 training process
542
543 ``Remote side is not ready yet`` Remote side is not ready yet
544
545 ============================================== =============================================
546
547 Link logical mismatch substates
548 ===============================
549
550 ============================================== =============================================
551 ``PCS did not acquire block lock`` Physical coding sublayer was not locked in
552 first phase - block lock
553
554 ``PCS did not acquire AM lock`` Physical coding sublayer was not locked in
555 second phase - alignment markers lock
556
557 ``PCS did not get align_status`` Physical coding sublayer did not get align
558 status
559
560 ``FC FEC is not locked`` FC forward error correction is not locked
561
562 ``RS FEC is not locked`` RS forward error correction is not locked
563 ============================================== =============================================
564
565 Bad signal integrity substates
566 ==============================
567
568 ============================================== =============================================
569 ``Large number of physical errors`` Large number of physical errors
570
571 ``Unsupported rate`` The system attempted to operate the cable at
572 a rate that is not formally supported, which
573 led to signal integrity issues
574
575 ``Unsupported cable`` Unsupported cable
576
577 ``Cable test failure`` Cable test failure
578 ============================================== =============================================
579
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
2 years, 3 months
Re: [PATCH 2/4] venus: venc: Add support for constant quality control
by kernel test robot
Hi Stanimir,
I love your patch! Perhaps something to improve:
[auto build test WARNING on linuxtv-media/master]
[also build test WARNING on linux/master linus/master v5.8-rc1 next-20200616]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system. BTW, we also suggest to use '--base' option to specify the
base tree in git format-patch, please see https://stackoverflow.com/a/37406982]
url: https://github.com/0day-ci/linux/commits/Stanimir-Varbanov/Add-two-new-v4...
base: git://linuxtv.org/media_tree.git master
config: riscv-allyesconfig (attached as .config)
compiler: riscv64-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=riscv
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>, old ones prefixed by <<):
drivers/media/platform/qcom/venus/hfi_cmds.c: In function 'pkt_session_set_property_6xx':
>> drivers/media/platform/qcom/venus/hfi_cmds.c:1225:8: warning: variable 'prop_data' set but not used [-Wunused-but-set-variable]
1225 | void *prop_data;
| ^~~~~~~~~
vim +/prop_data +1225 drivers/media/platform/qcom/venus/hfi_cmds.c
1220
1221 static int
1222 pkt_session_set_property_6xx(struct hfi_session_set_property_pkt *pkt,
1223 void *cookie, u32 ptype, void *pdata)
1224 {
> 1225 void *prop_data;
1226
1227 if (!pkt || !cookie || !pdata)
1228 return -EINVAL;
1229
1230 prop_data = &pkt->data[1];
1231
1232 pkt->shdr.hdr.size = sizeof(*pkt);
1233 pkt->shdr.hdr.pkt_type = HFI_CMD_SESSION_SET_PROPERTY;
1234 pkt->shdr.session_id = hash32_ptr(cookie);
1235 pkt->num_properties = 1;
1236 pkt->data[0] = ptype;
1237
1238 switch (ptype) {
1239 case HFI_PROPERTY_PARAM_VENC_RATE_CONTROL: {
1240 u32 *in = pdata;
1241
1242 switch (*in) {
1243 case HFI_RATE_CONTROL_OFF:
1244 case HFI_RATE_CONTROL_CBR_CFR:
1245 case HFI_RATE_CONTROL_CBR_VFR:
1246 case HFI_RATE_CONTROL_VBR_CFR:
1247 case HFI_RATE_CONTROL_VBR_VFR:
1248 case HFI_RATE_CONTROL_CQ:
1249 break;
1250 default:
1251 return -EINVAL;
1252 }
1253
1254 pkt->data[1] = *in;
1255 pkt->shdr.hdr.size += sizeof(u32) * 2;
1256 break;
1257 }
1258 default:
1259 return pkt_session_set_property_4xx(pkt, cookie, ptype, pdata);
1260 }
1261
1262 return 0;
1263 }
1264
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
2 years, 3 months
[chrome-os:chromeos-5.4 36/39] drivers/xen/platform-pci.c:176:3: error: 'struct pci_driver' has no member named 'resume_early'
by kernel test robot
tree: https://chromium.googlesource.com/chromiumos/third_party/kernel chromeos-5.4
head: 630a3fc055ebbd162b1e710660fe3fb57b0d261e
commit: a88376defcf7df6a2fca28d866973d1588be89db [36/39] UPSTREAM: PCI/PM: Remove unused pci_driver.resume_early() hook
config: i386-debian-10.3 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-13) 9.3.0
reproduce (this is a W=1 build):
git checkout a88376defcf7df6a2fca28d866973d1588be89db
# save the attached .config to linux build tree
make W=1 ARCH=i386
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All error/warnings (new ones prefixed by >>, old ones prefixed by <<):
>> drivers/xen/platform-pci.c:176:3: error: 'struct pci_driver' has no member named 'resume_early'
176 | .resume_early = platform_pci_resume,
| ^~~~~~~~~~~~
>> drivers/xen/platform-pci.c:176:20: error: initialization of 'int (*)(struct pci_dev *, const struct pci_device_id *)' from incompatible pointer type 'int (*)(struct pci_dev *)' [-Werror=incompatible-pointer-types]
176 | .resume_early = platform_pci_resume,
| ^~~~~~~~~~~~~~~~~~~
drivers/xen/platform-pci.c:176:20: note: (near initialization for 'platform_driver.probe')
>> drivers/xen/platform-pci.c:176:20: warning: initialized field overwritten [-Woverride-init]
drivers/xen/platform-pci.c:176:20: note: (near initialization for 'platform_driver.probe')
cc1: some warnings being treated as errors
vim +176 drivers/xen/platform-pci.c
183d03cc4ff39e0 Stefano Stabellini 2010-05-17 170
183d03cc4ff39e0 Stefano Stabellini 2010-05-17 171 static struct pci_driver platform_driver = {
183d03cc4ff39e0 Stefano Stabellini 2010-05-17 172 .name = DRV_NAME,
e01dc539df3ada9 Paul Gortmaker 2016-02-21 173 .probe = platform_pci_probe,
183d03cc4ff39e0 Stefano Stabellini 2010-05-17 174 .id_table = platform_pci_tbl,
da72ff5bfcb02c6 Stefano Stabellini 2017-01-13 175 #ifdef CONFIG_PM
da72ff5bfcb02c6 Stefano Stabellini 2017-01-13 @176 .resume_early = platform_pci_resume,
da72ff5bfcb02c6 Stefano Stabellini 2017-01-13 177 #endif
183d03cc4ff39e0 Stefano Stabellini 2010-05-17 178 };
183d03cc4ff39e0 Stefano Stabellini 2010-05-17 179
:::::: The code at line 176 was first introduced by commit
:::::: da72ff5bfcb02c6ac8b169a7cf597a3c8e6c4de1 partially revert "xen: Remove event channel notification through Xen PCI platform device"
:::::: TO: Stefano Stabellini <sstabellini(a)kernel.org>
:::::: CC: Stefano Stabellini <sstabellini(a)kernel.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
2 years, 3 months
[sashal-linux-stable:queue-4.4 15/31] sound/usb/card.c:765:31: warning: comparison of integers of different signs: 'int' and 'unsigned int'
by kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/sashal/linux-stable.git queue-4.4
head: 96624f7bb8d16a983433f4da7f42d18a6acfae12
commit: 1225993d024a369380bf0ff8e8a4786442190cf8 [15/31] ALSA: usb-audio: Fix inconsistent card PM state after resume
config: x86_64-allyesconfig (attached as .config)
compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project 487ca07fcc75d52755c9fe2ee05bcb3b6eeeec44)
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# install x86_64 cross compiling tool for clang build
# apt-get install binutils-x86-64-linux-gnu
git checkout 1225993d024a369380bf0ff8e8a4786442190cf8
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>, old ones prefixed by <<):
In file included from sound/usb/card.c:39:
In file included from include/linux/slab.h:14:
In file included from include/linux/gfp.h:5:
In file included from include/linux/mmzone.h:7:
In file included from include/linux/spinlock.h:87:
In file included from arch/x86/include/asm/spinlock.h:219:
In file included from arch/x86/include/asm/qrwlock.h:5:
include/asm-generic/qrwlock.h:93:36: warning: comparison of integers of different signs: 'int' and 'u32' (aka 'unsigned int') [-Wsign-compare]
cnts, cnts | _QW_LOCKED) == cnts);
~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
include/linux/compiler.h:181:40: note: expanded from macro 'likely'
# define likely(x) __builtin_expect(!!(x), 1)
^
In file included from sound/usb/card.c:39:
In file included from include/linux/slab.h:107:
In file included from include/linux/kasan.h:16:
In file included from include/linux/sched.h:61:
In file included from include/linux/cgroup-defs.h:16:
include/linux/percpu-refcount.h:177:3: warning: comparison of integers of different signs: 'unsigned long' and 'int' [-Wsign-compare]
this_cpu_add(*percpu_count, nr);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/percpu-defs.h:526:33: note: expanded from macro 'this_cpu_add'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/percpu-defs.h:397:11: note: expanded from macro '__pcpu_size_call'
case 8: stem##8(variable, __VA_ARGS__);break; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<scratch space>:52:1: note: expanded from here
this_cpu_add_8
^
arch/x86/include/asm/percpu.h:478:35: note: expanded from macro 'this_cpu_add_8'
#define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~~~~~~~~~~~~~
arch/x86/include/asm/percpu.h:130:31: note: expanded from macro 'percpu_add_op'
((val) == 1 || (val) == -1)) ? ~~~ ^ ~~
In file included from sound/usb/card.c:39:
In file included from include/linux/slab.h:107:
In file included from include/linux/kasan.h:16:
In file included from include/linux/sched.h:61:
In file included from include/linux/cgroup-defs.h:16:
include/linux/percpu-refcount.h:276:3: warning: comparison of integers of different signs: 'unsigned long' and 'int' [-Wsign-compare]
this_cpu_sub(*percpu_count, nr);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/percpu-defs.h:536:33: note: expanded from macro 'this_cpu_sub'
#define this_cpu_sub(pcp, val) this_cpu_add(pcp, -(typeof(pcp))(val))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/percpu-defs.h:526:33: note: expanded from macro 'this_cpu_add'
#define this_cpu_add(pcp, val) __pcpu_size_call(this_cpu_add_, pcp, val)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/percpu-defs.h:397:11: note: expanded from macro '__pcpu_size_call'
case 8: stem##8(variable, __VA_ARGS__);break; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<scratch space>:356:1: note: expanded from here
this_cpu_add_8
^
arch/x86/include/asm/percpu.h:478:35: note: expanded from macro 'this_cpu_add_8'
#define this_cpu_add_8(pcp, val) percpu_add_op((pcp), val)
^~~~~~~~~~~~~~~~~~~~~~~~~
arch/x86/include/asm/percpu.h:130:31: note: expanded from macro 'percpu_add_op'
((val) == 1 || (val) == -1)) ? ~~~ ^ ~~
In file included from sound/usb/card.c:42:
In file included from include/linux/usb.h:15:
In file included from include/linux/interrupt.h:12:
In file included from include/linux/hardirq.h:8:
In file included from arch/x86/include/asm/hardirq.h:5:
In file included from include/linux/irq.h:418:
In file included from arch/x86/include/asm/hw_irq.h:26:
In file included from arch/x86/include/asm/sections.h:5:
arch/x86/include/asm/uaccess.h:754:26: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare]
if (likely(sz < 0 || sz >= n))
~~ ^ ~
include/linux/compiler.h:181:40: note: expanded from macro 'likely'
# define likely(x) __builtin_expect(!!(x), 1)
^
In file included from sound/usb/card.c:42:
In file included from include/linux/usb.h:15:
In file included from include/linux/interrupt.h:12:
In file included from include/linux/hardirq.h:8:
In file included from arch/x86/include/asm/hardirq.h:5:
In file included from include/linux/irq.h:418:
In file included from arch/x86/include/asm/hw_irq.h:26:
In file included from arch/x86/include/asm/sections.h:5:
arch/x86/include/asm/uaccess.h:772:26: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare]
if (likely(sz < 0 || sz >= n))
~~ ^ ~
include/linux/compiler.h:181:40: note: expanded from macro 'likely'
# define likely(x) __builtin_expect(!!(x), 1)
^
In file included from sound/usb/card.c:52:
include/sound/pcm.h:1372:17: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare]
if (s->number == idx)
~~~~~~~~~ ^ ~~~
sound/usb/card.c:254:18: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare]
if (rest_bytes < sizeof(*h1)) {
~~~~~~~~~~ ^ ~~~~~~~~~~~
sound/usb/card.c:451:10: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare]
if (len < sizeof(card->longname))
~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~
>> sound/usb/card.c:765:31: warning: comparison of integers of different signs: 'int' and 'unsigned int' [-Wsign-compare]
if (chip->num_suspended_intf == chip->system_suspend) {
~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~
10 warnings generated.
vim +765 sound/usb/card.c
735
736 static int __usb_audio_resume(struct usb_interface *intf, bool reset_resume)
737 {
738 struct snd_usb_audio *chip = usb_get_intfdata(intf);
739 struct usb_mixer_interface *mixer;
740 struct list_head *p;
741 int err = 0;
742
743 if (chip == (void *)-1L)
744 return 0;
745
746 atomic_inc(&chip->active); /* avoid autopm */
747 if (chip->num_suspended_intf > 1)
748 goto out;
749
750 /*
751 * ALSA leaves material resumption to user space
752 * we just notify and restart the mixers
753 */
754 list_for_each_entry(mixer, &chip->mixer_list, list) {
755 err = snd_usb_mixer_resume(mixer, reset_resume);
756 if (err < 0)
757 goto err_out;
758 }
759
760 list_for_each(p, &chip->midi_list) {
761 snd_usbmidi_resume(p);
762 }
763
764 out:
> 765 if (chip->num_suspended_intf == chip->system_suspend) {
766 snd_power_change_state(chip->card, SNDRV_CTL_POWER_D0);
767 chip->system_suspend = 0;
768 }
769 chip->num_suspended_intf--;
770
771 err_out:
772 atomic_dec(&chip->active); /* allow autopm after this point */
773 return err;
774 }
775
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
2 years, 3 months
ld: drivers/gpu/drm/bridge/sil-sii8620.c:2191: undefined reference to `extcon_register_notifier'
by kernel test robot
Hi Masahiro,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: a5dc8300df75e8b8384b4c82225f1e4a0b4d9b55
commit: def2fbffe62c00c330c7f41584a356001179c59c kconfig: allow symbols implied by y to become m
date: 3 months ago
config: i386-randconfig-a004-20200616 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-13) 9.3.0
reproduce (this is a W=1 build):
git checkout def2fbffe62c00c330c7f41584a356001179c59c
# save the attached .config to linux build tree
make W=1 ARCH=i386
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>, old ones prefixed by <<):
ld: drivers/gpu/drm/bridge/sil-sii8620.o: in function `sii8620_remove':
drivers/gpu/drm/bridge/sil-sii8620.c:2355: undefined reference to `extcon_unregister_notifier'
ld: drivers/gpu/drm/bridge/sil-sii8620.o: in function `sii8620_extcon_init':
drivers/gpu/drm/bridge/sil-sii8620.c:2179: undefined reference to `extcon_find_edev_by_node'
>> ld: drivers/gpu/drm/bridge/sil-sii8620.c:2191: undefined reference to `extcon_register_notifier'
ld: drivers/gpu/drm/bridge/sil-sii8620.o: in function `sii8620_extcon_work':
drivers/gpu/drm/bridge/sil-sii8620.c:2139: undefined reference to `extcon_get_state'
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
2 years, 3 months
[jolsa-perf:bpf/d_path 2/11] tools/lib/bpf/btf.h:244:24: error: 'BTF_KIND_FUNC' undeclared; did you mean
by kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/jolsa/perf.git bpf/d_path
head: 686910572925427af4fbcc0fffdff0dd0904de64
commit: 1ebb9a6880b2e1d1ade270367e023cb3ed074b6f [2/11] bpf: Compile btfid tool at kernel compilation start
config: x86_64-rhel-7.6-kselftests (attached as .config)
compiler: gcc-9 (Debian 9.3.0-13) 9.3.0
reproduce (this is a W=1 build):
git checkout 1ebb9a6880b2e1d1ade270367e023cb3ed074b6f
# save the attached .config to linux build tree
make W=1 ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All error/warnings (new ones prefixed by >>, old ones prefixed by <<):
In file included from btfid.c:51:
tools/lib/bpf/btf.h: In function 'btf_kflag':
>> tools/lib/bpf/btf.h:168:9: warning: implicit declaration of function 'BTF_INFO_KFLAG'; did you mean 'BTF_INFO_KIND'? [-Wimplicit-function-declaration]
168 | return BTF_INFO_KFLAG(t->info);
| ^~~~~~~~~~~~~~
| BTF_INFO_KIND
tools/lib/bpf/btf.h: In function 'btf_is_func':
>> tools/lib/bpf/btf.h:244:24: error: 'BTF_KIND_FUNC' undeclared (first use in this function); did you mean 'BTF_KIND_UNKN'?
244 | return btf_kind(t) == BTF_KIND_FUNC;
| ^~~~~~~~~~~~~
| BTF_KIND_UNKN
tools/lib/bpf/btf.h:244:24: note: each undeclared identifier is reported only once for each function it appears in
tools/lib/bpf/btf.h: In function 'btf_is_func_proto':
>> tools/lib/bpf/btf.h:249:24: error: 'BTF_KIND_FUNC_PROTO' undeclared (first use in this function); did you mean 'BTF_KIND_UNION'?
249 | return btf_kind(t) == BTF_KIND_FUNC_PROTO;
| ^~~~~~~~~~~~~~~~~~~
| BTF_KIND_UNION
tools/lib/bpf/btf.h: In function 'btf_is_var':
>> tools/lib/bpf/btf.h:254:24: error: 'BTF_KIND_VAR' undeclared (first use in this function); did you mean 'BTF_KIND_PTR'?
254 | return btf_kind(t) == BTF_KIND_VAR;
| ^~~~~~~~~~~~
| BTF_KIND_PTR
tools/lib/bpf/btf.h: In function 'btf_is_datasec':
>> tools/lib/bpf/btf.h:259:24: error: 'BTF_KIND_DATASEC' undeclared (first use in this function); did you mean 'BTF_KIND_PTR'?
259 | return btf_kind(t) == BTF_KIND_DATASEC;
| ^~~~~~~~~~~~~~~~
| BTF_KIND_PTR
tools/lib/bpf/btf.h: In function 'btf_member_bit_offset':
>> tools/lib/bpf/btf.h:299:17: warning: implicit declaration of function 'BTF_MEMBER_BIT_OFFSET' [-Wimplicit-function-declaration]
299 | return kflag ? BTF_MEMBER_BIT_OFFSET(m->offset) : m->offset;
| ^~~~~~~~~~~~~~~~~~~~~
tools/lib/bpf/btf.h: In function 'btf_member_bitfield_size':
>> tools/lib/bpf/btf.h:311:17: warning: implicit declaration of function 'BTF_MEMBER_BITFIELD_SIZE' [-Wimplicit-function-declaration]
311 | return kflag ? BTF_MEMBER_BITFIELD_SIZE(m->offset) : 0;
| ^~~~~~~~~~~~~~~~~~~~~~~~
btfid.c: In function 'symbols_resolve':
>> btfid.c:443:36: error: 'BTF_KIND_FUNC' undeclared (first use in this function); did you mean 'BTF_KIND_UNKN'?
443 | if (BTF_INFO_KIND(type->info) == BTF_KIND_FUNC && nr_funcs) {
| ^~~~~~~~~~~~~
| BTF_KIND_UNKN
mv: cannot stat 'tools/bpf/btfid/.btfid.o.tmp': No such file or directory
make[4]: *** [tools/build/Makefile.build:97: tools/bpf/btfid/btfid.o] Error 1
make[4]: Target '__build' not remade because of errors.
make[3]: *** [Makefile:59: tools/bpf/btfid/btfid-in.o] Error 2
make[3]: Target 'all' not remade because of errors.
make[2]: *** [Makefile:71: bpf/btfid] Error 2
make[1]: *** [Makefile:1892: tools/bpf/btfid] Error 2
make[1]: Target 'prepare' not remade because of errors.
make: *** [Makefile:185: __sub-make] Error 2
make: Target 'prepare' not remade because of errors.
vim +244 tools/lib/bpf/btf.h
ef20a9b27c66278 Andrii Nakryiko 2019-08-07 165
ef20a9b27c66278 Andrii Nakryiko 2019-08-07 166 static inline bool btf_kflag(const struct btf_type *t)
ef20a9b27c66278 Andrii Nakryiko 2019-08-07 167 {
ef20a9b27c66278 Andrii Nakryiko 2019-08-07 @168 return BTF_INFO_KFLAG(t->info);
ef20a9b27c66278 Andrii Nakryiko 2019-08-07 169 }
ef20a9b27c66278 Andrii Nakryiko 2019-08-07 170
ef20a9b27c66278 Andrii Nakryiko 2019-08-07 171 static inline bool btf_is_int(const struct btf_type *t)
ef20a9b27c66278 Andrii Nakryiko 2019-08-07 172 {
ef20a9b27c66278 Andrii Nakryiko 2019-08-07 173 return btf_kind(t) == BTF_KIND_INT;
ef20a9b27c66278 Andrii Nakryiko 2019-08-07 174 }
ef20a9b27c66278 Andrii Nakryiko 2019-08-07 175
ef20a9b27c66278 Andrii Nakryiko 2019-08-07 176 static inline bool btf_is_ptr(const struct btf_type *t)
ef20a9b27c66278 Andrii Nakryiko 2019-08-07 177 {
ef20a9b27c66278 Andrii Nakryiko 2019-08-07 178 return btf_kind(t) == BTF_KIND_PTR;
ef20a9b27c66278 Andrii Nakryiko 2019-08-07 179 }
ef20a9b27c66278 Andrii Nakryiko 2019-08-07 180
ef20a9b27c66278 Andrii Nakryiko 2019-08-07 181 static inline bool btf_is_array(const struct btf_type *t)
ef20a9b27c66278 Andrii Nakryiko 2019-08-07 182 {
ef20a9b27c66278 Andrii Nakryiko 2019-08-07 183 return btf_kind(t) == BTF_KIND_ARRAY;
ef20a9b27c66278 Andrii Nakryiko 2019-08-07 184 }
ef20a9b27c66278 Andrii Nakryiko 2019-08-07 185
ef20a9b27c66278 Andrii Nakryiko 2019-08-07 186 static inline bool btf_is_struct(const struct btf_type *t)
ef20a9b27c66278 Andrii Nakryiko 2019-08-07 187 {
ef20a9b27c66278 Andrii Nakryiko 2019-08-07 188 return btf_kind(t) == BTF_KIND_STRUCT;
ef20a9b27c66278 Andrii Nakryiko 2019-08-07 189 }
ef20a9b27c66278 Andrii Nakryiko 2019-08-07 190
ef20a9b27c66278 Andrii Nakryiko 2019-08-07 191 static inline bool btf_is_union(const struct btf_type *t)
ef20a9b27c66278 Andrii Nakryiko 2019-08-07 192 {
ef20a9b27c66278 Andrii Nakryiko 2019-08-07 193 return btf_kind(t) == BTF_KIND_UNION;
ef20a9b27c66278 Andrii Nakryiko 2019-08-07 194 }
ef20a9b27c66278 Andrii Nakryiko 2019-08-07 195
ef20a9b27c66278 Andrii Nakryiko 2019-08-07 196 static inline bool btf_is_composite(const struct btf_type *t)
ef20a9b27c66278 Andrii Nakryiko 2019-08-07 197 {
ef20a9b27c66278 Andrii Nakryiko 2019-08-07 198 __u16 kind = btf_kind(t);
ef20a9b27c66278 Andrii Nakryiko 2019-08-07 199
ef20a9b27c66278 Andrii Nakryiko 2019-08-07 200 return kind == BTF_KIND_STRUCT || kind == BTF_KIND_UNION;
ef20a9b27c66278 Andrii Nakryiko 2019-08-07 201 }
ef20a9b27c66278 Andrii Nakryiko 2019-08-07 202
ef20a9b27c66278 Andrii Nakryiko 2019-08-07 203 static inline bool btf_is_enum(const struct btf_type *t)
ef20a9b27c66278 Andrii Nakryiko 2019-08-07 204 {
ef20a9b27c66278 Andrii Nakryiko 2019-08-07 205 return btf_kind(t) == BTF_KIND_ENUM;
ef20a9b27c66278 Andrii Nakryiko 2019-08-07 206 }
ef20a9b27c66278 Andrii Nakryiko 2019-08-07 207
ef20a9b27c66278 Andrii Nakryiko 2019-08-07 208 static inline bool btf_is_fwd(const struct btf_type *t)
ef20a9b27c66278 Andrii Nakryiko 2019-08-07 209 {
ef20a9b27c66278 Andrii Nakryiko 2019-08-07 210 return btf_kind(t) == BTF_KIND_FWD;
ef20a9b27c66278 Andrii Nakryiko 2019-08-07 211 }
ef20a9b27c66278 Andrii Nakryiko 2019-08-07 212
ef20a9b27c66278 Andrii Nakryiko 2019-08-07 213 static inline bool btf_is_typedef(const struct btf_type *t)
ef20a9b27c66278 Andrii Nakryiko 2019-08-07 214 {
ef20a9b27c66278 Andrii Nakryiko 2019-08-07 215 return btf_kind(t) == BTF_KIND_TYPEDEF;
ef20a9b27c66278 Andrii Nakryiko 2019-08-07 216 }
ef20a9b27c66278 Andrii Nakryiko 2019-08-07 217
ef20a9b27c66278 Andrii Nakryiko 2019-08-07 218 static inline bool btf_is_volatile(const struct btf_type *t)
ef20a9b27c66278 Andrii Nakryiko 2019-08-07 219 {
ef20a9b27c66278 Andrii Nakryiko 2019-08-07 220 return btf_kind(t) == BTF_KIND_VOLATILE;
ef20a9b27c66278 Andrii Nakryiko 2019-08-07 221 }
ef20a9b27c66278 Andrii Nakryiko 2019-08-07 222
ef20a9b27c66278 Andrii Nakryiko 2019-08-07 223 static inline bool btf_is_const(const struct btf_type *t)
ef20a9b27c66278 Andrii Nakryiko 2019-08-07 224 {
ef20a9b27c66278 Andrii Nakryiko 2019-08-07 225 return btf_kind(t) == BTF_KIND_CONST;
ef20a9b27c66278 Andrii Nakryiko 2019-08-07 226 }
ef20a9b27c66278 Andrii Nakryiko 2019-08-07 227
ef20a9b27c66278 Andrii Nakryiko 2019-08-07 228 static inline bool btf_is_restrict(const struct btf_type *t)
ef20a9b27c66278 Andrii Nakryiko 2019-08-07 229 {
ef20a9b27c66278 Andrii Nakryiko 2019-08-07 230 return btf_kind(t) == BTF_KIND_RESTRICT;
ef20a9b27c66278 Andrii Nakryiko 2019-08-07 231 }
ef20a9b27c66278 Andrii Nakryiko 2019-08-07 232
ef20a9b27c66278 Andrii Nakryiko 2019-08-07 233 static inline bool btf_is_mod(const struct btf_type *t)
ef20a9b27c66278 Andrii Nakryiko 2019-08-07 234 {
ef20a9b27c66278 Andrii Nakryiko 2019-08-07 235 __u16 kind = btf_kind(t);
ef20a9b27c66278 Andrii Nakryiko 2019-08-07 236
ef20a9b27c66278 Andrii Nakryiko 2019-08-07 237 return kind == BTF_KIND_VOLATILE ||
ef20a9b27c66278 Andrii Nakryiko 2019-08-07 238 kind == BTF_KIND_CONST ||
ef20a9b27c66278 Andrii Nakryiko 2019-08-07 239 kind == BTF_KIND_RESTRICT;
ef20a9b27c66278 Andrii Nakryiko 2019-08-07 240 }
ef20a9b27c66278 Andrii Nakryiko 2019-08-07 241
ef20a9b27c66278 Andrii Nakryiko 2019-08-07 242 static inline bool btf_is_func(const struct btf_type *t)
ef20a9b27c66278 Andrii Nakryiko 2019-08-07 243 {
ef20a9b27c66278 Andrii Nakryiko 2019-08-07 @244 return btf_kind(t) == BTF_KIND_FUNC;
ef20a9b27c66278 Andrii Nakryiko 2019-08-07 245 }
ef20a9b27c66278 Andrii Nakryiko 2019-08-07 246
ef20a9b27c66278 Andrii Nakryiko 2019-08-07 247 static inline bool btf_is_func_proto(const struct btf_type *t)
ef20a9b27c66278 Andrii Nakryiko 2019-08-07 248 {
ef20a9b27c66278 Andrii Nakryiko 2019-08-07 @249 return btf_kind(t) == BTF_KIND_FUNC_PROTO;
ef20a9b27c66278 Andrii Nakryiko 2019-08-07 250 }
ef20a9b27c66278 Andrii Nakryiko 2019-08-07 251
ef20a9b27c66278 Andrii Nakryiko 2019-08-07 252 static inline bool btf_is_var(const struct btf_type *t)
ef20a9b27c66278 Andrii Nakryiko 2019-08-07 253 {
ef20a9b27c66278 Andrii Nakryiko 2019-08-07 @254 return btf_kind(t) == BTF_KIND_VAR;
ef20a9b27c66278 Andrii Nakryiko 2019-08-07 255 }
ef20a9b27c66278 Andrii Nakryiko 2019-08-07 256
ef20a9b27c66278 Andrii Nakryiko 2019-08-07 257 static inline bool btf_is_datasec(const struct btf_type *t)
ef20a9b27c66278 Andrii Nakryiko 2019-08-07 258 {
ef20a9b27c66278 Andrii Nakryiko 2019-08-07 @259 return btf_kind(t) == BTF_KIND_DATASEC;
ef20a9b27c66278 Andrii Nakryiko 2019-08-07 260 }
ef20a9b27c66278 Andrii Nakryiko 2019-08-07 261
ef20a9b27c66278 Andrii Nakryiko 2019-08-07 262 static inline __u8 btf_int_encoding(const struct btf_type *t)
ef20a9b27c66278 Andrii Nakryiko 2019-08-07 263 {
ef20a9b27c66278 Andrii Nakryiko 2019-08-07 264 return BTF_INT_ENCODING(*(__u32 *)(t + 1));
ef20a9b27c66278 Andrii Nakryiko 2019-08-07 265 }
ef20a9b27c66278 Andrii Nakryiko 2019-08-07 266
ef20a9b27c66278 Andrii Nakryiko 2019-08-07 267 static inline __u8 btf_int_offset(const struct btf_type *t)
ef20a9b27c66278 Andrii Nakryiko 2019-08-07 268 {
ef20a9b27c66278 Andrii Nakryiko 2019-08-07 269 return BTF_INT_OFFSET(*(__u32 *)(t + 1));
ef20a9b27c66278 Andrii Nakryiko 2019-08-07 270 }
ef20a9b27c66278 Andrii Nakryiko 2019-08-07 271
ef20a9b27c66278 Andrii Nakryiko 2019-08-07 272 static inline __u8 btf_int_bits(const struct btf_type *t)
ef20a9b27c66278 Andrii Nakryiko 2019-08-07 273 {
ef20a9b27c66278 Andrii Nakryiko 2019-08-07 274 return BTF_INT_BITS(*(__u32 *)(t + 1));
ef20a9b27c66278 Andrii Nakryiko 2019-08-07 275 }
ef20a9b27c66278 Andrii Nakryiko 2019-08-07 276
ef20a9b27c66278 Andrii Nakryiko 2019-08-07 277 static inline struct btf_array *btf_array(const struct btf_type *t)
ef20a9b27c66278 Andrii Nakryiko 2019-08-07 278 {
ef20a9b27c66278 Andrii Nakryiko 2019-08-07 279 return (struct btf_array *)(t + 1);
ef20a9b27c66278 Andrii Nakryiko 2019-08-07 280 }
ef20a9b27c66278 Andrii Nakryiko 2019-08-07 281
ef20a9b27c66278 Andrii Nakryiko 2019-08-07 282 static inline struct btf_enum *btf_enum(const struct btf_type *t)
ef20a9b27c66278 Andrii Nakryiko 2019-08-07 283 {
ef20a9b27c66278 Andrii Nakryiko 2019-08-07 284 return (struct btf_enum *)(t + 1);
ef20a9b27c66278 Andrii Nakryiko 2019-08-07 285 }
ef20a9b27c66278 Andrii Nakryiko 2019-08-07 286
ef20a9b27c66278 Andrii Nakryiko 2019-08-07 287 static inline struct btf_member *btf_members(const struct btf_type *t)
ef20a9b27c66278 Andrii Nakryiko 2019-08-07 288 {
ef20a9b27c66278 Andrii Nakryiko 2019-08-07 289 return (struct btf_member *)(t + 1);
ef20a9b27c66278 Andrii Nakryiko 2019-08-07 290 }
ef20a9b27c66278 Andrii Nakryiko 2019-08-07 291
ef20a9b27c66278 Andrii Nakryiko 2019-08-07 292 /* Get bit offset of a member with specified index. */
ef20a9b27c66278 Andrii Nakryiko 2019-08-07 293 static inline __u32 btf_member_bit_offset(const struct btf_type *t,
ef20a9b27c66278 Andrii Nakryiko 2019-08-07 294 __u32 member_idx)
ef20a9b27c66278 Andrii Nakryiko 2019-08-07 295 {
ef20a9b27c66278 Andrii Nakryiko 2019-08-07 296 const struct btf_member *m = btf_members(t) + member_idx;
ef20a9b27c66278 Andrii Nakryiko 2019-08-07 297 bool kflag = btf_kflag(t);
ef20a9b27c66278 Andrii Nakryiko 2019-08-07 298
ef20a9b27c66278 Andrii Nakryiko 2019-08-07 @299 return kflag ? BTF_MEMBER_BIT_OFFSET(m->offset) : m->offset;
ef20a9b27c66278 Andrii Nakryiko 2019-08-07 300 }
ef20a9b27c66278 Andrii Nakryiko 2019-08-07 301 /*
ef20a9b27c66278 Andrii Nakryiko 2019-08-07 302 * Get bitfield size of a member, assuming t is BTF_KIND_STRUCT or
ef20a9b27c66278 Andrii Nakryiko 2019-08-07 303 * BTF_KIND_UNION. If member is not a bitfield, zero is returned.
ef20a9b27c66278 Andrii Nakryiko 2019-08-07 304 */
ef20a9b27c66278 Andrii Nakryiko 2019-08-07 305 static inline __u32 btf_member_bitfield_size(const struct btf_type *t,
ef20a9b27c66278 Andrii Nakryiko 2019-08-07 306 __u32 member_idx)
ef20a9b27c66278 Andrii Nakryiko 2019-08-07 307 {
ef20a9b27c66278 Andrii Nakryiko 2019-08-07 308 const struct btf_member *m = btf_members(t) + member_idx;
ef20a9b27c66278 Andrii Nakryiko 2019-08-07 309 bool kflag = btf_kflag(t);
ef20a9b27c66278 Andrii Nakryiko 2019-08-07 310
ef20a9b27c66278 Andrii Nakryiko 2019-08-07 @311 return kflag ? BTF_MEMBER_BITFIELD_SIZE(m->offset) : 0;
ef20a9b27c66278 Andrii Nakryiko 2019-08-07 312 }
ef20a9b27c66278 Andrii Nakryiko 2019-08-07 313
:::::: The code at line 244 was first introduced by commit
:::::: ef20a9b27c66278ac2f85006db8ea11d5f61a781 libbpf: add helpers for working with BTF types
:::::: TO: Andrii Nakryiko <andriin(a)fb.com>
:::::: CC: Alexei Starovoitov <ast(a)kernel.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
2 years, 3 months
[hch-block:module_alloc-cleanup 1/5] arch/x86/um/../kernel/module.c:70:43: error: '_PAGE_NX' undeclared
by kernel test robot
tree: git://git.infradead.org/users/hch/block.git module_alloc-cleanup
head: a9569e6c743ba6dfe6797854db101867564c4eab
commit: cb99dabf06d82b66c104f82d371307bfcfab261a [1/5] x86: add a module_alloc_prot helper
config: um-allmodconfig (attached as .config)
compiler: gcc-9 (Debian 9.3.0-13) 9.3.0
reproduce (this is a W=1 build):
git checkout cb99dabf06d82b66c104f82d371307bfcfab261a
# save the attached .config to linux build tree
make W=1 ARCH=um
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>, old ones prefixed by <<):
cc1: warning: arch/um/include/uapi: No such file or directory [-Wmissing-include-dirs]
In file included from include/linux/uaccess.h:11,
from include/linux/sched/task.h:11,
from include/linux/sched/signal.h:9,
from include/linux/rcuwait.h:6,
from include/linux/percpu-rwsem.h:7,
from include/linux/fs.h:33,
from arch/x86/um/../kernel/module.c:12:
arch/um/include/asm/uaccess.h: In function '__access_ok':
arch/um/include/asm/uaccess.h:17:29: warning: comparison of unsigned expression >= 0 is always true [-Wtype-limits]
17 | (((unsigned long) (addr) >= FIXADDR_USER_START) && | ^~
arch/um/include/asm/uaccess.h:45:3: note: in expansion of macro '__access_ok_vsyscall'
45 | __access_ok_vsyscall(addr, size) ||
| ^~~~~~~~~~~~~~~~~~~~
In file included from include/linux/kernel.h:11,
from include/linux/list.h:9,
from include/linux/module.h:12,
from include/linux/moduleloader.h:6,
from arch/x86/um/../kernel/module.c:9:
include/asm-generic/fixmap.h: In function 'fix_to_virt':
include/asm-generic/fixmap.h:32:19: warning: comparison of unsigned expression >= 0 is always true [-Wtype-limits]
32 | BUILD_BUG_ON(idx >= __end_of_fixed_addresses);
| ^~
include/linux/compiler.h:372:9: note: in definition of macro '__compiletime_assert'
372 | if (!(condition)) | ^~~~~~~~~
include/linux/compiler.h:392:2: note: in expansion of macro '_compiletime_assert'
392 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
| ^~~~~~~~~~~~~~~~~~~
include/linux/build_bug.h:39:37: note: in expansion of macro 'compiletime_assert'
39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg)
| ^~~~~~~~~~~~~~~~~~
include/linux/build_bug.h:50:2: note: in expansion of macro 'BUILD_BUG_ON_MSG'
50 | BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition)
| ^~~~~~~~~~~~~~~~
include/asm-generic/fixmap.h:32:2: note: in expansion of macro 'BUILD_BUG_ON'
32 | BUILD_BUG_ON(idx >= __end_of_fixed_addresses);
| ^~~~~~~~~~~~
arch/x86/um/../kernel/module.c: At top level:
arch/x86/um/../kernel/module.c:68:7: warning: no previous prototype for 'module_alloc_prot' [-Wmissing-prototypes]
68 | void *module_alloc_prot(unsigned long size, pgprot_t prot)
| ^~~~~~~~~~~~~~~~~
arch/x86/um/../kernel/module.c: In function 'module_alloc_prot':
>> arch/x86/um/../kernel/module.c:70:43: error: '_PAGE_NX' undeclared (first use in this function)
70 | unsigned int flags = (pgprot_val(prot) & _PAGE_NX) ?
| ^~~~~~~~
arch/x86/um/../kernel/module.c:70:43: note: each undeclared identifier is reported only once for each function it appears in
vim +/_PAGE_NX +70 arch/x86/um/../kernel/module.c
67
> 68 void *module_alloc_prot(unsigned long size, pgprot_t prot)
69 {
> 70 unsigned int flags = (pgprot_val(prot) & _PAGE_NX) ?
71 0 : VM_FLUSH_RESET_PERMS;
72 void *p;
73
74 if (PAGE_ALIGN(size) > MODULES_LEN)
75 return NULL;
76
77 p = __vmalloc_node_range(size, MODULE_ALIGN,
78 MODULES_VADDR + get_module_load_offset(),
79 MODULES_END, GFP_KERNEL,
80 prot, flags, NUMA_NO_NODE,
81 __builtin_return_address(0));
82 if (p && (kasan_module_alloc(p, size) < 0)) {
83 vfree(p);
84 return NULL;
85 }
86
87 return p;
88 }
89
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
2 years, 3 months