Wind River Support Network

HomeDefectsLIN7-4589
Fixed

LIN7-4589 : There is some build warning in kernel's log.do_compile with fsl-t2xxx

Created: Aug 20, 2015    Updated: Sep 8, 2018
Resolved Date: Sep 13, 2015
Found In Version: 7.0
Fix Version: 7.0.0.9
Severity: Standard
Applicable for: Wind River Linux 7
Component/s: Kernel

Description

  CC      drivers/mtd/mtdconcat.o
  CC      drivers/mmc/card/queue.o
  CC      drivers/base/power/generic_ops.o
  CC      drivers/of/platform.o
  CC      drivers/net/loopback.o
  CC      drivers/input/mouse/cypress_ps2.o
  LD      drivers/crypto/caam/caam_pkc.o
  CC      drivers/crypto/caam/caamalg_qi.o
  CC      drivers/base/power/common.o
/WRL7simics/build_dir/bsp/GIT_201508/lxbuilds/simics-fsl-t2080rdb-Rev1_platform_up/fsl-t2xxx-preempt-rt-glibc-std/wrlinux/bitbake_build/tmp/work-shared/fsl-t2xxx/kernel-source/drivers/of/platform.c: In function 'of_device_make_bus_id':
/WRL7simics/build_dir/bsp/GIT_201508/lxbuilds/simics-fsl-t2080rdb-Rev1_platform_up/fsl-t2xxx-preempt-rt-glibc-std/wrlinux/bitbake_build/tmp/work-shared/fsl-t2xxx/kernel-source/drivers/of/platform.c:81:16: warning: unused variable 'addrp' [-Wunused-variable]
  const __be32 *addrp;
                ^
  CC      drivers/base/power/qos.o
  LD      drivers/mmc/card/mmc_block.o
  CC      drivers/mtd/mtdpart.o
  LD      drivers/mmc/card/built-in.o
  CC      drivers/net/netconsole.o
  CC      drivers/of/fdt.o
  CC      drivers/mmc/core/core.o
  LD      drivers/input/mouse/psmouse.o
--
  CC      net/sched/sch_fifo.o
  CC      net/sched/cls_u32.o
  CC      net/xfrm/xfrm_hash.o
  CC      net/sched/cls_basic.o
  CC      net/core/sysctl_net_core.o
  CC      net/sunrpc/sched.o
  CC      net/ipv6/ipv6_sockglue.o
  CC      net/ipv6/ndisc.o
  CC      net/xfrm/xfrm_input.o
  CC      net/sched/cls_cgroup.o
/WRL7simics/build_dir/bsp/GIT_201508/lxbuilds/simics-fsl-t2080rdb-Rev1_platform_up/fsl-t2xxx-preempt-rt-glibc-std/wrlinux/bitbake_build/tmp/work-shared/fsl-t2xxx/kernel-source/net/core/sysctl_net_core.c:26:12: warning: 'one' defined but not used [-Wunused-variable]
 static int one = 1;
            ^
  CC      net/ipv4/ip_sockglue.o
  CC      net/core/dev.o
  CC      net/ipv4/inet_hashtables.o
  CC      net/xfrm/xfrm_output.o
  CC      net/ipv6/udp.o
  LD      net/sched/built-in.o
  CC      net/ipv4/inet_timewait_sock.o
  CC      net/sunrpc/auth.o

Steps to Reproduce

1) configure --enable-board=fsl-t2xxx --enable-kernel=preempt-rt --enable-rootfs=glibc-std

2) make fs

3) check the kernel compile log whether include warning info under project

$ build/linux-windriver/temp/log.do_compile

Other Downloads


Live chat
Online