[linux-next:master 2048/11541] omap4-keypad.c:undefined reference to `devm_ioremap_resource'
by kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: 52a0bcb60e40f30211cb5cbbb0f582ec4e91d896
commit: 60dc45119465d086724851d2a5fd09daeb3c515e [2048/11541] Input: omap4-keypad - switch to use managed resources
config: s390-randconfig-r002-20210215 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project c9439ca36342fb6013187d0a69aef92736951476)
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 s390 cross compiling tool for clang build
# apt-get install binutils-s390x-linux-gnu
# https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commi...
git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
git fetch --no-tags linux-next master
git checkout 60dc45119465d086724851d2a5fd09daeb3c515e
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=s390
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 >>):
s390x-linux-gnu-ld: drivers/irqchip/irq-al-fic.o: in function `al_fic_init_dt':
irq-al-fic.c:(.init.text+0x2e): undefined reference to `of_iomap'
s390x-linux-gnu-ld: irq-al-fic.c:(.init.text+0x224): undefined reference to `iounmap'
s390x-linux-gnu-ld: drivers/dma/altera-msgdma.o: in function `msgdma_probe':
altera-msgdma.c:(.text+0xb6): undefined reference to `devm_ioremap'
s390x-linux-gnu-ld: altera-msgdma.c:(.text+0x134): undefined reference to `devm_ioremap'
s390x-linux-gnu-ld: altera-msgdma.c:(.text+0x1b2): undefined reference to `devm_ioremap'
s390x-linux-gnu-ld: drivers/dma/dw/platform.o: in function `dw_probe':
platform.c:(.text+0x98): undefined reference to `devm_platform_ioremap_resource'
s390x-linux-gnu-ld: drivers/dma/idma64.o: in function `idma64_platform_probe':
idma64.c:(.text+0x78): undefined reference to `devm_ioremap_resource'
s390x-linux-gnu-ld: drivers/dma/sf-pdma/sf-pdma.o: in function `sf_pdma_probe':
sf-pdma.c:(.text+0x60): undefined reference to `devm_ioremap_resource'
s390x-linux-gnu-ld: drivers/dma/qcom/hidma_mgmt.o: in function `hidma_mgmt_probe':
hidma_mgmt.c:(.text+0x3de): undefined reference to `devm_ioremap_resource'
s390x-linux-gnu-ld: drivers/dma/qcom/hidma_mgmt.o: in function `hidma_mgmt_of_populate_channels':
hidma_mgmt.c:(.init.text+0x10e): undefined reference to `of_address_to_resource'
s390x-linux-gnu-ld: hidma_mgmt.c:(.init.text+0x126): undefined reference to `of_address_to_resource'
s390x-linux-gnu-ld: drivers/dma/qcom/hidma.o: in function `hidma_probe':
hidma.c:(.text+0x3e): undefined reference to `devm_ioremap_resource'
s390x-linux-gnu-ld: hidma.c:(.text+0x74): undefined reference to `devm_ioremap_resource'
s390x-linux-gnu-ld: drivers/mtd/nand/raw/denali_dt.o: in function `denali_dt_probe':
denali_dt.c:(.text+0xb2): undefined reference to `devm_ioremap_resource'
s390x-linux-gnu-ld: denali_dt.c:(.text+0xe4): undefined reference to `devm_ioremap_resource'
s390x-linux-gnu-ld: drivers/pcmcia/cistpl.o: in function `release_cis_mem':
cistpl.c:(.text+0x88): undefined reference to `iounmap'
s390x-linux-gnu-ld: drivers/pcmcia/cistpl.o: in function `pcmcia_read_cis_mem':
cistpl.c:(.text+0x1b4): undefined reference to `ioremap'
s390x-linux-gnu-ld: cistpl.c:(.text+0x234): undefined reference to `iounmap'
s390x-linux-gnu-ld: cistpl.c:(.text+0x246): undefined reference to `ioremap'
s390x-linux-gnu-ld: cistpl.c:(.text+0x334): undefined reference to `ioremap'
s390x-linux-gnu-ld: cistpl.c:(.text+0x37c): undefined reference to `iounmap'
s390x-linux-gnu-ld: cistpl.c:(.text+0x3be): undefined reference to `iounmap'
s390x-linux-gnu-ld: cistpl.c:(.text+0x3d0): undefined reference to `ioremap'
s390x-linux-gnu-ld: drivers/pcmcia/cistpl.o: in function `pcmcia_write_cis_mem':
cistpl.c:(.text+0x532): undefined reference to `ioremap'
s390x-linux-gnu-ld: cistpl.c:(.text+0x5ae): undefined reference to `iounmap'
s390x-linux-gnu-ld: cistpl.c:(.text+0x5c0): undefined reference to `ioremap'
s390x-linux-gnu-ld: cistpl.c:(.text+0x6ae): undefined reference to `ioremap'
s390x-linux-gnu-ld: cistpl.c:(.text+0x6f6): undefined reference to `iounmap'
s390x-linux-gnu-ld: cistpl.c:(.text+0x72e): undefined reference to `iounmap'
s390x-linux-gnu-ld: cistpl.c:(.text+0x740): undefined reference to `ioremap'
s390x-linux-gnu-ld: drivers/input/serio/apbps2.o: in function `apbps2_of_probe':
apbps2.c:(.text+0x5a): undefined reference to `devm_ioremap_resource'
s390x-linux-gnu-ld: drivers/input/keyboard/bcm-keypad.o: in function `bcm_kp_probe':
bcm-keypad.c:(.text+0x362): undefined reference to `devm_ioremap_resource'
s390x-linux-gnu-ld: drivers/input/keyboard/omap4-keypad.o: in function `omap4_keypad_probe':
>> omap4-keypad.c:(.text+0xbc): undefined reference to `devm_ioremap_resource'
s390x-linux-gnu-ld: drivers/input/touchscreen/imx6ul_tsc.o: in function `imx6ul_tsc_probe':
imx6ul_tsc.c:(.text+0x130): undefined reference to `devm_platform_ioremap_resource'
s390x-linux-gnu-ld: imx6ul_tsc.c:(.text+0x14a): undefined reference to `devm_platform_ioremap_resource'
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 7 months
[chrome-os:chromeos-4.4 9/11] drivers/gpu/drm/evdi/evdi_drv.c:72:6: warning: no previous prototype for 'evdi_platform_device_is_free'
by kernel test robot
tree: https://chromium.googlesource.com/chromiumos/third_party/kernel chromeos-4.4
head: 6d5e8cb22c2a82dde051b99b44498bbc350c7130
commit: 210799dfa9aea12c2d02acb3bec06676cfabef96 [9/11] CHROMIUM: drm/evdi: Use free platform device again after its parent was removed
config: xtensa-allyesconfig (attached as .config)
compiler: xtensa-linux-gcc (GCC) 7.5.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
git remote add chrome-os https://chromium.googlesource.com/chromiumos/third_party/kernel
git fetch --no-tags chrome-os chromeos-4.4
git checkout 210799dfa9aea12c2d02acb3bec06676cfabef96
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-7.5.0 make.cross ARCH=xtensa
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 >>):
cc1: warning: include/drm: No such file or directory [-Wmissing-include-dirs]
In file included from include/uapi/linux/stddef.h:1:0,
from include/linux/stddef.h:4,
from include/uapi/linux/posix_types.h:4,
from include/uapi/linux/types.h:13,
from include/linux/types.h:5,
from include/linux/list.h:4,
from include/linux/agp_backend.h:33,
from include/drm/drmP.h:35,
from drivers/gpu/drm/evdi/evdi_drv.c:10:
include/linux/scatterlist.h: In function 'sg_set_buf':
arch/xtensa/include/asm/page.h:175:9: warning: comparison of unsigned expression >= 0 is always true [-Wtype-limits]
((pfn) >= ARCH_PFN_OFFSET && ((pfn) - ARCH_PFN_OFFSET) < max_mapnr)
^
include/linux/compiler.h:182:42: note: in definition of macro 'unlikely'
# define unlikely(x) __builtin_expect(!!(x), 0)
^
include/linux/scatterlist.h:140:2: note: in expansion of macro 'BUG_ON'
BUG_ON(!virt_addr_valid(buf));
^~~~~~
arch/xtensa/include/asm/page.h:183:32: note: in expansion of macro 'pfn_valid'
#define virt_addr_valid(kaddr) pfn_valid(__pa(kaddr) >> PAGE_SHIFT)
^~~~~~~~~
include/linux/scatterlist.h:140:10: note: in expansion of macro 'virt_addr_valid'
BUG_ON(!virt_addr_valid(buf));
^~~~~~~~~~~~~~~
In file included from drivers/gpu/drm/evdi/evdi_drv.h:23:0,
from drivers/gpu/drm/evdi/evdi_drv.c:17:
include/linux/reservation.h: In function 'reservation_object_fini':
include/linux/reservation.h:122:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < fobj->shared_count; ++i)
^
drivers/gpu/drm/evdi/evdi_drv.c: At top level:
>> drivers/gpu/drm/evdi/evdi_drv.c:72:6: warning: no previous prototype for 'evdi_platform_device_is_free' [-Wmissing-prototypes]
bool evdi_platform_device_is_free(struct platform_device *pdev)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/evdi/evdi_drv.c: In function 'add_device_with_usb_path':
drivers/gpu/drm/evdi/evdi_drv.c:303:8: warning: variable 'itf_token' set but not used [-Wunused-but-set-variable]
char *itf_token = NULL;
^~~~~~~~~
drivers/gpu/drm/evdi/evdi_drv.c: In function 'evdi_init':
drivers/gpu/drm/evdi/evdi_drv.c:491:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < ARRAY_SIZE(evdi_device_attributes); i++) {
^
drivers/gpu/drm/evdi/evdi_drv.c: In function 'evdi_exit':
drivers/gpu/drm/evdi/evdi_drv.c:510:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < ARRAY_SIZE(evdi_device_attributes); i++) {
^
vim +/evdi_platform_device_is_free +72 drivers/gpu/drm/evdi/evdi_drv.c
16
> 17 #include "evdi_drv.h"
18 #include <uapi/drm/evdi_drm.h>
19 #include "evdi_debug.h"
20
21 MODULE_AUTHOR("DisplayLink (UK) Ltd.");
22 MODULE_DESCRIPTION("Extensible Virtual Display Interface");
23 MODULE_LICENSE("GPL");
24
25 #define EVDI_DEVICE_COUNT_MAX 16
26 #define MAX_EVDI_USB_ADDR 10
27
28 static struct evdi_context {
29 struct device *root_dev;
30 unsigned int dev_count;
31 struct platform_device *devices[EVDI_DEVICE_COUNT_MAX];
32 struct notifier_block usb_notifier;
33 } evdi_context;
34
35 static int evdi_platform_drv_usb(__always_unused struct notifier_block *nb,
36 unsigned long action,
37 void *data)
38 {
39 struct usb_device *usb_dev = (struct usb_device *)(data);
40 struct platform_device *pdev;
41 int i = 0;
42
43 if (!usb_dev)
44 return 0;
45 if (action != BUS_NOTIFY_DEL_DEVICE)
46 return 0;
47
48 for (i = 0; i < EVDI_DEVICE_COUNT_MAX; ++i) {
49 pdev = evdi_context.devices[i];
50 if (pdev && pdev->dev.parent == &usb_dev->dev) {
51 EVDI_INFO("Parent USB removed. Removing evdi.%d\n", i);
52 platform_device_unregister(pdev);
53 evdi_context.dev_count--;
54 evdi_context.devices[i] = NULL;
55 }
56 }
57
58 return 0;
59 }
60
61 static int evdi_context_get_free_idx(struct evdi_context *ctx)
62 {
63 int i;
64
65 for (i = 0; i < EVDI_DEVICE_COUNT_MAX; ++i) {
66 if (ctx->devices[i] == NULL)
67 return i;
68 }
69 return -ENOMEM;
70 }
71
> 72 bool evdi_platform_device_is_free(struct platform_device *pdev)
73 {
74 struct drm_device *drm_dev =
75 (struct drm_device *)platform_get_drvdata(pdev);
76 struct evdi_device *evdi = drm_dev->dev_private;
77
78 if (evdi && !evdi_painter_is_connected(evdi))
79 return true;
80 return false;
81 }
82
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 7 months
[mark-rutland:hacks/fiq 34/35] drivers/irqchip/irq-gic-v3.c:534:3: error: implicit declaration of function 'write_sysreg_s'; did you mean
by kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/mark/linux.git hacks/fiq
head: 7ecf26e12a51f06badbab4da4c3257779414c026
commit: 7fe8b45fa364a813f852e4374892652af346ff1e [34/35] [DO NOT MERGE] irqchip/gic-v3: Route SGI/PPI as FIQ
config: arm-defconfig (attached as .config)
compiler: arm-linux-gnueabi-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
# https://git.kernel.org/pub/scm/linux/kernel/git/mark/linux.git/commit/?id...
git remote add mark-rutland https://git.kernel.org/pub/scm/linux/kernel/git/mark/linux.git
git fetch --no-tags mark-rutland hacks/fiq
git checkout 7fe8b45fa364a813f852e4374892652af346ff1e
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arm
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 >>):
drivers/irqchip/irq-gic-v3.c: In function 'gic_eoi_irq':
>> drivers/irqchip/irq-gic-v3.c:534:3: error: implicit declaration of function 'write_sysreg_s'; did you mean 'write_sysreg'? [-Werror=implicit-function-declaration]
534 | write_sysreg_s(d->hwirq, SYS_ICC_EOIR0_EL1);
| ^~~~~~~~~~~~~~
| write_sysreg
>> drivers/irqchip/irq-gic-v3.c:534:28: error: 'SYS_ICC_EOIR0_EL1' undeclared (first use in this function)
534 | write_sysreg_s(d->hwirq, SYS_ICC_EOIR0_EL1);
| ^~~~~~~~~~~~~~~~~
drivers/irqchip/irq-gic-v3.c:534:28: note: each undeclared identifier is reported only once for each function it appears in
drivers/irqchip/irq-gic-v3.c: In function 'gic_handle_fiq':
>> drivers/irqchip/irq-gic-v3.c:686:10: error: implicit declaration of function 'read_sysreg_s'; did you mean 'read_sysreg'? [-Werror=implicit-function-declaration]
686 | irqnr = read_sysreg_s(SYS_ICC_IAR0_EL1);
| ^~~~~~~~~~~~~
| read_sysreg
>> drivers/irqchip/irq-gic-v3.c:686:24: error: 'SYS_ICC_IAR0_EL1' undeclared (first use in this function)
686 | irqnr = read_sysreg_s(SYS_ICC_IAR0_EL1);
| ^~~~~~~~~~~~~~~~
drivers/irqchip/irq-gic-v3.c:704:25: error: 'SYS_ICC_EOIR0_EL1' undeclared (first use in this function)
704 | write_sysreg_s(irqnr, SYS_ICC_EOIR0_EL1);
| ^~~~~~~~~~~~~~~~~
drivers/irqchip/irq-gic-v3.c: In function 'gic_cpu_sys_reg_init':
>> drivers/irqchip/irq-gic-v3.c:990:21: error: 'SYS_ICC_BPR0_EL1' undeclared (first use in this function); did you mean 'read_ICC_AP1R0_EL1'?
990 | write_sysreg_s(0, SYS_ICC_BPR0_EL1);
| ^~~~~~~~~~~~~~~~
| read_ICC_AP1R0_EL1
>> drivers/irqchip/irq-gic-v3.c:1038:21: error: 'SYS_ICC_IGRPEN0_EL1' undeclared (first use in this function)
1038 | write_sysreg_s(1, SYS_ICC_IGRPEN0_EL1);
| ^~~~~~~~~~~~~~~~~~~
drivers/irqchip/irq-gic-v3.c: In function 'gic_init_bases':
drivers/irqchip/irq-gic-v3.c:1743:2: error: implicit declaration of function 'set_handle_irq_entry'; did you mean 'set_handle_irq'? [-Werror=implicit-function-declaration]
1743 | set_handle_irq_entry(gic_handle_irq, 0);
| ^~~~~~~~~~~~~~~~~~~~
| set_handle_irq
cc1: some warnings being treated as errors
vim +534 drivers/irqchip/irq-gic-v3.c
530
531 static void gic_eoi_irq(struct irq_data *d)
532 {
533 if (d->hwirq < 32) {
> 534 write_sysreg_s(d->hwirq, SYS_ICC_EOIR0_EL1);
535 isb();
536 return;
537 }
538 gic_write_eoir(gic_irq(d));
539 }
540
541 static void gic_eoimode1_eoi_irq(struct irq_data *d)
542 {
543 /*
544 * No need to deactivate an LPI, or an interrupt that
545 * is is getting forwarded to a vcpu.
546 */
547 if (gic_irq(d) >= 8192 || irqd_is_forwarded_to_vcpu(d))
548 return;
549 gic_write_dir(gic_irq(d));
550 }
551
552 static int gic_set_type(struct irq_data *d, unsigned int type)
553 {
554 enum gic_intid_range range;
555 unsigned int irq = gic_irq(d);
556 void (*rwp_wait)(void);
557 void __iomem *base;
558 u32 offset, index;
559 int ret;
560
561 range = get_intid_range(d);
562
563 /* Interrupt configuration for SGIs can't be changed */
564 if (range == SGI_RANGE)
565 return type != IRQ_TYPE_EDGE_RISING ? -EINVAL : 0;
566
567 /* SPIs have restrictions on the supported types */
568 if ((range == SPI_RANGE || range == ESPI_RANGE) &&
569 type != IRQ_TYPE_LEVEL_HIGH && type != IRQ_TYPE_EDGE_RISING)
570 return -EINVAL;
571
572 if (gic_irq_in_rdist(d)) {
573 base = gic_data_rdist_sgi_base();
574 rwp_wait = gic_redist_wait_for_rwp;
575 } else {
576 base = gic_data.dist_base;
577 rwp_wait = gic_dist_wait_for_rwp;
578 }
579
580 offset = convert_offset_index(d, GICD_ICFGR, &index);
581
582 ret = gic_configure_irq(index, type, base + offset, rwp_wait);
583 if (ret && (range == PPI_RANGE || range == EPPI_RANGE)) {
584 /* Misconfigured PPIs are usually not fatal */
585 pr_warn("GIC: PPI INTID%d is secure or misconfigured\n", irq);
586 ret = 0;
587 }
588
589 return ret;
590 }
591
592 static int gic_irq_set_vcpu_affinity(struct irq_data *d, void *vcpu)
593 {
594 if (get_intid_range(d) == SGI_RANGE)
595 return -EINVAL;
596
597 if (vcpu)
598 irqd_set_forwarded_to_vcpu(d);
599 else
600 irqd_clr_forwarded_to_vcpu(d);
601 return 0;
602 }
603
604 static u64 gic_mpidr_to_affinity(unsigned long mpidr)
605 {
606 u64 aff;
607
608 aff = ((u64)MPIDR_AFFINITY_LEVEL(mpidr, 3) << 32 |
609 MPIDR_AFFINITY_LEVEL(mpidr, 2) << 16 |
610 MPIDR_AFFINITY_LEVEL(mpidr, 1) << 8 |
611 MPIDR_AFFINITY_LEVEL(mpidr, 0));
612
613 return aff;
614 }
615
616 static void gic_deactivate_unhandled(u32 irqnr)
617 {
618 if (static_branch_likely(&supports_deactivate_key)) {
619 if (irqnr < 8192)
620 gic_write_dir(irqnr);
621 } else {
622 gic_write_eoir(irqnr);
623 }
624 }
625
626 static inline void gic_handle_nmi(u32 irqnr, struct pt_regs *regs)
627 {
628 bool irqs_enabled = interrupts_enabled(regs);
629 int err;
630
631 if (irqs_enabled)
632 nmi_enter();
633
634 if (static_branch_likely(&supports_deactivate_key))
635 gic_write_eoir(irqnr);
636 /*
637 * Leave the PSR.I bit set to prevent other NMIs to be
638 * received while handling this one.
639 * PSR.I will be restored when we ERET to the
640 * interrupted context.
641 */
642 err = handle_domain_nmi(gic_data.domain, irqnr, regs);
643 if (err)
644 gic_deactivate_unhandled(irqnr);
645
646 if (irqs_enabled)
647 nmi_exit();
648 }
649
650 static asmlinkage void __exception_irq_entry gic_handle_irq(struct pt_regs *regs)
651 {
652 u32 irqnr;
653
654 irqnr = gic_read_iar();
655
656 if (gic_supports_nmi() &&
657 unlikely(gic_read_rpr() == GICD_INT_NMI_PRI)) {
658 gic_handle_nmi(irqnr, regs);
659 return;
660 }
661
662 if (gic_prio_masking_enabled()) {
663 gic_pmr_mask_irqs();
664 gic_arch_enable_irqs();
665 }
666
667 /* Check for special IDs first */
668 if ((irqnr >= 1020 && irqnr <= 1023))
669 return;
670
671 if (static_branch_likely(&supports_deactivate_key))
672 gic_write_eoir(irqnr);
673 else
674 isb();
675
676 if (handle_domain_irq(gic_data.domain, irqnr, regs)) {
677 WARN_ONCE(true, "Unexpected interrupt received!\n");
678 gic_deactivate_unhandled(irqnr);
679 }
680 }
681
682 static asmlinkage void __exception_irq_entry gic_handle_fiq(struct pt_regs *regs)
683 {
684 u32 irqnr;
685
> 686 irqnr = read_sysreg_s(SYS_ICC_IAR0_EL1);
687
688 if (gic_supports_nmi() &&
689 unlikely(gic_read_rpr() == GICD_INT_NMI_PRI)) {
690 gic_handle_nmi(irqnr, regs);
691 return;
692 }
693
694 if (gic_prio_masking_enabled()) {
695 gic_pmr_mask_irqs();
696 gic_arch_enable_irqs();
697 }
698
699 /* Check for special IDs first */
700 if ((irqnr >= 1020 && irqnr <= 1023))
701 return;
702
703 if (static_branch_likely(&supports_deactivate_key)) {
> 704 write_sysreg_s(irqnr, SYS_ICC_EOIR0_EL1);
705 }
706
707 isb();
708
709 if (handle_domain_irq(gic_data.domain, irqnr, regs)) {
710 WARN_ONCE(true, "Unexpected interrupt received!\n");
711 gic_deactivate_unhandled(irqnr);
712 }
713 }
714
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 7 months
[chrome-os:chromeos-4.4 3/11] drivers/gpu/drm/evdi/evdi_drv.c:202:8: warning: variable 'itf_token' set but not used
by kernel test robot
tree: https://chromium.googlesource.com/chromiumos/third_party/kernel chromeos-4.4
head: 6d5e8cb22c2a82dde051b99b44498bbc350c7130
commit: ae588f850c1712c8560dceb311a63f993aaead90 [3/11] CHROMIUM: drm/evdi: Parse usb path in evdi's add sysfs attribute
config: arc-allyesconfig (attached as .config)
compiler: arceb-elf-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
git remote add chrome-os https://chromium.googlesource.com/chromiumos/third_party/kernel
git fetch --no-tags chrome-os chromeos-4.4
git checkout ae588f850c1712c8560dceb311a63f993aaead90
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arc
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 >>):
cc1: warning: include/drm: No such file or directory [-Wmissing-include-dirs]
In file included from arch/arc/include/asm/bug.h:32,
from include/linux/bug.h:4,
from include/linux/debug_locks.h:6,
from include/linux/lockdep.h:23,
from include/linux/spinlock_types.h:18,
from include/linux/mutex.h:15,
from include/linux/kernfs.h:13,
from include/linux/sysfs.h:15,
from include/linux/kobject.h:21,
from include/linux/cdev.h:4,
from include/drm/drmP.h:36,
from drivers/gpu/drm/evdi/evdi_drv.c:10:
include/linux/cpumask.h: In function 'cpumask_check':
include/linux/cpumask.h:117:19: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
117 | WARN_ON_ONCE(cpu >= nr_cpumask_bits);
| ^~
include/asm-generic/bug.h:123:27: note: in definition of macro 'WARN_ON_ONCE'
123 | int __ret_warn_once = !!(condition); \
| ^~~~~~~~~
In file included from include/uapi/linux/stddef.h:1,
from include/linux/stddef.h:4,
from include/uapi/linux/posix_types.h:4,
from include/uapi/linux/types.h:13,
from include/linux/types.h:5,
from include/linux/list.h:4,
from include/linux/agp_backend.h:33,
from include/drm/drmP.h:35,
from drivers/gpu/drm/evdi/evdi_drv.c:10:
include/linux/highmem.h: In function 'kmap_atomic_idx_push':
include/linux/highmem.h:97:13: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare]
97 | BUG_ON(idx >= KM_TYPE_NR);
| ^~
include/linux/compiler.h:182:42: note: in definition of macro 'unlikely'
182 | # define unlikely(x) __builtin_expect(!!(x), 0)
| ^
include/linux/highmem.h:97:2: note: in expansion of macro 'BUG_ON'
97 | BUG_ON(idx >= KM_TYPE_NR);
| ^~~~~~
In file included from include/linux/fb.h:4,
from include/drm/drm_crtc.h:31,
from include/drm/drmP.h:70,
from drivers/gpu/drm/evdi/evdi_drv.c:10:
include/drm/drmP.h: In function 'drm_can_sleep':
include/linux/kgdb.h:320:42: warning: comparison of integer expressions of different signedness: '__u32' {aka 'unsigned int'} and 'int' [-Wsign-compare]
320 | (irqs_disabled() && (smp_processor_id() == atomic_read(&kgdb_active)))
| ^~
include/drm/drmP.h:1249:21: note: in expansion of macro 'in_dbg_master'
1249 | if (in_atomic() || in_dbg_master() || irqs_disabled())
| ^~~~~~~~~~~~~
In file included from drivers/gpu/drm/evdi/evdi_drv.h:23,
from drivers/gpu/drm/evdi/evdi_drv.c:16:
include/linux/reservation.h: In function 'reservation_object_fini':
include/linux/reservation.h:122:17: warning: comparison of integer expressions of different signedness: 'int' and 'u32' {aka 'unsigned int'} [-Wsign-compare]
122 | for (i = 0; i < fobj->shared_count; ++i)
| ^
drivers/gpu/drm/evdi/evdi_drv.c: In function 'evdi_remove_all':
drivers/gpu/drm/evdi/evdi_drv.c:159:16: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
159 | for (i = 0; i < evdi_context.dev_count; ++i) {
| ^
drivers/gpu/drm/evdi/evdi_drv.c: In function 'add_device_with_usb_path':
>> drivers/gpu/drm/evdi/evdi_drv.c:202:8: warning: variable 'itf_token' set but not used [-Wunused-but-set-variable]
202 | char *itf_token = NULL;
| ^~~~~~~~~
drivers/gpu/drm/evdi/evdi_drv.c: In function 'evdi_init':
drivers/gpu/drm/evdi/evdi_drv.c:315:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
315 | for (i = 0; i < ARRAY_SIZE(evdi_device_attributes); i++) {
| ^
drivers/gpu/drm/evdi/evdi_drv.c: In function 'evdi_exit':
drivers/gpu/drm/evdi/evdi_drv.c:332:17: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
332 | for (i = 0; i < ARRAY_SIZE(evdi_device_attributes); i++) {
| ^
vim +/itf_token +202 drivers/gpu/drm/evdi/evdi_drv.c
194
195 static ssize_t add_device_with_usb_path(__always_unused struct device *dev,
196 const char *buf, size_t count)
197 {
198 char *usb_path = kstrdup(buf, GFP_KERNEL);
199 char *temp_path = usb_path;
200 char *bus_token = NULL;
201 char *usb_token = NULL;
> 202 char *itf_token = NULL;
203
204 temp_path = strnstr(temp_path, "usb:", count);
205 if (!temp_path)
206 goto err_parse_usb_path;
207
208
209 temp_path = strim(temp_path);
210
211 bus_token = strsep(&temp_path, ":");
212 if (!bus_token)
213 goto err_parse_usb_path;
214
215 usb_token = strsep(&temp_path, ":");
216 if (!usb_token)
217 goto err_parse_usb_path;
218
219 itf_token = strsep(&temp_path, ":");
220
221
222 EVDI_INFO("Attaching to %s:%s\n", bus_token, usb_token);
223 return count;
224
225 err_parse_usb_path:
226 EVDI_ERROR("Unable to parse usb path: %s", buf);
227 kfree(usb_path);
228 return -EINVAL;
229 }
230
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 7 months
[linux-next:master 3288/11526] mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data279' from `drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.o' being placed in section `.data.$Lubsan_data279'
by kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: 6553715b6db5ff5d4898895dad1b2926cfe406cf
commit: d3a4e0f1b440a3c9f665fff796a9532c686a014a [3288/11526] MIPS: select ARCH_WANT_LD_ORPHAN_WARN
config: mips-randconfig-s031-20210215 (attached as .config)
compiler: mipsel-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
# apt-get install sparse
# sparse version: v0.6.3-215-g0fb77bb6-dirty
# https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commi...
git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
git fetch --no-tags linux-next master
git checkout d3a4e0f1b440a3c9f665fff796a9532c686a014a
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=mips
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 >>):
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type0' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/gp102.o' being placed in section `.data.$Lubsan_type0'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data284' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/gv100.o' being placed in section `.data.$Lubsan_data284'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data283' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/gv100.o' being placed in section `.data.$Lubsan_data283'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data282' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/gv100.o' being placed in section `.data.$Lubsan_data282'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data281' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/gv100.o' being placed in section `.data.$Lubsan_data281'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data280' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/gv100.o' being placed in section `.data.$Lubsan_data280'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data279' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/gv100.o' being placed in section `.data.$Lubsan_data279'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data278' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/gv100.o' being placed in section `.data.$Lubsan_data278'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data277' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/gv100.o' being placed in section `.data.$Lubsan_data277'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data276' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/gv100.o' being placed in section `.data.$Lubsan_data276'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data275' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/gv100.o' being placed in section `.data.$Lubsan_data275'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data274' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/gv100.o' being placed in section `.data.$Lubsan_data274'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type1' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/gv100.o' being placed in section `.data.$Lubsan_type1'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type0' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/gv100.o' being placed in section `.data.$Lubsan_type0'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data277' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/tu102.o' being placed in section `.data.$Lubsan_data277'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data276' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/tu102.o' being placed in section `.data.$Lubsan_data276'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data275' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/tu102.o' being placed in section `.data.$Lubsan_data275'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data274' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/tu102.o' being placed in section `.data.$Lubsan_data274'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type0' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/tu102.o' being placed in section `.data.$Lubsan_type0'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data276' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/headnv50.o' being placed in section `.data.$Lubsan_data276'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data275' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/headnv50.o' being placed in section `.data.$Lubsan_data275'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data274' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/headnv50.o' being placed in section `.data.$Lubsan_data274'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type0' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/headnv50.o' being placed in section `.data.$Lubsan_type0'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data274' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/headgv100.o' being placed in section `.data.$Lubsan_data274'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type0' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/headgv100.o' being placed in section `.data.$Lubsan_type0'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data279' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/sorg94.o' being placed in section `.data.$Lubsan_data279'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data278' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/sorg94.o' being placed in section `.data.$Lubsan_data278'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data277' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/sorg94.o' being placed in section `.data.$Lubsan_data277'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data276' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/sorg94.o' being placed in section `.data.$Lubsan_data276'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data275' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/sorg94.o' being placed in section `.data.$Lubsan_data275'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data274' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/sorg94.o' being placed in section `.data.$Lubsan_data274'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type2' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/sorg94.o' being placed in section `.data.$Lubsan_type2'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type0' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/sorg94.o' being placed in section `.data.$Lubsan_type0'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data280' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/sorgf119.o' being placed in section `.data.$Lubsan_data280'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data279' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/sorgf119.o' being placed in section `.data.$Lubsan_data279'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data278' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/sorgf119.o' being placed in section `.data.$Lubsan_data278'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data277' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/sorgf119.o' being placed in section `.data.$Lubsan_data277'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data276' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/sorgf119.o' being placed in section `.data.$Lubsan_data276'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data275' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/sorgf119.o' being placed in section `.data.$Lubsan_data275'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data274' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/sorgf119.o' being placed in section `.data.$Lubsan_data274'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type2' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/sorgf119.o' being placed in section `.data.$Lubsan_type2'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type0' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/sorgf119.o' being placed in section `.data.$Lubsan_type0'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data281' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/sorgm200.o' being placed in section `.data.$Lubsan_data281'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data279' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/sorgm200.o' being placed in section `.data.$Lubsan_data279'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data278' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/sorgm200.o' being placed in section `.data.$Lubsan_data278'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data277' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/sorgm200.o' being placed in section `.data.$Lubsan_data277'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data276' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/sorgm200.o' being placed in section `.data.$Lubsan_data276'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data275' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/sorgm200.o' being placed in section `.data.$Lubsan_data275'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data274' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/sorgm200.o' being placed in section `.data.$Lubsan_data274'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type2' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/sorgm200.o' being placed in section `.data.$Lubsan_type2'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type1' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/sorgm200.o' being placed in section `.data.$Lubsan_type1'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type0' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/sorgm200.o' being placed in section `.data.$Lubsan_type0'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data274' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/sorgp100.o' being placed in section `.data.$Lubsan_data274'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type1' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/sorgp100.o' being placed in section `.data.$Lubsan_type1'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type0' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/sorgp100.o' being placed in section `.data.$Lubsan_type0'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data274' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/sorgv100.o' being placed in section `.data.$Lubsan_data274'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type1' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/sorgv100.o' being placed in section `.data.$Lubsan_type1'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type0' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/sorgv100.o' being placed in section `.data.$Lubsan_type0'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data275' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/sortu102.o' being placed in section `.data.$Lubsan_data275'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data274' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/sortu102.o' being placed in section `.data.$Lubsan_data274'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type1' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/sortu102.o' being placed in section `.data.$Lubsan_type1'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type0' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/sortu102.o' being placed in section `.data.$Lubsan_type0'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data280' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.o' being placed in section `.data.$Lubsan_data280'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data279' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.o' being placed in section `.data.$Lubsan_data279'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data275' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.o' being placed in section `.data.$Lubsan_data275'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type2' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.o' being placed in section `.data.$Lubsan_type2'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type0' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.o' being placed in section `.data.$Lubsan_type0'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data281' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/channv50.o' being placed in section `.data.$Lubsan_data281'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data280' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/channv50.o' being placed in section `.data.$Lubsan_data280'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data279' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/channv50.o' being placed in section `.data.$Lubsan_data279'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data278' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/channv50.o' being placed in section `.data.$Lubsan_data278'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data277' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/channv50.o' being placed in section `.data.$Lubsan_data277'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data276' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/channv50.o' being placed in section `.data.$Lubsan_data276'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data275' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/channv50.o' being placed in section `.data.$Lubsan_data275'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data274' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/channv50.o' being placed in section `.data.$Lubsan_data274'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type0' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/channv50.o' being placed in section `.data.$Lubsan_type0'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data280' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/changf119.o' being placed in section `.data.$Lubsan_data280'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data279' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/changf119.o' being placed in section `.data.$Lubsan_data279'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data278' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/changf119.o' being placed in section `.data.$Lubsan_data278'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data277' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/changf119.o' being placed in section `.data.$Lubsan_data277'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data276' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/changf119.o' being placed in section `.data.$Lubsan_data276'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data275' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/changf119.o' being placed in section `.data.$Lubsan_data275'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data274' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/changf119.o' being placed in section `.data.$Lubsan_data274'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type0' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/changf119.o' being placed in section `.data.$Lubsan_type0'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data275' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/wimmgv100.o' being placed in section `.data.$Lubsan_data275'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data274' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/wimmgv100.o' being placed in section `.data.$Lubsan_data274'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type1' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/wimmgv100.o' being placed in section `.data.$Lubsan_type1'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type0' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/wimmgv100.o' being placed in section `.data.$Lubsan_type0'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data275' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/wndwgv100.o' being placed in section `.data.$Lubsan_data275'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data274' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/wndwgv100.o' being placed in section `.data.$Lubsan_data274'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type1' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/wndwgv100.o' being placed in section `.data.$Lubsan_type1'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type0' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/wndwgv100.o' being placed in section `.data.$Lubsan_type0'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data274' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/cursgv100.o' being placed in section `.data.$Lubsan_data274'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type0' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/cursgv100.o' being placed in section `.data.$Lubsan_type0'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data285' from `drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.o' being placed in section `.data.$Lubsan_data285'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data284' from `drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.o' being placed in section `.data.$Lubsan_data284'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data283' from `drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.o' being placed in section `.data.$Lubsan_data283'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data282' from `drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.o' being placed in section `.data.$Lubsan_data282'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data281' from `drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.o' being placed in section `.data.$Lubsan_data281'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data280' from `drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.o' being placed in section `.data.$Lubsan_data280'
>> mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data279' from `drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.o' being placed in section `.data.$Lubsan_data279'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data277' from `drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.o' being placed in section `.data.$Lubsan_data277'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data276' from `drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.o' being placed in section `.data.$Lubsan_data276'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data275' from `drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.o' being placed in section `.data.$Lubsan_data275'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data274' from `drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.o' being placed in section `.data.$Lubsan_data274'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type3' from `drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.o' being placed in section `.data.$Lubsan_type3'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type2' from `drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.o' being placed in section `.data.$Lubsan_type2'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type0' from `drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.o' being placed in section `.data.$Lubsan_type0'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data290' from `drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.o' being placed in section `.data.$Lubsan_data290'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data289' from `drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.o' being placed in section `.data.$Lubsan_data289'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data288' from `drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.o' being placed in section `.data.$Lubsan_data288'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data287' from `drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.o' being placed in section `.data.$Lubsan_data287'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data286' from `drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.o' being placed in section `.data.$Lubsan_data286'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data285' from `drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.o' being placed in section `.data.$Lubsan_data285'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data284' from `drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.o' being placed in section `.data.$Lubsan_data284'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data283' from `drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.o' being placed in section `.data.$Lubsan_data283'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data282' from `drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.o' being placed in section `.data.$Lubsan_data282'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data281' from `drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.o' being placed in section `.data.$Lubsan_data281'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data280' from `drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.o' being placed in section `.data.$Lubsan_data280'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data279' from `drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.o' being placed in section `.data.$Lubsan_data279'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data278' from `drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.o' being placed in section `.data.$Lubsan_data278'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data277' from `drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.o' being placed in section `.data.$Lubsan_data277'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data276' from `drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.o' being placed in section `.data.$Lubsan_data276'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data275' from `drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.o' being placed in section `.data.$Lubsan_data275'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data274' from `drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.o' being placed in section `.data.$Lubsan_data274'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type3' from `drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.o' being placed in section `.data.$Lubsan_type3'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type2' from `drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.o' being placed in section `.data.$Lubsan_type2'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type1' from `drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.o' being placed in section `.data.$Lubsan_type1'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type0' from `drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.o' being placed in section `.data.$Lubsan_type0'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data274' from `drivers/gpu/drm/nouveau/nvkm/engine/fifo/tu102.o' being placed in section `.data.$Lubsan_data274'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type0' from `drivers/gpu/drm/nouveau/nvkm/engine/fifo/tu102.o' being placed in section `.data.$Lubsan_type0'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data274' from `drivers/gpu/drm/nouveau/nvkm/engine/fifo/chan.o' being placed in section `.data.$Lubsan_data274'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type3' from `drivers/gpu/drm/nouveau/nvkm/engine/fifo/chan.o' being placed in section `.data.$Lubsan_type3'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type0' from `drivers/gpu/drm/nouveau/nvkm/engine/fifo/chan.o' being placed in section `.data.$Lubsan_type0'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data275' from `drivers/gpu/drm/nouveau/nvkm/engine/fifo/dmanv04.o' being placed in section `.data.$Lubsan_data275'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data274' from `drivers/gpu/drm/nouveau/nvkm/engine/fifo/dmanv04.o' being placed in section `.data.$Lubsan_data274'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type0' from `drivers/gpu/drm/nouveau/nvkm/engine/fifo/dmanv04.o' being placed in section `.data.$Lubsan_type0'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data275' from `drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifogk104.o' being placed in section `.data.$Lubsan_data275'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data274' from `drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifogk104.o' being placed in section `.data.$Lubsan_data274'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type3' from `drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifogk104.o' being placed in section `.data.$Lubsan_type3'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type2' from `drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifogk104.o' being placed in section `.data.$Lubsan_type2'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type0' from `drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifogk104.o' being placed in section `.data.$Lubsan_type0'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data278' from `drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifogv100.o' being placed in section `.data.$Lubsan_data278'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data277' from `drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifogv100.o' being placed in section `.data.$Lubsan_data277'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data276' from `drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifogv100.o' being placed in section `.data.$Lubsan_data276'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data275' from `drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifogv100.o' being placed in section `.data.$Lubsan_data275'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data274' from `drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifogv100.o' being placed in section `.data.$Lubsan_data274'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type3' from `drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifogv100.o' being placed in section `.data.$Lubsan_type3'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type2' from `drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifogv100.o' being placed in section `.data.$Lubsan_type2'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type1' from `drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifogv100.o' being placed in section `.data.$Lubsan_type1'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type0' from `drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifogv100.o' being placed in section `.data.$Lubsan_type0'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data274' from `drivers/gpu/drm/nouveau/nvkm/engine/gr/g84.o' being placed in section `.data.$Lubsan_data274'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type0' from `drivers/gpu/drm/nouveau/nvkm/engine/gr/g84.o' being placed in section `.data.$Lubsan_type0'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data283' from `drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.o' being placed in section `.data.$Lubsan_data283'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data281' from `drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.o' being placed in section `.data.$Lubsan_data281'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data280' from `drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.o' being placed in section `.data.$Lubsan_data280'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type5' from `drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.o' being placed in section `.data.$Lubsan_type5'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data279' from `drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.o' being placed in section `.data.$Lubsan_data279'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data278' from `drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.o' being placed in section `.data.$Lubsan_data278'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data277' from `drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.o' being placed in section `.data.$Lubsan_data277'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type3' from `drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.o' being placed in section `.data.$Lubsan_type3'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type2' from `drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.o' being placed in section `.data.$Lubsan_type2'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type0' from `drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.o' being placed in section `.data.$Lubsan_type0'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data274' from `drivers/gpu/drm/nouveau/nvkm/engine/gr/gf117.o' being placed in section `.data.$Lubsan_data274'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type0' from `drivers/gpu/drm/nouveau/nvkm/engine/gr/gf117.o' being placed in section `.data.$Lubsan_type0'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data274' from `drivers/gpu/drm/nouveau/nvkm/engine/gr/gk104.o' being placed in section `.data.$Lubsan_data274'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type0' from `drivers/gpu/drm/nouveau/nvkm/engine/gr/gk104.o' being placed in section `.data.$Lubsan_type0'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data274' from `drivers/gpu/drm/nouveau/nvkm/engine/gr/gk20a.o' being placed in section `.data.$Lubsan_data274'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type0' from `drivers/gpu/drm/nouveau/nvkm/engine/gr/gk20a.o' being placed in section `.data.$Lubsan_type0'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data277' from `drivers/gpu/drm/nouveau/nvkm/engine/gr/gp100.o' being placed in section `.data.$Lubsan_data277'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data276' from `drivers/gpu/drm/nouveau/nvkm/engine/gr/gp100.o' being placed in section `.data.$Lubsan_data276'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data275' from `drivers/gpu/drm/nouveau/nvkm/engine/gr/gp100.o' being placed in section `.data.$Lubsan_data275'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data274' from `drivers/gpu/drm/nouveau/nvkm/engine/gr/gp100.o' being placed in section `.data.$Lubsan_data274'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type2' from `drivers/gpu/drm/nouveau/nvkm/engine/gr/gp100.o' being placed in section `.data.$Lubsan_type2'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type0' from `drivers/gpu/drm/nouveau/nvkm/engine/gr/gp100.o' being placed in section `.data.$Lubsan_type0'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data276' from `drivers/gpu/drm/nouveau/nvkm/engine/gr/gp102.o' being placed in section `.data.$Lubsan_data276'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data275' from `drivers/gpu/drm/nouveau/nvkm/engine/gr/gp102.o' being placed in section `.data.$Lubsan_data275'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data274' from `drivers/gpu/drm/nouveau/nvkm/engine/gr/gp102.o' being placed in section `.data.$Lubsan_data274'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type2' from `drivers/gpu/drm/nouveau/nvkm/engine/gr/gp102.o' being placed in section `.data.$Lubsan_type2'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type0' from `drivers/gpu/drm/nouveau/nvkm/engine/gr/gp102.o' being placed in section `.data.$Lubsan_type0'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data274' from `drivers/gpu/drm/nouveau/nvkm/engine/gr/tu102.o' being placed in section `.data.$Lubsan_data274'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type0' from `drivers/gpu/drm/nouveau/nvkm/engine/gr/tu102.o' being placed in section `.data.$Lubsan_type0'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data294' from `drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.o' being placed in section `.data.$Lubsan_data294'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data293' from `drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.o' being placed in section `.data.$Lubsan_data293'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data292' from `drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.o' being placed in section `.data.$Lubsan_data292'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data291' from `drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.o' being placed in section `.data.$Lubsan_data291'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data290' from `drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.o' being placed in section `.data.$Lubsan_data290'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data274' from `drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.o' being placed in section `.data.$Lubsan_data274'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type3' from `drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.o' being placed in section `.data.$Lubsan_type3'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type2' from `drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.o' being placed in section `.data.$Lubsan_type2'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type0' from `drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.o' being placed in section `.data.$Lubsan_type0'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data281' from `drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf117.o' being placed in section `.data.$Lubsan_data281'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type0' from `drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf117.o' being placed in section `.data.$Lubsan_type0'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data281' from `drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgk104.o' being placed in section `.data.$Lubsan_data281'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data280' from `drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgk104.o' being placed in section `.data.$Lubsan_data280'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type3' from `drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgk104.o' being placed in section `.data.$Lubsan_type3'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type0' from `drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgk104.o' being placed in section `.data.$Lubsan_type0'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data274' from `drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgm107.o' being placed in section `.data.$Lubsan_data274'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type0' from `drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgm107.o' being placed in section `.data.$Lubsan_type0'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data278' from `drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgm200.o' being placed in section `.data.$Lubsan_data278'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data277' from `drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgm200.o' being placed in section `.data.$Lubsan_data277'
--
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type0' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/gp102.o' being placed in section `.data.$Lubsan_type0'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data284' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/gv100.o' being placed in section `.data.$Lubsan_data284'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data283' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/gv100.o' being placed in section `.data.$Lubsan_data283'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data282' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/gv100.o' being placed in section `.data.$Lubsan_data282'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data281' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/gv100.o' being placed in section `.data.$Lubsan_data281'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data280' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/gv100.o' being placed in section `.data.$Lubsan_data280'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data279' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/gv100.o' being placed in section `.data.$Lubsan_data279'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data278' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/gv100.o' being placed in section `.data.$Lubsan_data278'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data277' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/gv100.o' being placed in section `.data.$Lubsan_data277'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data276' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/gv100.o' being placed in section `.data.$Lubsan_data276'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data275' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/gv100.o' being placed in section `.data.$Lubsan_data275'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data274' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/gv100.o' being placed in section `.data.$Lubsan_data274'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type1' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/gv100.o' being placed in section `.data.$Lubsan_type1'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type0' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/gv100.o' being placed in section `.data.$Lubsan_type0'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data277' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/tu102.o' being placed in section `.data.$Lubsan_data277'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data276' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/tu102.o' being placed in section `.data.$Lubsan_data276'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data275' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/tu102.o' being placed in section `.data.$Lubsan_data275'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data274' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/tu102.o' being placed in section `.data.$Lubsan_data274'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type0' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/tu102.o' being placed in section `.data.$Lubsan_type0'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data276' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/headnv50.o' being placed in section `.data.$Lubsan_data276'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data275' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/headnv50.o' being placed in section `.data.$Lubsan_data275'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data274' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/headnv50.o' being placed in section `.data.$Lubsan_data274'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type0' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/headnv50.o' being placed in section `.data.$Lubsan_type0'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data274' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/headgv100.o' being placed in section `.data.$Lubsan_data274'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type0' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/headgv100.o' being placed in section `.data.$Lubsan_type0'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data279' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/sorg94.o' being placed in section `.data.$Lubsan_data279'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data278' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/sorg94.o' being placed in section `.data.$Lubsan_data278'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data277' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/sorg94.o' being placed in section `.data.$Lubsan_data277'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data276' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/sorg94.o' being placed in section `.data.$Lubsan_data276'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data275' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/sorg94.o' being placed in section `.data.$Lubsan_data275'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data274' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/sorg94.o' being placed in section `.data.$Lubsan_data274'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type2' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/sorg94.o' being placed in section `.data.$Lubsan_type2'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type0' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/sorg94.o' being placed in section `.data.$Lubsan_type0'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data280' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/sorgf119.o' being placed in section `.data.$Lubsan_data280'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data279' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/sorgf119.o' being placed in section `.data.$Lubsan_data279'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data278' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/sorgf119.o' being placed in section `.data.$Lubsan_data278'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data277' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/sorgf119.o' being placed in section `.data.$Lubsan_data277'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data276' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/sorgf119.o' being placed in section `.data.$Lubsan_data276'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data275' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/sorgf119.o' being placed in section `.data.$Lubsan_data275'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data274' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/sorgf119.o' being placed in section `.data.$Lubsan_data274'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type2' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/sorgf119.o' being placed in section `.data.$Lubsan_type2'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type0' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/sorgf119.o' being placed in section `.data.$Lubsan_type0'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data281' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/sorgm200.o' being placed in section `.data.$Lubsan_data281'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data279' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/sorgm200.o' being placed in section `.data.$Lubsan_data279'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data278' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/sorgm200.o' being placed in section `.data.$Lubsan_data278'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data277' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/sorgm200.o' being placed in section `.data.$Lubsan_data277'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data276' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/sorgm200.o' being placed in section `.data.$Lubsan_data276'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data275' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/sorgm200.o' being placed in section `.data.$Lubsan_data275'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data274' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/sorgm200.o' being placed in section `.data.$Lubsan_data274'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type2' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/sorgm200.o' being placed in section `.data.$Lubsan_type2'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type1' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/sorgm200.o' being placed in section `.data.$Lubsan_type1'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type0' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/sorgm200.o' being placed in section `.data.$Lubsan_type0'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data274' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/sorgp100.o' being placed in section `.data.$Lubsan_data274'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type1' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/sorgp100.o' being placed in section `.data.$Lubsan_type1'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type0' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/sorgp100.o' being placed in section `.data.$Lubsan_type0'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data274' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/sorgv100.o' being placed in section `.data.$Lubsan_data274'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type1' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/sorgv100.o' being placed in section `.data.$Lubsan_type1'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type0' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/sorgv100.o' being placed in section `.data.$Lubsan_type0'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data275' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/sortu102.o' being placed in section `.data.$Lubsan_data275'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data274' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/sortu102.o' being placed in section `.data.$Lubsan_data274'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type1' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/sortu102.o' being placed in section `.data.$Lubsan_type1'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type0' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/sortu102.o' being placed in section `.data.$Lubsan_type0'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data280' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.o' being placed in section `.data.$Lubsan_data280'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data279' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.o' being placed in section `.data.$Lubsan_data279'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data275' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.o' being placed in section `.data.$Lubsan_data275'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type2' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.o' being placed in section `.data.$Lubsan_type2'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type0' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.o' being placed in section `.data.$Lubsan_type0'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data281' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/channv50.o' being placed in section `.data.$Lubsan_data281'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data280' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/channv50.o' being placed in section `.data.$Lubsan_data280'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data279' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/channv50.o' being placed in section `.data.$Lubsan_data279'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data278' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/channv50.o' being placed in section `.data.$Lubsan_data278'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data277' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/channv50.o' being placed in section `.data.$Lubsan_data277'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data276' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/channv50.o' being placed in section `.data.$Lubsan_data276'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data275' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/channv50.o' being placed in section `.data.$Lubsan_data275'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data274' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/channv50.o' being placed in section `.data.$Lubsan_data274'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type0' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/channv50.o' being placed in section `.data.$Lubsan_type0'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data280' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/changf119.o' being placed in section `.data.$Lubsan_data280'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data279' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/changf119.o' being placed in section `.data.$Lubsan_data279'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data278' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/changf119.o' being placed in section `.data.$Lubsan_data278'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data277' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/changf119.o' being placed in section `.data.$Lubsan_data277'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data276' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/changf119.o' being placed in section `.data.$Lubsan_data276'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data275' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/changf119.o' being placed in section `.data.$Lubsan_data275'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data274' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/changf119.o' being placed in section `.data.$Lubsan_data274'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type0' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/changf119.o' being placed in section `.data.$Lubsan_type0'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data275' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/wimmgv100.o' being placed in section `.data.$Lubsan_data275'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data274' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/wimmgv100.o' being placed in section `.data.$Lubsan_data274'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type1' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/wimmgv100.o' being placed in section `.data.$Lubsan_type1'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type0' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/wimmgv100.o' being placed in section `.data.$Lubsan_type0'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data275' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/wndwgv100.o' being placed in section `.data.$Lubsan_data275'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data274' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/wndwgv100.o' being placed in section `.data.$Lubsan_data274'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type1' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/wndwgv100.o' being placed in section `.data.$Lubsan_type1'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type0' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/wndwgv100.o' being placed in section `.data.$Lubsan_type0'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data274' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/cursgv100.o' being placed in section `.data.$Lubsan_data274'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type0' from `drivers/gpu/drm/nouveau/nvkm/engine/disp/cursgv100.o' being placed in section `.data.$Lubsan_type0'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data285' from `drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.o' being placed in section `.data.$Lubsan_data285'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data284' from `drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.o' being placed in section `.data.$Lubsan_data284'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data283' from `drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.o' being placed in section `.data.$Lubsan_data283'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data282' from `drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.o' being placed in section `.data.$Lubsan_data282'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data281' from `drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.o' being placed in section `.data.$Lubsan_data281'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data280' from `drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.o' being placed in section `.data.$Lubsan_data280'
>> mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data279' from `drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.o' being placed in section `.data.$Lubsan_data279'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data277' from `drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.o' being placed in section `.data.$Lubsan_data277'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data276' from `drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.o' being placed in section `.data.$Lubsan_data276'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data275' from `drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.o' being placed in section `.data.$Lubsan_data275'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data274' from `drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.o' being placed in section `.data.$Lubsan_data274'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type3' from `drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.o' being placed in section `.data.$Lubsan_type3'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type2' from `drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.o' being placed in section `.data.$Lubsan_type2'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type0' from `drivers/gpu/drm/nouveau/nvkm/engine/fifo/gf100.o' being placed in section `.data.$Lubsan_type0'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data290' from `drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.o' being placed in section `.data.$Lubsan_data290'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data289' from `drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.o' being placed in section `.data.$Lubsan_data289'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data288' from `drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.o' being placed in section `.data.$Lubsan_data288'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data287' from `drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.o' being placed in section `.data.$Lubsan_data287'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data286' from `drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.o' being placed in section `.data.$Lubsan_data286'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data285' from `drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.o' being placed in section `.data.$Lubsan_data285'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data284' from `drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.o' being placed in section `.data.$Lubsan_data284'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data283' from `drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.o' being placed in section `.data.$Lubsan_data283'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data282' from `drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.o' being placed in section `.data.$Lubsan_data282'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data281' from `drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.o' being placed in section `.data.$Lubsan_data281'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data280' from `drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.o' being placed in section `.data.$Lubsan_data280'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data279' from `drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.o' being placed in section `.data.$Lubsan_data279'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data278' from `drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.o' being placed in section `.data.$Lubsan_data278'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data277' from `drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.o' being placed in section `.data.$Lubsan_data277'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data276' from `drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.o' being placed in section `.data.$Lubsan_data276'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data275' from `drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.o' being placed in section `.data.$Lubsan_data275'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data274' from `drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.o' being placed in section `.data.$Lubsan_data274'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type3' from `drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.o' being placed in section `.data.$Lubsan_type3'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type2' from `drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.o' being placed in section `.data.$Lubsan_type2'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type1' from `drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.o' being placed in section `.data.$Lubsan_type1'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type0' from `drivers/gpu/drm/nouveau/nvkm/engine/fifo/gk104.o' being placed in section `.data.$Lubsan_type0'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data274' from `drivers/gpu/drm/nouveau/nvkm/engine/fifo/tu102.o' being placed in section `.data.$Lubsan_data274'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type0' from `drivers/gpu/drm/nouveau/nvkm/engine/fifo/tu102.o' being placed in section `.data.$Lubsan_type0'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data274' from `drivers/gpu/drm/nouveau/nvkm/engine/fifo/chan.o' being placed in section `.data.$Lubsan_data274'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type3' from `drivers/gpu/drm/nouveau/nvkm/engine/fifo/chan.o' being placed in section `.data.$Lubsan_type3'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type0' from `drivers/gpu/drm/nouveau/nvkm/engine/fifo/chan.o' being placed in section `.data.$Lubsan_type0'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data275' from `drivers/gpu/drm/nouveau/nvkm/engine/fifo/dmanv04.o' being placed in section `.data.$Lubsan_data275'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data274' from `drivers/gpu/drm/nouveau/nvkm/engine/fifo/dmanv04.o' being placed in section `.data.$Lubsan_data274'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type0' from `drivers/gpu/drm/nouveau/nvkm/engine/fifo/dmanv04.o' being placed in section `.data.$Lubsan_type0'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data275' from `drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifogk104.o' being placed in section `.data.$Lubsan_data275'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data274' from `drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifogk104.o' being placed in section `.data.$Lubsan_data274'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type3' from `drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifogk104.o' being placed in section `.data.$Lubsan_type3'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type2' from `drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifogk104.o' being placed in section `.data.$Lubsan_type2'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type0' from `drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifogk104.o' being placed in section `.data.$Lubsan_type0'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data278' from `drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifogv100.o' being placed in section `.data.$Lubsan_data278'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data277' from `drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifogv100.o' being placed in section `.data.$Lubsan_data277'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data276' from `drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifogv100.o' being placed in section `.data.$Lubsan_data276'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data275' from `drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifogv100.o' being placed in section `.data.$Lubsan_data275'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data274' from `drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifogv100.o' being placed in section `.data.$Lubsan_data274'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type3' from `drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifogv100.o' being placed in section `.data.$Lubsan_type3'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type2' from `drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifogv100.o' being placed in section `.data.$Lubsan_type2'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type1' from `drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifogv100.o' being placed in section `.data.$Lubsan_type1'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type0' from `drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifogv100.o' being placed in section `.data.$Lubsan_type0'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data274' from `drivers/gpu/drm/nouveau/nvkm/engine/gr/g84.o' being placed in section `.data.$Lubsan_data274'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type0' from `drivers/gpu/drm/nouveau/nvkm/engine/gr/g84.o' being placed in section `.data.$Lubsan_type0'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data283' from `drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.o' being placed in section `.data.$Lubsan_data283'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data281' from `drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.o' being placed in section `.data.$Lubsan_data281'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data280' from `drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.o' being placed in section `.data.$Lubsan_data280'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type5' from `drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.o' being placed in section `.data.$Lubsan_type5'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data279' from `drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.o' being placed in section `.data.$Lubsan_data279'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data278' from `drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.o' being placed in section `.data.$Lubsan_data278'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data277' from `drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.o' being placed in section `.data.$Lubsan_data277'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type3' from `drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.o' being placed in section `.data.$Lubsan_type3'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type2' from `drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.o' being placed in section `.data.$Lubsan_type2'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type0' from `drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.o' being placed in section `.data.$Lubsan_type0'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data274' from `drivers/gpu/drm/nouveau/nvkm/engine/gr/gf117.o' being placed in section `.data.$Lubsan_data274'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type0' from `drivers/gpu/drm/nouveau/nvkm/engine/gr/gf117.o' being placed in section `.data.$Lubsan_type0'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data274' from `drivers/gpu/drm/nouveau/nvkm/engine/gr/gk104.o' being placed in section `.data.$Lubsan_data274'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type0' from `drivers/gpu/drm/nouveau/nvkm/engine/gr/gk104.o' being placed in section `.data.$Lubsan_type0'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data274' from `drivers/gpu/drm/nouveau/nvkm/engine/gr/gk20a.o' being placed in section `.data.$Lubsan_data274'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type0' from `drivers/gpu/drm/nouveau/nvkm/engine/gr/gk20a.o' being placed in section `.data.$Lubsan_type0'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data277' from `drivers/gpu/drm/nouveau/nvkm/engine/gr/gp100.o' being placed in section `.data.$Lubsan_data277'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data276' from `drivers/gpu/drm/nouveau/nvkm/engine/gr/gp100.o' being placed in section `.data.$Lubsan_data276'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data275' from `drivers/gpu/drm/nouveau/nvkm/engine/gr/gp100.o' being placed in section `.data.$Lubsan_data275'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data274' from `drivers/gpu/drm/nouveau/nvkm/engine/gr/gp100.o' being placed in section `.data.$Lubsan_data274'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type2' from `drivers/gpu/drm/nouveau/nvkm/engine/gr/gp100.o' being placed in section `.data.$Lubsan_type2'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type0' from `drivers/gpu/drm/nouveau/nvkm/engine/gr/gp100.o' being placed in section `.data.$Lubsan_type0'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data276' from `drivers/gpu/drm/nouveau/nvkm/engine/gr/gp102.o' being placed in section `.data.$Lubsan_data276'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data275' from `drivers/gpu/drm/nouveau/nvkm/engine/gr/gp102.o' being placed in section `.data.$Lubsan_data275'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data274' from `drivers/gpu/drm/nouveau/nvkm/engine/gr/gp102.o' being placed in section `.data.$Lubsan_data274'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type2' from `drivers/gpu/drm/nouveau/nvkm/engine/gr/gp102.o' being placed in section `.data.$Lubsan_type2'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type0' from `drivers/gpu/drm/nouveau/nvkm/engine/gr/gp102.o' being placed in section `.data.$Lubsan_type0'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data274' from `drivers/gpu/drm/nouveau/nvkm/engine/gr/tu102.o' being placed in section `.data.$Lubsan_data274'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type0' from `drivers/gpu/drm/nouveau/nvkm/engine/gr/tu102.o' being placed in section `.data.$Lubsan_type0'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data294' from `drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.o' being placed in section `.data.$Lubsan_data294'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data293' from `drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.o' being placed in section `.data.$Lubsan_data293'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data292' from `drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.o' being placed in section `.data.$Lubsan_data292'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data291' from `drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.o' being placed in section `.data.$Lubsan_data291'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data290' from `drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.o' being placed in section `.data.$Lubsan_data290'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data274' from `drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.o' being placed in section `.data.$Lubsan_data274'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type3' from `drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.o' being placed in section `.data.$Lubsan_type3'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type2' from `drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.o' being placed in section `.data.$Lubsan_type2'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type0' from `drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.o' being placed in section `.data.$Lubsan_type0'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data281' from `drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf117.o' being placed in section `.data.$Lubsan_data281'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type0' from `drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf117.o' being placed in section `.data.$Lubsan_type0'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data281' from `drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgk104.o' being placed in section `.data.$Lubsan_data281'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data280' from `drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgk104.o' being placed in section `.data.$Lubsan_data280'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type3' from `drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgk104.o' being placed in section `.data.$Lubsan_type3'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type0' from `drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgk104.o' being placed in section `.data.$Lubsan_type0'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data274' from `drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgm107.o' being placed in section `.data.$Lubsan_data274'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_type0' from `drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgm107.o' being placed in section `.data.$Lubsan_type0'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data278' from `drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgm200.o' being placed in section `.data.$Lubsan_data278'
mipsel-linux-ld: warning: orphan section `.data.$Lubsan_data277' from `drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgm200.o' being placed in section `.data.$Lubsan_data277'
..
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 7 months
[chrome-os:chromeos-5.4 13/34] include/linux/mm.h:2412:64: error: 'off' undeclared; did you mean
by kernel test robot
tree: https://chromium.googlesource.com/chromiumos/third_party/kernel chromeos-5.4
head: 42678a05df917049d9618eeda160fb795a6db981
commit: 5befab42f0102ef1f6839b998e5a9ba5b3593037 [13/34] CHROMIUM: mm: protect mremap() against SPF hanlder
config: i386-allyesconfig (attached as .config)
compiler: gcc-9 (Debian 9.3.0-15) 9.3.0
reproduce (this is a W=1 build):
git remote add chrome-os https://chromium.googlesource.com/chromiumos/third_party/kernel
git fetch --no-tags chrome-os chromeos-5.4
git checkout 5befab42f0102ef1f6839b998e5a9ba5b3593037
# 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>
Note: the chrome-os/chromeos-5.4 HEAD 42678a05df917049d9618eeda160fb795a6db981 builds fine.
It only hurts bisectibility.
All errors (new ones prefixed by >>):
In file included from include/linux/memcontrol.h:20,
from include/linux/swap.h:9,
from include/linux/suspend.h:5,
from arch/x86/kernel/asm-offsets.c:13:
include/linux/mm.h: In function 'vma_merge':
>> include/linux/mm.h:2412:64: error: 'off' undeclared (first use in this function); did you mean 'uff'?
2412 | return __vma_merge(mm, prev, addr, end, vm_flags, anon, file, off,
| ^~~
| uff
include/linux/mm.h:2412:64: note: each undeclared identifier is reported only once for each function it appears in
--
In file included from arch/x86/entry/common.c:13:
include/linux/mm.h: In function 'vma_merge':
>> include/linux/mm.h:2412:64: error: 'off' undeclared (first use in this function); did you mean 'uff'?
2412 | return __vma_merge(mm, prev, addr, end, vm_flags, anon, file, off,
| ^~~
| uff
include/linux/mm.h:2412:64: note: each undeclared identifier is reported only once for each function it appears in
In file included from arch/x86/include/asm/syscall.h:16,
from include/linux/audit.h:259,
from arch/x86/entry/common.c:18:
arch/x86/include/asm/asm-offsets.h: At top level:
arch/x86/include/asm/asm-offsets.h:1:10: fatal error: generated/asm-offsets.h: No such file or directory
1 | #include <generated/asm-offsets.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
--
In file included from include/linux/pid_namespace.h:7,
from include/linux/ptrace.h:10,
from include/uapi/asm-generic/bpf_perf_event.h:4,
from ./arch/x86/include/generated/uapi/asm/bpf_perf_event.h:1,
from include/uapi/linux/bpf_perf_event.h:11,
from include/linux/perf_event.h:18,
from arch/x86/events/core.c:15:
include/linux/mm.h: In function 'vma_merge':
>> include/linux/mm.h:2412:64: error: 'off' undeclared (first use in this function); did you mean 'uff'?
2412 | return __vma_merge(mm, prev, addr, end, vm_flags, anon, file, off,
| ^~~
| uff
include/linux/mm.h:2412:64: note: each undeclared identifier is reported only once for each function it appears in
arch/x86/events/core.c: At top level:
arch/x86/events/core.c:2316:6: warning: no previous prototype for 'arch_perf_update_userpage' [-Wmissing-prototypes]
2316 | void arch_perf_update_userpage(struct perf_event *event,
| ^~~~~~~~~~~~~~~~~~~~~~~~~
--
In file included from arch/x86/kernel/head32.c:11:
include/linux/mm.h: In function 'vma_merge':
>> include/linux/mm.h:2412:64: error: 'off' undeclared (first use in this function); did you mean 'uff'?
2412 | return __vma_merge(mm, prev, addr, end, vm_flags, anon, file, off,
| ^~~
| uff
include/linux/mm.h:2412:64: note: each undeclared identifier is reported only once for each function it appears in
arch/x86/kernel/head32.c: At top level:
arch/x86/kernel/head32.c:72:13: warning: no previous prototype for 'mk_early_pgtbl_32' [-Wmissing-prototypes]
72 | void __init mk_early_pgtbl_32(void)
| ^~~~~~~~~~~~~~~~~
--
In file included from include/linux/kallsyms.h:12,
from arch/x86/kernel/traps.c:17:
include/linux/mm.h: In function 'vma_merge':
>> include/linux/mm.h:2412:64: error: 'off' undeclared (first use in this function); did you mean 'uff'?
2412 | return __vma_merge(mm, prev, addr, end, vm_flags, anon, file, off,
| ^~~
| uff
include/linux/mm.h:2412:64: note: each undeclared identifier is reported only once for each function it appears in
arch/x86/kernel/traps.c: At top level:
arch/x86/kernel/traps.c:925:13: warning: no previous prototype for 'trap_init' [-Wmissing-prototypes]
925 | void __init trap_init(void)
| ^~~~~~~~~
--
In file included from include/linux/kallsyms.h:12,
from include/linux/ftrace.h:11,
from arch/x86/kernel/ftrace.c:18:
include/linux/mm.h: In function 'vma_merge':
>> include/linux/mm.h:2412:64: error: 'off' undeclared (first use in this function); did you mean 'uff'?
2412 | return __vma_merge(mm, prev, addr, end, vm_flags, anon, file, off,
| ^~~
| uff
include/linux/mm.h:2412:64: note: each undeclared identifier is reported only once for each function it appears in
arch/x86/kernel/ftrace.c: At top level:
arch/x86/kernel/ftrace.c:1019:6: warning: no previous prototype for 'prepare_ftrace_return' [-Wmissing-prototypes]
1019 | void prepare_ftrace_return(unsigned long self_addr, unsigned long *parent,
| ^~~~~~~~~~~~~~~~~~~~~
--
In file included from arch/x86/kernel/kvm.c:15:
include/linux/mm.h: In function 'vma_merge':
>> include/linux/mm.h:2412:64: error: 'off' undeclared (first use in this function); did you mean 'uff'?
2412 | return __vma_merge(mm, prev, addr, end, vm_flags, anon, file, off,
| ^~~
| uff
include/linux/mm.h:2412:64: note: each undeclared identifier is reported only once for each function it appears in
arch/x86/kernel/kvm.c: At top level:
arch/x86/kernel/kvm.c:797:16: warning: no previous prototype for '__kvm_vcpu_is_preempted' [-Wmissing-prototypes]
797 | __visible bool __kvm_vcpu_is_preempted(long cpu)
| ^~~~~~~~~~~~~~~~~~~~~~~
arch/x86/kernel/kvm.c:872:6: warning: no previous prototype for 'arch_haltpoll_enable' [-Wmissing-prototypes]
872 | void arch_haltpoll_enable(unsigned int cpu)
| ^~~~~~~~~~~~~~~~~~~~
arch/x86/kernel/kvm.c:885:6: warning: no previous prototype for 'arch_haltpoll_disable' [-Wmissing-prototypes]
885 | void arch_haltpoll_disable(unsigned int cpu)
| ^~~~~~~~~~~~~~~~~~~~~
--
In file included from include/linux/scatterlist.h:8,
from include/linux/dmapool.h:14,
from include/linux/pci.h:1419,
from arch/x86/kernel/devicetree.c:16:
include/linux/mm.h: In function 'vma_merge':
>> include/linux/mm.h:2412:64: error: 'off' undeclared (first use in this function); did you mean 'uff'?
2412 | return __vma_merge(mm, prev, addr, end, vm_flags, anon, file, off,
| ^~~
| uff
include/linux/mm.h:2412:64: note: each undeclared identifier is reported only once for each function it appears in
arch/x86/kernel/devicetree.c: At top level:
arch/x86/kernel/devicetree.c:33:13: warning: no previous prototype for 'early_init_dt_scan_chosen_arch' [-Wmissing-prototypes]
33 | void __init early_init_dt_scan_chosen_arch(unsigned long node)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
arch/x86/kernel/devicetree.c:38:13: warning: no previous prototype for 'early_init_dt_add_memory_arch' [-Wmissing-prototypes]
38 | void __init early_init_dt_add_memory_arch(u64 base, u64 size)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
In file included from include/linux/kvm_host.h:14,
from arch/x86/kvm/../../../virt/kvm/kvm_main.c:18:
include/linux/mm.h: In function 'vma_merge':
>> include/linux/mm.h:2412:64: error: 'off' undeclared (first use in this function); did you mean 'uff'?
2412 | return __vma_merge(mm, prev, addr, end, vm_flags, anon, file, off,
| ^~~
| uff
include/linux/mm.h:2412:64: note: each undeclared identifier is reported only once for each function it appears in
arch/x86/kvm/../../../virt/kvm/kvm_main.c: At top level:
arch/x86/kvm/../../../virt/kvm/kvm_main.c:673:12: warning: no previous prototype for 'kvm_arch_post_init_vm' [-Wmissing-prototypes]
673 | int __weak kvm_arch_post_init_vm(struct kvm *kvm)
| ^~~~~~~~~~~~~~~~~~~~~
arch/x86/kvm/../../../virt/kvm/kvm_main.c:682:13: warning: no previous prototype for 'kvm_arch_pre_destroy_vm' [-Wmissing-prototypes]
682 | void __weak kvm_arch_pre_destroy_vm(struct kvm *kvm)
| ^~~~~~~~~~~~~~~~~~~~~~~
--
In file included from include/linux/kvm_host.h:14,
from arch/x86/kvm/../../../virt/kvm/irqchip.c:15:
include/linux/mm.h: In function 'vma_merge':
>> include/linux/mm.h:2412:64: error: 'off' undeclared (first use in this function); did you mean 'uff'?
2412 | return __vma_merge(mm, prev, addr, end, vm_flags, anon, file, off,
| ^~~
| uff
include/linux/mm.h:2412:64: note: each undeclared identifier is reported only once for each function it appears in
arch/x86/kvm/../../../virt/kvm/irqchip.c: At top level:
arch/x86/kvm/../../../virt/kvm/irqchip.c:20:10: fatal error: irq.h: No such file or directory
20 | #include "irq.h"
| ^~~~~~~
compilation terminated.
--
In file included from include/linux/kvm_host.h:14,
from arch/x86/kvm/x86.c:19:
include/linux/mm.h: In function 'vma_merge':
>> include/linux/mm.h:2412:64: error: 'off' undeclared (first use in this function); did you mean 'uff'?
2412 | return __vma_merge(mm, prev, addr, end, vm_flags, anon, file, off,
| ^~~
| uff
include/linux/mm.h:2412:64: note: each undeclared identifier is reported only once for each function it appears in
In file included from arch/x86/include/asm/bug.h:83,
from include/linux/bug.h:5,
from include/linux/thread_info.h:12,
from arch/x86/include/asm/preempt.h:7,
from include/linux/preempt.h:78,
from include/linux/hardirq.h:5,
from include/linux/kvm_host.h:7,
from arch/x86/kvm/x86.c:19:
arch/x86/kvm/x86.c: In function 'kvm_guest_time_update':
arch/x86/kvm/x86.c:2465:37: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits]
2465 | WARN_ON(vcpu->hv_clock.system_time < 0);
| ^
include/asm-generic/bug.h:113:25: note: in definition of macro 'WARN_ON'
113 | int __ret_warn_on = !!(condition); \
| ^~~~~~~~~
arch/x86/kvm/x86.c: At top level:
arch/x86/kvm/x86.c:9618:5: warning: no previous prototype for 'kvm_arch_post_init_vm' [-Wmissing-prototypes]
9618 | int kvm_arch_post_init_vm(struct kvm *kvm)
| ^~~~~~~~~~~~~~~~~~~~~
arch/x86/kvm/x86.c:9724:6: warning: no previous prototype for 'kvm_arch_pre_destroy_vm' [-Wmissing-prototypes]
9724 | void kvm_arch_pre_destroy_vm(struct kvm *kvm)
| ^~~~~~~~~~~~~~~~~~~~~~~
..
vim +2412 include/linux/mm.h
2398
2399 extern struct vm_area_struct *__vma_merge(struct mm_struct *mm,
2400 struct vm_area_struct *prev, unsigned long addr, unsigned long end,
2401 unsigned long vm_flags, struct anon_vma *anon, struct file *file,
2402 pgoff_t pgoff, struct mempolicy *mpol,
2403 struct vm_userfaultfd_ctx uff, const char __user *anon_name,
2404 bool keep_locked);
2405
2406 static inline struct vm_area_struct *vma_merge(struct mm_struct *mm,
2407 struct vm_area_struct *prev, unsigned long addr, unsigned long end,
2408 unsigned long vm_flags, struct anon_vma *anon, struct file *file,
2409 pgoff_t pgoff, struct mempolicy *pol,
2410 struct vm_userfaultfd_ctx uff, const char __user *anon_name)
2411 {
> 2412 return __vma_merge(mm, prev, addr, end, vm_flags, anon, file, off,
2413 pol, uff, anon_name, false);
2414 }
2415
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 7 months
[peterz-queue:master 388/476] arch/x86/mm/tlb.c:798:1: warning: section does not match previous declaration
by kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git master
head: 7b18c2d1930b99fc2acd4b9499a55f51df2a6678
commit: 37e309a0e8dba5ae589e784f1a6517c4de009937 [388/476] x86/mm/tlb: Privatize cpu_tlbstate
config: x86_64-randconfig-a003-20210215 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project c9439ca36342fb6013187d0a69aef92736951476)
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
# https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git/commit/?...
git remote add peterz-queue https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git
git fetch --no-tags peterz-queue master
git checkout 37e309a0e8dba5ae589e784f1a6517c4de009937
# 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 >>):
>> arch/x86/mm/tlb.c:798:1: warning: section does not match previous declaration [-Wsection]
DEFINE_PER_CPU_ALIGNED(struct tlb_state_shared, cpu_tlbstate_shared);
^
include/linux/percpu-defs.h:151:2: note: expanded from macro 'DEFINE_PER_CPU_ALIGNED'
DEFINE_PER_CPU_SECTION(type, name, PER_CPU_ALIGNED_SECTION) \
^
include/linux/percpu-defs.h:94:9: note: expanded from macro 'DEFINE_PER_CPU_SECTION'
extern __PCPU_ATTRS(sec) __typeof__(type) name; \
^
include/linux/percpu-defs.h:50:26: note: expanded from macro '__PCPU_ATTRS'
__percpu __attribute__((section(PER_CPU_BASE_SECTION sec))) \
^
arch/x86/include/asm/tlbflush.h:157:1: note: previous attribute is here
DECLARE_PER_CPU_SHARED_ALIGNED(struct tlb_state_shared, cpu_tlbstate_shared);
^
include/linux/percpu-defs.h:139:2: note: expanded from macro 'DECLARE_PER_CPU_SHARED_ALIGNED'
DECLARE_PER_CPU_SECTION(type, name, PER_CPU_SHARED_ALIGNED_SECTION) \
^
include/linux/percpu-defs.h:88:9: note: expanded from macro 'DECLARE_PER_CPU_SECTION'
extern __PCPU_ATTRS(sec) __typeof__(type) name
^
include/linux/percpu-defs.h:50:26: note: expanded from macro '__PCPU_ATTRS'
__percpu __attribute__((section(PER_CPU_BASE_SECTION sec))) \
^
arch/x86/mm/tlb.c:1175:18: warning: variable 'info' is uninitialized when used here [-Wuninitialized]
flush_tlb_func(info);
^~~~
arch/x86/mm/tlb.c:1161:29: note: initialize the variable 'info' to silence this warning
struct flush_tlb_info *info;
^
= NULL
2 warnings generated.
vim +798 arch/x86/mm/tlb.c
797
> 798 DEFINE_PER_CPU_ALIGNED(struct tlb_state_shared, cpu_tlbstate_shared);
799 EXPORT_PER_CPU_SYMBOL(cpu_tlbstate_shared);
800
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 7 months
lib/bitfield_kunit.c:93:1: warning: the frame size of 4200 bytes is larger than 2048 bytes
by kernel test robot
Hi Vitor,
First bad commit (maybe != root cause):
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: f40ddce88593482919761f74910f42f4b84c004b
commit: d2585f5164c298aaaed14c2c8d313cbe7bd5b253 lib: kunit: add bitfield test conversion to KUnit
date: 4 months ago
config: mips-randconfig-r016-20210216 (attached as .config)
compiler: mipsel-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
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit...
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout d2585f5164c298aaaed14c2c8d313cbe7bd5b253
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=mips
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 >>):
lib/bitfield_kunit.c: In function 'test_bitfields_compile':
lib/bitfield_kunit.c:136:21: warning: unsigned conversion from 'int' to 'u16' {aka 'short unsigned int'} changes value from '393216' to '0' [-Woverflow]
136 | u16_encode_bits(0, 0x60000);
| ^~~~~~~
At top level:
lib/bitfield_kunit.c:129:20: warning: 'test_bitfields_compile' defined but not used [-Wunused-function]
129 | static void __init test_bitfields_compile(struct kunit *context)
| ^~~~~~~~~~~~~~~~~~~~~~
lib/bitfield_kunit.c: In function 'test_bitfields_constants':
>> lib/bitfield_kunit.c:93:1: warning: the frame size of 4200 bytes is larger than 2048 bytes [-Wframe-larger-than=]
93 | }
| ^
Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for SSB_EMBEDDED
Depends on SSB && SSB_DRIVER_MIPS && SSB_PCICORE_HOSTMODE
Selected by
- BCM47XX_SSB && BCM47XX
vim +93 lib/bitfield_kunit.c
0e2dc70e3d0d50 lib/test_bitfield.c Johannes Berg 2018-06-20 10
0e2dc70e3d0d50 lib/test_bitfield.c Johannes Berg 2018-06-20 11 #define CHECK_ENC_GET_U(tp, v, field, res) do { \
0e2dc70e3d0d50 lib/test_bitfield.c Johannes Berg 2018-06-20 12 { \
0e2dc70e3d0d50 lib/test_bitfield.c Johannes Berg 2018-06-20 13 u##tp _res; \
0e2dc70e3d0d50 lib/test_bitfield.c Johannes Berg 2018-06-20 14 \
0e2dc70e3d0d50 lib/test_bitfield.c Johannes Berg 2018-06-20 15 _res = u##tp##_encode_bits(v, field); \
d2585f5164c298 lib/bitfield_kunit.c Vitor Massaru Iha 2020-07-29 16 KUNIT_ASSERT_FALSE_MSG(context, _res != res, \
d2585f5164c298 lib/bitfield_kunit.c Vitor Massaru Iha 2020-07-29 17 "u" #tp "_encode_bits(" #v ", " #field ") is 0x%llx != " #res "\n", \
0e2dc70e3d0d50 lib/test_bitfield.c Johannes Berg 2018-06-20 18 (u64)_res); \
d2585f5164c298 lib/bitfield_kunit.c Vitor Massaru Iha 2020-07-29 19 KUNIT_ASSERT_FALSE(context, \
d2585f5164c298 lib/bitfield_kunit.c Vitor Massaru Iha 2020-07-29 20 u##tp##_get_bits(_res, field) != v); \
0e2dc70e3d0d50 lib/test_bitfield.c Johannes Berg 2018-06-20 21 } \
0e2dc70e3d0d50 lib/test_bitfield.c Johannes Berg 2018-06-20 22 } while (0)
0e2dc70e3d0d50 lib/test_bitfield.c Johannes Berg 2018-06-20 23
0e2dc70e3d0d50 lib/test_bitfield.c Johannes Berg 2018-06-20 24 #define CHECK_ENC_GET_LE(tp, v, field, res) do { \
0e2dc70e3d0d50 lib/test_bitfield.c Johannes Berg 2018-06-20 25 { \
0e2dc70e3d0d50 lib/test_bitfield.c Johannes Berg 2018-06-20 26 __le##tp _res; \
0e2dc70e3d0d50 lib/test_bitfield.c Johannes Berg 2018-06-20 27 \
0e2dc70e3d0d50 lib/test_bitfield.c Johannes Berg 2018-06-20 28 _res = le##tp##_encode_bits(v, field); \
d2585f5164c298 lib/bitfield_kunit.c Vitor Massaru Iha 2020-07-29 29 KUNIT_ASSERT_FALSE_MSG(context, \
d2585f5164c298 lib/bitfield_kunit.c Vitor Massaru Iha 2020-07-29 30 _res != cpu_to_le##tp(res), \
d2585f5164c298 lib/bitfield_kunit.c Vitor Massaru Iha 2020-07-29 31 "le" #tp "_encode_bits(" #v ", " #field ") is 0x%llx != 0x%llx",\
0e2dc70e3d0d50 lib/test_bitfield.c Johannes Berg 2018-06-20 32 (u64)le##tp##_to_cpu(_res), \
0e2dc70e3d0d50 lib/test_bitfield.c Johannes Berg 2018-06-20 33 (u64)(res)); \
d2585f5164c298 lib/bitfield_kunit.c Vitor Massaru Iha 2020-07-29 34 KUNIT_ASSERT_FALSE(context, \
d2585f5164c298 lib/bitfield_kunit.c Vitor Massaru Iha 2020-07-29 35 le##tp##_get_bits(_res, field) != v);\
0e2dc70e3d0d50 lib/test_bitfield.c Johannes Berg 2018-06-20 36 } \
0e2dc70e3d0d50 lib/test_bitfield.c Johannes Berg 2018-06-20 37 } while (0)
0e2dc70e3d0d50 lib/test_bitfield.c Johannes Berg 2018-06-20 38
0e2dc70e3d0d50 lib/test_bitfield.c Johannes Berg 2018-06-20 39 #define CHECK_ENC_GET_BE(tp, v, field, res) do { \
0e2dc70e3d0d50 lib/test_bitfield.c Johannes Berg 2018-06-20 40 { \
0e2dc70e3d0d50 lib/test_bitfield.c Johannes Berg 2018-06-20 41 __be##tp _res; \
0e2dc70e3d0d50 lib/test_bitfield.c Johannes Berg 2018-06-20 42 \
0e2dc70e3d0d50 lib/test_bitfield.c Johannes Berg 2018-06-20 43 _res = be##tp##_encode_bits(v, field); \
d2585f5164c298 lib/bitfield_kunit.c Vitor Massaru Iha 2020-07-29 44 KUNIT_ASSERT_FALSE_MSG(context, \
d2585f5164c298 lib/bitfield_kunit.c Vitor Massaru Iha 2020-07-29 45 _res != cpu_to_be##tp(res), \
d2585f5164c298 lib/bitfield_kunit.c Vitor Massaru Iha 2020-07-29 46 "be" #tp "_encode_bits(" #v ", " #field ") is 0x%llx != 0x%llx", \
0e2dc70e3d0d50 lib/test_bitfield.c Johannes Berg 2018-06-20 47 (u64)be##tp##_to_cpu(_res), \
0e2dc70e3d0d50 lib/test_bitfield.c Johannes Berg 2018-06-20 48 (u64)(res)); \
d2585f5164c298 lib/bitfield_kunit.c Vitor Massaru Iha 2020-07-29 49 KUNIT_ASSERT_FALSE(context, \
d2585f5164c298 lib/bitfield_kunit.c Vitor Massaru Iha 2020-07-29 50 be##tp##_get_bits(_res, field) != v);\
0e2dc70e3d0d50 lib/test_bitfield.c Johannes Berg 2018-06-20 51 } \
0e2dc70e3d0d50 lib/test_bitfield.c Johannes Berg 2018-06-20 52 } while (0)
0e2dc70e3d0d50 lib/test_bitfield.c Johannes Berg 2018-06-20 53
0e2dc70e3d0d50 lib/test_bitfield.c Johannes Berg 2018-06-20 54 #define CHECK_ENC_GET(tp, v, field, res) do { \
0e2dc70e3d0d50 lib/test_bitfield.c Johannes Berg 2018-06-20 55 CHECK_ENC_GET_U(tp, v, field, res); \
0e2dc70e3d0d50 lib/test_bitfield.c Johannes Berg 2018-06-20 56 CHECK_ENC_GET_LE(tp, v, field, res); \
0e2dc70e3d0d50 lib/test_bitfield.c Johannes Berg 2018-06-20 57 CHECK_ENC_GET_BE(tp, v, field, res); \
0e2dc70e3d0d50 lib/test_bitfield.c Johannes Berg 2018-06-20 58 } while (0)
0e2dc70e3d0d50 lib/test_bitfield.c Johannes Berg 2018-06-20 59
d2585f5164c298 lib/bitfield_kunit.c Vitor Massaru Iha 2020-07-29 60 static void __init test_bitfields_constants(struct kunit *context)
0e2dc70e3d0d50 lib/test_bitfield.c Johannes Berg 2018-06-20 61 {
0e2dc70e3d0d50 lib/test_bitfield.c Johannes Berg 2018-06-20 62 /*
0e2dc70e3d0d50 lib/test_bitfield.c Johannes Berg 2018-06-20 63 * NOTE
0e2dc70e3d0d50 lib/test_bitfield.c Johannes Berg 2018-06-20 64 * This whole function compiles (or at least should, if everything
0e2dc70e3d0d50 lib/test_bitfield.c Johannes Berg 2018-06-20 65 * is going according to plan) to nothing after optimisation.
0e2dc70e3d0d50 lib/test_bitfield.c Johannes Berg 2018-06-20 66 */
0e2dc70e3d0d50 lib/test_bitfield.c Johannes Berg 2018-06-20 67
0e2dc70e3d0d50 lib/test_bitfield.c Johannes Berg 2018-06-20 68 CHECK_ENC_GET(16, 1, 0x000f, 0x0001);
0e2dc70e3d0d50 lib/test_bitfield.c Johannes Berg 2018-06-20 69 CHECK_ENC_GET(16, 3, 0x00f0, 0x0030);
0e2dc70e3d0d50 lib/test_bitfield.c Johannes Berg 2018-06-20 70 CHECK_ENC_GET(16, 5, 0x0f00, 0x0500);
0e2dc70e3d0d50 lib/test_bitfield.c Johannes Berg 2018-06-20 71 CHECK_ENC_GET(16, 7, 0xf000, 0x7000);
0e2dc70e3d0d50 lib/test_bitfield.c Johannes Berg 2018-06-20 72 CHECK_ENC_GET(16, 14, 0x000f, 0x000e);
0e2dc70e3d0d50 lib/test_bitfield.c Johannes Berg 2018-06-20 73 CHECK_ENC_GET(16, 15, 0x00f0, 0x00f0);
0e2dc70e3d0d50 lib/test_bitfield.c Johannes Berg 2018-06-20 74
0e2dc70e3d0d50 lib/test_bitfield.c Johannes Berg 2018-06-20 75 CHECK_ENC_GET_U(8, 1, 0x0f, 0x01);
0e2dc70e3d0d50 lib/test_bitfield.c Johannes Berg 2018-06-20 76 CHECK_ENC_GET_U(8, 3, 0xf0, 0x30);
0e2dc70e3d0d50 lib/test_bitfield.c Johannes Berg 2018-06-20 77 CHECK_ENC_GET_U(8, 14, 0x0f, 0x0e);
0e2dc70e3d0d50 lib/test_bitfield.c Johannes Berg 2018-06-20 78 CHECK_ENC_GET_U(8, 15, 0xf0, 0xf0);
0e2dc70e3d0d50 lib/test_bitfield.c Johannes Berg 2018-06-20 79
0e2dc70e3d0d50 lib/test_bitfield.c Johannes Berg 2018-06-20 80 CHECK_ENC_GET(32, 1, 0x00000f00, 0x00000100);
0e2dc70e3d0d50 lib/test_bitfield.c Johannes Berg 2018-06-20 81 CHECK_ENC_GET(32, 3, 0x0000f000, 0x00003000);
0e2dc70e3d0d50 lib/test_bitfield.c Johannes Berg 2018-06-20 82 CHECK_ENC_GET(32, 5, 0x000f0000, 0x00050000);
0e2dc70e3d0d50 lib/test_bitfield.c Johannes Berg 2018-06-20 83 CHECK_ENC_GET(32, 7, 0x00f00000, 0x00700000);
0e2dc70e3d0d50 lib/test_bitfield.c Johannes Berg 2018-06-20 84 CHECK_ENC_GET(32, 14, 0x0f000000, 0x0e000000);
0e2dc70e3d0d50 lib/test_bitfield.c Johannes Berg 2018-06-20 85 CHECK_ENC_GET(32, 15, 0xf0000000, 0xf0000000);
0e2dc70e3d0d50 lib/test_bitfield.c Johannes Berg 2018-06-20 86
0e2dc70e3d0d50 lib/test_bitfield.c Johannes Berg 2018-06-20 87 CHECK_ENC_GET(64, 1, 0x00000f0000000000ull, 0x0000010000000000ull);
0e2dc70e3d0d50 lib/test_bitfield.c Johannes Berg 2018-06-20 88 CHECK_ENC_GET(64, 3, 0x0000f00000000000ull, 0x0000300000000000ull);
0e2dc70e3d0d50 lib/test_bitfield.c Johannes Berg 2018-06-20 89 CHECK_ENC_GET(64, 5, 0x000f000000000000ull, 0x0005000000000000ull);
0e2dc70e3d0d50 lib/test_bitfield.c Johannes Berg 2018-06-20 90 CHECK_ENC_GET(64, 7, 0x00f0000000000000ull, 0x0070000000000000ull);
0e2dc70e3d0d50 lib/test_bitfield.c Johannes Berg 2018-06-20 91 CHECK_ENC_GET(64, 14, 0x0f00000000000000ull, 0x0e00000000000000ull);
0e2dc70e3d0d50 lib/test_bitfield.c Johannes Berg 2018-06-20 92 CHECK_ENC_GET(64, 15, 0xf000000000000000ull, 0xf000000000000000ull);
0e2dc70e3d0d50 lib/test_bitfield.c Johannes Berg 2018-06-20 @93 }
0e2dc70e3d0d50 lib/test_bitfield.c Johannes Berg 2018-06-20 94
0e2dc70e3d0d50 lib/test_bitfield.c Johannes Berg 2018-06-20 95 #define CHECK(tp, mask) do { \
0e2dc70e3d0d50 lib/test_bitfield.c Johannes Berg 2018-06-20 96 u64 v; \
0e2dc70e3d0d50 lib/test_bitfield.c Johannes Berg 2018-06-20 97 \
0e2dc70e3d0d50 lib/test_bitfield.c Johannes Berg 2018-06-20 98 for (v = 0; v < 1 << hweight32(mask); v++) \
d2585f5164c298 lib/bitfield_kunit.c Vitor Massaru Iha 2020-07-29 99 KUNIT_ASSERT_FALSE(context, \
d2585f5164c298 lib/bitfield_kunit.c Vitor Massaru Iha 2020-07-29 100 tp##_encode_bits(v, mask) != v << __ffs64(mask));\
0e2dc70e3d0d50 lib/test_bitfield.c Johannes Berg 2018-06-20 101 } while (0)
0e2dc70e3d0d50 lib/test_bitfield.c Johannes Berg 2018-06-20 102
d2585f5164c298 lib/bitfield_kunit.c Vitor Massaru Iha 2020-07-29 103 static void __init test_bitfields_variables(struct kunit *context)
0e2dc70e3d0d50 lib/test_bitfield.c Johannes Berg 2018-06-20 104 {
0e2dc70e3d0d50 lib/test_bitfield.c Johannes Berg 2018-06-20 105 CHECK(u8, 0x0f);
0e2dc70e3d0d50 lib/test_bitfield.c Johannes Berg 2018-06-20 106 CHECK(u8, 0xf0);
0e2dc70e3d0d50 lib/test_bitfield.c Johannes Berg 2018-06-20 107 CHECK(u8, 0x38);
0e2dc70e3d0d50 lib/test_bitfield.c Johannes Berg 2018-06-20 108
0e2dc70e3d0d50 lib/test_bitfield.c Johannes Berg 2018-06-20 109 CHECK(u16, 0x0038);
0e2dc70e3d0d50 lib/test_bitfield.c Johannes Berg 2018-06-20 110 CHECK(u16, 0x0380);
0e2dc70e3d0d50 lib/test_bitfield.c Johannes Berg 2018-06-20 111 CHECK(u16, 0x3800);
0e2dc70e3d0d50 lib/test_bitfield.c Johannes Berg 2018-06-20 112 CHECK(u16, 0x8000);
0e2dc70e3d0d50 lib/test_bitfield.c Johannes Berg 2018-06-20 113
0e2dc70e3d0d50 lib/test_bitfield.c Johannes Berg 2018-06-20 114 CHECK(u32, 0x80000000);
0e2dc70e3d0d50 lib/test_bitfield.c Johannes Berg 2018-06-20 115 CHECK(u32, 0x7f000000);
0e2dc70e3d0d50 lib/test_bitfield.c Johannes Berg 2018-06-20 116 CHECK(u32, 0x07e00000);
0e2dc70e3d0d50 lib/test_bitfield.c Johannes Berg 2018-06-20 117 CHECK(u32, 0x00018000);
0e2dc70e3d0d50 lib/test_bitfield.c Johannes Berg 2018-06-20 118
0e2dc70e3d0d50 lib/test_bitfield.c Johannes Berg 2018-06-20 119 CHECK(u64, 0x8000000000000000ull);
0e2dc70e3d0d50 lib/test_bitfield.c Johannes Berg 2018-06-20 120 CHECK(u64, 0x7f00000000000000ull);
0e2dc70e3d0d50 lib/test_bitfield.c Johannes Berg 2018-06-20 121 CHECK(u64, 0x0001800000000000ull);
0e2dc70e3d0d50 lib/test_bitfield.c Johannes Berg 2018-06-20 122 CHECK(u64, 0x0000000080000000ull);
0e2dc70e3d0d50 lib/test_bitfield.c Johannes Berg 2018-06-20 123 CHECK(u64, 0x000000007f000000ull);
0e2dc70e3d0d50 lib/test_bitfield.c Johannes Berg 2018-06-20 124 CHECK(u64, 0x0000000018000000ull);
0e2dc70e3d0d50 lib/test_bitfield.c Johannes Berg 2018-06-20 125 CHECK(u64, 0x0000001f8000000ull);
0e2dc70e3d0d50 lib/test_bitfield.c Johannes Berg 2018-06-20 126 }
0e2dc70e3d0d50 lib/test_bitfield.c Johannes Berg 2018-06-20 127
0e2dc70e3d0d50 lib/test_bitfield.c Johannes Berg 2018-06-20 128
d2585f5164c298 lib/bitfield_kunit.c Vitor Massaru Iha 2020-07-29 129 static void __init test_bitfields_compile(struct kunit *context)
d2585f5164c298 lib/bitfield_kunit.c Vitor Massaru Iha 2020-07-29 130 {
0e2dc70e3d0d50 lib/test_bitfield.c Johannes Berg 2018-06-20 131 /* these should fail compilation */
0e2dc70e3d0d50 lib/test_bitfield.c Johannes Berg 2018-06-20 132 CHECK_ENC_GET(16, 16, 0x0f00, 0x1000);
0e2dc70e3d0d50 lib/test_bitfield.c Johannes Berg 2018-06-20 133 u32_encode_bits(7, 0x06000000);
0e2dc70e3d0d50 lib/test_bitfield.c Johannes Berg 2018-06-20 134
0e2dc70e3d0d50 lib/test_bitfield.c Johannes Berg 2018-06-20 135 /* this should at least give a warning */
0e2dc70e3d0d50 lib/test_bitfield.c Johannes Berg 2018-06-20 @136 u16_encode_bits(0, 0x60000);
d2585f5164c298 lib/bitfield_kunit.c Vitor Massaru Iha 2020-07-29 137 }
d2585f5164c298 lib/bitfield_kunit.c Vitor Massaru Iha 2020-07-29 138
:::::: The code at line 93 was first introduced by commit
:::::: 0e2dc70e3d0d503b0cc9c5f74db3eb6db52c9e22 bitfield: add tests
:::::: TO: Johannes Berg <johannes(a)sipsolutions.net>
:::::: CC: Kalle Valo <kvalo(a)codeaurora.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 7 months
[ti:ti-rt-linux-5.4.y 10032/13999] drivers/mtd/spi-nor/spi-nor.c:5721:18: error: implicit declaration of function 'of_read_number'
by kernel test robot
tree: git://git.ti.com/ti-linux-kernel/ti-linux-kernel.git ti-rt-linux-5.4.y
head: 6bb5d2a07d482b75243678d310524b4939113e4b
commit: 93fac9fa368d4c49b62745b6f324d019fb42ecc4 [10032/13999] HACK: scripts: headers_install: fix allmodconfig builds
config: m68k-randconfig-p002-20210216 (attached as .config)
compiler: m68k-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
git remote add ti git://git.ti.com/ti-linux-kernel/ti-linux-kernel.git
git fetch --no-tags ti ti-rt-linux-5.4.y
git checkout 93fac9fa368d4c49b62745b6f324d019fb42ecc4
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=m68k
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 >>):
In file included from arch/m68k/include/asm/page.h:49,
from arch/m68k/include/asm/thread_info.h:6,
from include/linux/thread_info.h:38,
from include/asm-generic/preempt.h:5,
from ./arch/m68k/include/generated/asm/preempt.h:1,
from include/linux/preempt.h:78,
from include/linux/spinlock.h:51,
from include/linux/seqlock.h:36,
from include/linux/time.h:6,
from include/linux/stat.h:19,
from include/linux/module.h:10,
from drivers/mtd/spi-nor/spi-nor.c:13:
drivers/mtd/spi-nor/spi-nor.c: In function 'spi_nor_spimem_xfer_data':
arch/m68k/include/asm/page_no.h:33:50: warning: ordered comparison of pointer with null pointer [-Wextra]
33 | #define virt_addr_valid(kaddr) (((void *)(kaddr) >= (void *)PAGE_OFFSET) && \
| ^~
drivers/mtd/spi-nor/spi-nor.c:389:34: note: in expansion of macro 'virt_addr_valid'
389 | if (object_is_on_stack(buf) || !virt_addr_valid(buf))
| ^~~~~~~~~~~~~~~
drivers/mtd/spi-nor/spi-nor.c: In function 'spi_nor_scan':
>> drivers/mtd/spi-nor/spi-nor.c:5721:18: error: implicit declaration of function 'of_read_number' [-Werror=implicit-function-declaration]
5721 | op.addr.val = of_read_number(reg, a_cells);
| ^~~~~~~~~~~~~~
cc1: some warnings being treated as errors
vim +/of_read_number +5721 drivers/mtd/spi-nor/spi-nor.c
620df2497415a9 Tudor Ambarus 2019-08-24 5556
cfc5604c488ccd Cyrille Pitchen 2017-04-25 5557 int spi_nor_scan(struct spi_nor *nor, const char *name,
cfc5604c488ccd Cyrille Pitchen 2017-04-25 5558 const struct spi_nor_hwcaps *hwcaps)
b199489d37b21c Huang Shijie 2014-02-24 5559 {
620df2497415a9 Tudor Ambarus 2019-08-24 5560 const struct flash_info *info;
b199489d37b21c Huang Shijie 2014-02-24 5561 struct device *dev = nor->dev;
1976367173a47f Brian Norris 2015-08-13 5562 struct mtd_info *mtd = &nor->mtd;
9c7d787508be6d Brian Norris 2015-10-30 5563 struct device_node *np = spi_nor_get_flash_node(nor);
6f9db649f76819 Pratyush Yadav 2020-08-14 5564 struct device_node *child;
1e35a56781b4b5 Tudor Ambarus 2019-08-23 5565 struct spi_nor_flash_parameter *params = &nor->params;
e24656fe97a4ac Pratyush Yadav 2020-08-05 5566 struct spi_mem_op op;
b199489d37b21c Huang Shijie 2014-02-24 5567 int ret;
b199489d37b21c Huang Shijie 2014-02-24 5568 int i;
b199489d37b21c Huang Shijie 2014-02-24 5569
b199489d37b21c Huang Shijie 2014-02-24 5570 ret = spi_nor_check(nor);
b199489d37b21c Huang Shijie 2014-02-24 5571 if (ret)
b199489d37b21c Huang Shijie 2014-02-24 5572 return ret;
b199489d37b21c Huang Shijie 2014-02-24 5573
cfc5604c488ccd Cyrille Pitchen 2017-04-25 5574 /* Reset SPI protocol for all commands. */
cfc5604c488ccd Cyrille Pitchen 2017-04-25 5575 nor->reg_proto = SNOR_PROTO_1_1_1;
cfc5604c488ccd Cyrille Pitchen 2017-04-25 5576 nor->read_proto = SNOR_PROTO_1_1_1;
cfc5604c488ccd Cyrille Pitchen 2017-04-25 5577 nor->write_proto = SNOR_PROTO_1_1_1;
cfc5604c488ccd Cyrille Pitchen 2017-04-25 5578
f173f26a4d543f Vignesh Raghavendra 2019-08-06 5579 /*
f173f26a4d543f Vignesh Raghavendra 2019-08-06 5580 * We need the bounce buffer early to read/write registers when going
f173f26a4d543f Vignesh Raghavendra 2019-08-06 5581 * through the spi-mem layer (buffers have to be DMA-able).
b35b9a10362d20 Boris Brezillon 2019-08-06 5582 * For spi-mem drivers, we'll reallocate a new buffer if
b35b9a10362d20 Boris Brezillon 2019-08-06 5583 * nor->page_size turns out to be greater than PAGE_SIZE (which
b35b9a10362d20 Boris Brezillon 2019-08-06 5584 * shouldn't happen before long since NOR pages are usually less
b35b9a10362d20 Boris Brezillon 2019-08-06 5585 * than 1KB) after spi_nor_scan() returns.
f173f26a4d543f Vignesh Raghavendra 2019-08-06 5586 */
f173f26a4d543f Vignesh Raghavendra 2019-08-06 5587 nor->bouncebuf_size = PAGE_SIZE;
f173f26a4d543f Vignesh Raghavendra 2019-08-06 5588 nor->bouncebuf = devm_kmalloc(dev, nor->bouncebuf_size,
f173f26a4d543f Vignesh Raghavendra 2019-08-06 5589 GFP_KERNEL);
f173f26a4d543f Vignesh Raghavendra 2019-08-06 5590 if (!nor->bouncebuf)
f173f26a4d543f Vignesh Raghavendra 2019-08-06 5591 return -ENOMEM;
f173f26a4d543f Vignesh Raghavendra 2019-08-06 5592
620df2497415a9 Tudor Ambarus 2019-08-24 5593 info = spi_nor_get_flash_info(nor, name);
620df2497415a9 Tudor Ambarus 2019-08-24 5594 if (IS_ERR(info))
620df2497415a9 Tudor Ambarus 2019-08-24 5595 return PTR_ERR(info);
b199489d37b21c Huang Shijie 2014-02-24 5596
b296379fef7ce9 Boris Brezillon 2018-12-06 5597 nor->info = info;
b296379fef7ce9 Boris Brezillon 2018-12-06 5598
dcc935b06f1f29 Zhuohao Lee 2019-08-28 5599 spi_nor_debugfs_init(nor, info);
dcc935b06f1f29 Zhuohao Lee 2019-08-28 5600
b199489d37b21c Huang Shijie 2014-02-24 5601 mutex_init(&nor->lock);
b199489d37b21c Huang Shijie 2014-02-24 5602
e99ca98f1d7190 Ricardo Ribalda Delgado 2016-12-02 5603 /*
e99ca98f1d7190 Ricardo Ribalda Delgado 2016-12-02 5604 * Make sure the XSR_RDY flag is set before calling
e99ca98f1d7190 Ricardo Ribalda Delgado 2016-12-02 5605 * spi_nor_wait_till_ready(). Xilinx S3AN share MFR
e99ca98f1d7190 Ricardo Ribalda Delgado 2016-12-02 5606 * with Atmel spi-nor
e99ca98f1d7190 Ricardo Ribalda Delgado 2016-12-02 5607 */
ad3bba06b63697 Boris Brezillon 2019-07-30 5608 if (info->flags & SPI_NOR_XSR_RDY)
e99ca98f1d7190 Ricardo Ribalda Delgado 2016-12-02 5609 nor->flags |= SNOR_F_READY_XSR_RDY;
e99ca98f1d7190 Ricardo Ribalda Delgado 2016-12-02 5610
dff972458acb05 Boris Brezillon 2019-08-24 5611 if (info->flags & SPI_NOR_HAS_LOCK)
dff972458acb05 Boris Brezillon 2019-08-24 5612 nor->flags |= SNOR_F_HAS_LOCK;
dff972458acb05 Boris Brezillon 2019-08-24 5613
191f5c2ed4b6fa Tudor Ambarus 2019-06-10 5614 /*
191f5c2ed4b6fa Tudor Ambarus 2019-06-10 5615 * Atmel, SST, Intel/Numonyx, and others serial NOR tend to power up
191f5c2ed4b6fa Tudor Ambarus 2019-06-10 5616 * with the software protection bits set.
191f5c2ed4b6fa Tudor Ambarus 2019-06-10 5617 */
191f5c2ed4b6fa Tudor Ambarus 2019-06-10 5618 if (JEDEC_MFR(nor->info) == SNOR_MFR_ATMEL ||
191f5c2ed4b6fa Tudor Ambarus 2019-06-10 5619 JEDEC_MFR(nor->info) == SNOR_MFR_INTEL ||
191f5c2ed4b6fa Tudor Ambarus 2019-06-10 5620 JEDEC_MFR(nor->info) == SNOR_MFR_SST ||
191f5c2ed4b6fa Tudor Ambarus 2019-06-10 5621 nor->info->flags & SPI_NOR_HAS_LOCK)
191f5c2ed4b6fa Tudor Ambarus 2019-06-10 5622 nor->clear_sr_bp = spi_nor_clear_sr_bp;
191f5c2ed4b6fa Tudor Ambarus 2019-06-10 5623
1c1d8d98e1c706 Tudor Ambarus 2019-08-24 5624 /* Init flash parameters based on flash_info struct and SFDP */
1c1d8d98e1c706 Tudor Ambarus 2019-08-24 5625 spi_nor_init_params(nor);
cfc5604c488ccd Cyrille Pitchen 2017-04-25 5626
32f1b7c8352fd3 Rafał Miłecki 2014-09-28 5627 if (!mtd->name)
b199489d37b21c Huang Shijie 2014-02-24 5628 mtd->name = dev_name(dev);
c9ec3900abf279 Brian Norris 2015-08-13 5629 mtd->priv = nor;
b199489d37b21c Huang Shijie 2014-02-24 5630 mtd->type = MTD_NORFLASH;
b199489d37b21c Huang Shijie 2014-02-24 5631 mtd->writesize = 1;
b199489d37b21c Huang Shijie 2014-02-24 5632 mtd->flags = MTD_CAP_NORFLASH;
1e35a56781b4b5 Tudor Ambarus 2019-08-23 5633 mtd->size = params->size;
b199489d37b21c Huang Shijie 2014-02-24 5634 mtd->_erase = spi_nor_erase;
b199489d37b21c Huang Shijie 2014-02-24 5635 mtd->_read = spi_nor_read;
b23b0848f1a03e Pratyush Yadav 2020-06-16 5636 mtd->_suspend = spi_nor_suspend;
d6084fc83c8249 Kamal Dasu 2017-08-22 5637 mtd->_resume = spi_nor_resume;
b199489d37b21c Huang Shijie 2014-02-24 5638
dff972458acb05 Boris Brezillon 2019-08-24 5639 if (nor->params.locking_ops) {
b199489d37b21c Huang Shijie 2014-02-24 5640 mtd->_lock = spi_nor_lock;
b199489d37b21c Huang Shijie 2014-02-24 5641 mtd->_unlock = spi_nor_unlock;
5bf0e69b67a560 Brian Norris 2015-09-01 5642 mtd->_is_locked = spi_nor_is_locked;
b199489d37b21c Huang Shijie 2014-02-24 5643 }
b199489d37b21c Huang Shijie 2014-02-24 5644
b199489d37b21c Huang Shijie 2014-02-24 5645 /* sst nor chips use AAI word program */
b199489d37b21c Huang Shijie 2014-02-24 5646 if (info->flags & SST_WRITE)
b199489d37b21c Huang Shijie 2014-02-24 5647 mtd->_write = sst_write;
b199489d37b21c Huang Shijie 2014-02-24 5648 else
b199489d37b21c Huang Shijie 2014-02-24 5649 mtd->_write = spi_nor_write;
b199489d37b21c Huang Shijie 2014-02-24 5650
51983b7dcf3a50 Brian Norris 2014-09-10 5651 if (info->flags & USE_FSR)
51983b7dcf3a50 Brian Norris 2014-09-10 5652 nor->flags |= SNOR_F_USE_FSR;
3dd8012a8eeb37 Brian Norris 2016-01-29 5653 if (info->flags & SPI_NOR_HAS_TB)
3dd8012a8eeb37 Brian Norris 2016-01-29 5654 nor->flags |= SNOR_F_HAS_SR_TB;
2f5ad7f0f3e167 mar.krzeminski 2017-01-06 5655 if (info->flags & NO_CHIP_ERASE)
2f5ad7f0f3e167 mar.krzeminski 2017-01-06 5656 nor->flags |= SNOR_F_NO_OP_CHIP_ERASE;
c4b3eacc1dfef5 Alexander Sverdlin 2017-07-17 5657 if (info->flags & USE_CLSR)
c4b3eacc1dfef5 Alexander Sverdlin 2017-07-17 5658 nor->flags |= SNOR_F_USE_CLSR;
c14deddec1fbd8 grmoore(a)altera.com 2014-04-29 5659
b199489d37b21c Huang Shijie 2014-02-24 5660 if (info->flags & SPI_NOR_NO_ERASE)
b199489d37b21c Huang Shijie 2014-02-24 5661 mtd->flags |= MTD_NO_ERASE;
b199489d37b21c Huang Shijie 2014-02-24 5662
b199489d37b21c Huang Shijie 2014-02-24 5663 mtd->dev.parent = dev;
1e35a56781b4b5 Tudor Ambarus 2019-08-23 5664 nor->page_size = params->page_size;
b199489d37b21c Huang Shijie 2014-02-24 5665 mtd->writebufsize = nor->page_size;
b199489d37b21c Huang Shijie 2014-02-24 5666
bb276262e88dae Brian Norris 2018-07-27 5667 if (of_property_read_bool(np, "broken-flash-reset"))
bb276262e88dae Brian Norris 2018-07-27 5668 nor->flags |= SNOR_F_BROKEN_RESET;
bb276262e88dae Brian Norris 2018-07-27 5669
cfc5604c488ccd Cyrille Pitchen 2017-04-25 5670 /*
cfc5604c488ccd Cyrille Pitchen 2017-04-25 5671 * Configure the SPI memory:
cfc5604c488ccd Cyrille Pitchen 2017-04-25 5672 * - select op codes for (Fast) Read, Page Program and Sector Erase.
cfc5604c488ccd Cyrille Pitchen 2017-04-25 5673 * - set the number of dummy cycles (mode cycles + wait states).
cfc5604c488ccd Cyrille Pitchen 2017-04-25 5674 * - set the SPI protocols for register and memory accesses.
cfc5604c488ccd Cyrille Pitchen 2017-04-25 5675 */
1e35a56781b4b5 Tudor Ambarus 2019-08-23 5676 ret = spi_nor_setup(nor, hwcaps);
cfc5604c488ccd Cyrille Pitchen 2017-04-25 5677 if (ret)
b199489d37b21c Huang Shijie 2014-02-24 5678 return ret;
b199489d37b21c Huang Shijie 2014-02-24 5679
92094ebc385ef5 Boris Brezillon 2019-08-24 5680 if (info->flags & SPI_NOR_4B_OPCODES)
548ed6847f5303 Boris Brezillon 2018-12-06 5681 nor->flags |= SNOR_F_4B_OPCODES;
548ed6847f5303 Boris Brezillon 2018-12-06 5682
696ce50f4e9377 Tudor Ambarus 2019-08-24 5683 ret = spi_nor_set_addr_width(nor);
696ce50f4e9377 Tudor Ambarus 2019-08-24 5684 if (ret)
696ce50f4e9377 Tudor Ambarus 2019-08-24 5685 return ret;
c67cbb839da9cc Brian Norris 2015-11-10 5686
46dde01f6bab35 Kamal Dasu 2017-08-22 5687 /* Send all the required SPI flash commands to initialize device */
46dde01f6bab35 Kamal Dasu 2017-08-22 5688 ret = spi_nor_init(nor);
46dde01f6bab35 Kamal Dasu 2017-08-22 5689 if (ret)
46dde01f6bab35 Kamal Dasu 2017-08-22 5690 return ret;
46dde01f6bab35 Kamal Dasu 2017-08-22 5691
6f9db649f76819 Pratyush Yadav 2020-08-14 5692 /*
6f9db649f76819 Pratyush Yadav 2020-08-14 5693 * Find out if a PHY pattern partition is present.
6f9db649f76819 Pratyush Yadav 2020-08-14 5694 *
6f9db649f76819 Pratyush Yadav 2020-08-14 5695 * TODO: Teach the mtd core to find the partition for us so we don't
6f9db649f76819 Pratyush Yadav 2020-08-14 5696 * have to repeat the parsing logic here that mtd already has.
6f9db649f76819 Pratyush Yadav 2020-08-14 5697 */
6f9db649f76819 Pratyush Yadav 2020-08-14 5698 child = NULL;
6f9db649f76819 Pratyush Yadav 2020-08-14 5699 do {
6f9db649f76819 Pratyush Yadav 2020-08-14 5700 int len;
6f9db649f76819 Pratyush Yadav 2020-08-14 5701 char *label = NULL;
6f9db649f76819 Pratyush Yadav 2020-08-14 5702
6f9db649f76819 Pratyush Yadav 2020-08-14 5703 child = of_get_next_child(np, child);
6f9db649f76819 Pratyush Yadav 2020-08-14 5704 if (child)
6f9db649f76819 Pratyush Yadav 2020-08-14 5705 label = (char *)of_get_property(child, "label", &len);
6f9db649f76819 Pratyush Yadav 2020-08-14 5706
6f9db649f76819 Pratyush Yadav 2020-08-14 5707 if (label && !strcmp(label, "ospi.phypattern")) {
6f9db649f76819 Pratyush Yadav 2020-08-14 5708 const __be32 *reg;
6f9db649f76819 Pratyush Yadav 2020-08-14 5709 int a_cells, s_cells;
6f9db649f76819 Pratyush Yadav 2020-08-14 5710
6f9db649f76819 Pratyush Yadav 2020-08-14 5711 reg = of_get_property(child, "reg", &len);
6f9db649f76819 Pratyush Yadav 2020-08-14 5712 if (!reg)
6f9db649f76819 Pratyush Yadav 2020-08-14 5713 continue;
6f9db649f76819 Pratyush Yadav 2020-08-14 5714
6f9db649f76819 Pratyush Yadav 2020-08-14 5715 a_cells = of_n_addr_cells(child);
6f9db649f76819 Pratyush Yadav 2020-08-14 5716 s_cells = of_n_size_cells(child);
6f9db649f76819 Pratyush Yadav 2020-08-14 5717 if (len / 4 != a_cells + s_cells)
6f9db649f76819 Pratyush Yadav 2020-08-14 5718 continue;
6f9db649f76819 Pratyush Yadav 2020-08-14 5719
e24656fe97a4ac Pratyush Yadav 2020-08-05 5720 op = spi_nor_spimem_read_op(nor);
6f9db649f76819 Pratyush Yadav 2020-08-14 @5721 op.addr.val = of_read_number(reg, a_cells);
e24656fe97a4ac Pratyush Yadav 2020-08-05 5722 spi_mem_set_calibration_read_op(nor->spimem, &op);
6f9db649f76819 Pratyush Yadav 2020-08-14 5723 break;
6f9db649f76819 Pratyush Yadav 2020-08-14 5724 }
6f9db649f76819 Pratyush Yadav 2020-08-14 5725 } while (child);
e24656fe97a4ac Pratyush Yadav 2020-08-05 5726
06bb6f5a69dfc5 Rafał Miłecki 2015-08-10 5727 dev_info(dev, "%s (%lld Kbytes)\n", info->name,
b199489d37b21c Huang Shijie 2014-02-24 5728 (long long)mtd->size >> 10);
b199489d37b21c Huang Shijie 2014-02-24 5729
b199489d37b21c Huang Shijie 2014-02-24 5730 dev_dbg(dev,
b199489d37b21c Huang Shijie 2014-02-24 5731 "mtd .name = %s, .size = 0x%llx (%lldMiB), "
b199489d37b21c Huang Shijie 2014-02-24 5732 ".erasesize = 0x%.8x (%uKiB) .numeraseregions = %d\n",
b199489d37b21c Huang Shijie 2014-02-24 5733 mtd->name, (long long)mtd->size, (long long)(mtd->size >> 20),
b199489d37b21c Huang Shijie 2014-02-24 5734 mtd->erasesize, mtd->erasesize / 1024, mtd->numeraseregions);
b199489d37b21c Huang Shijie 2014-02-24 5735
b199489d37b21c Huang Shijie 2014-02-24 5736 if (mtd->numeraseregions)
b199489d37b21c Huang Shijie 2014-02-24 5737 for (i = 0; i < mtd->numeraseregions; i++)
b199489d37b21c Huang Shijie 2014-02-24 5738 dev_dbg(dev,
b199489d37b21c Huang Shijie 2014-02-24 5739 "mtd.eraseregions[%d] = { .offset = 0x%llx, "
b199489d37b21c Huang Shijie 2014-02-24 5740 ".erasesize = 0x%.8x (%uKiB), "
b199489d37b21c Huang Shijie 2014-02-24 5741 ".numblocks = %d }\n",
b199489d37b21c Huang Shijie 2014-02-24 5742 i, (long long)mtd->eraseregions[i].offset,
b199489d37b21c Huang Shijie 2014-02-24 5743 mtd->eraseregions[i].erasesize,
b199489d37b21c Huang Shijie 2014-02-24 5744 mtd->eraseregions[i].erasesize / 1024,
b199489d37b21c Huang Shijie 2014-02-24 5745 mtd->eraseregions[i].numblocks);
b199489d37b21c Huang Shijie 2014-02-24 5746 return 0;
b199489d37b21c Huang Shijie 2014-02-24 5747 }
b61834b0d0ed50 Brian Norris 2014-04-08 5748 EXPORT_SYMBOL_GPL(spi_nor_scan);
b199489d37b21c Huang Shijie 2014-02-24 5749
:::::: The code at line 5721 was first introduced by commit
:::::: 6f9db649f76819bbe6b9ee1a7758717d0f2e01ee HACK: mtd: spi-nor: Look for PHY pattern partition
:::::: TO: Pratyush Yadav <p.yadav(a)ti.com>
:::::: CC: Pratyush Yadav <p.yadav(a)ti.com>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year, 7 months