Wind River Support Network

HomeDefectsLIN9-6341
Fixed

LIN9-6341 : warning: 'usb1_mio_mux_parents' defined but not used [-Wunused-variable]

Created: Feb 1, 2018    Updated: Feb 11, 2019
Resolved Date: Mar 2, 2018
Found In Version: 9.0.0.14
Fix Version: 9.0.0.15
Severity: Standard
Applicable for: Wind River Linux 9
Component/s: BSP, Kernel

Description

  LD      drivers/cpufreq/built-in.o
  LD      sound/soc/fsl/built-in.o
  LD      drivers/crypto/built-in.o
  LD      mm/built-in.o
  CC      drivers/dma/dmaengine.o
  LD      sound/soc/generic/built-in.o
/build_dir/01300518-build_platprj_xfs/xilinx-zynqmp-standard-glibc-std-OE/build/tmp/work-shared/xilinx-zynqmp/kernel-source/drivers/clk/zynqmp/clkc.c:157:20: warning: 'usb1_mio_mux_parents' defined but not used [-Wunused-variable]
 static const char *usb1_mio_mux_parents[] __initconst = {"usb1_bus_ref",
                    ^~~~~~~~~~~~~~~~~~~~
/build_dir/01300518-build_platprj_xfs/xilinx-zynqmp-standard-glibc-std-OE/build/tmp/work-shared/xilinx-zynqmp/kernel-source/drivers/clk/zynqmp/clkc.c:155:20: warning: 'usb0_mio_mux_parents' defined but not used [-Wunused-variable]
 static const char *usb0_mio_mux_parents[] __initconst = {"usb0_bus_ref",
                    ^~~~~~~~~~~~~~~~~~~~
  LD      sound/soc/img/built-in.o
  CC      drivers/dma/of-dma.o
  CC      net/ipv6/route.o
  LD      sound/soc/jz4740/built-in.o
--
  GEN     scripts/mod/devicetable-offsets.h
  HOSTCC  scripts/mod/modpost.o
  HOSTCC  scripts/mod/sumversion.o
  HOSTCC  scripts/mod/file2alias.o
  HOSTLD  scripts/mod/modpost
  DTC     arch/arm64/boot/dts/xilinx/zynqmp-zcu102-rev1.0.dtb
arch/arm64/boot/dts/xilinx/zynqmp-zcu102-rev1.0.dtb: Warning (pci_device_reg): Node /amba/pcie@fd0e0000/legacy-interrupt-controller missing PCI reg property
DEBUG: Shell function do_compile finished

Steps to Reproduce

1)wrlinux-9/setup.sh --machines=xilinx-zynqmp --kernel=standard --templates=feature/debug,feature/demo,feature/gdb,feature/test --dl-layers --accept-eula=yes --user=wrl9_test_lts_cve@windriver.com --password=xxxx && source environment-setup-x86_64-wrlinuxsdk-linux && source oe-init-build-env build

2)update conf/local.conf
echo IMAGE_FSTYPES += \"tar.bz2\" >> conf/local.conf
3) bitbake wrlinux-image-glibc-std

Other Downloads


Live chat
Online