Wind River Support Network

HomeDefectsLIN8-2788
Fixed

LIN8-2788 : fsl-e500mc: kernwarning_buildcheck testing failed on cgl kernel.

Created: Feb 17, 2016    Updated: Dec 3, 2018
Resolved Date: Mar 22, 2016
Found In Version: 8.0
Fix Version: 8.0.0.4
Severity: Standard
Applicable for: Wind River Linux 8
Component/s: Toolchain

Description

  CC drivers/mmc/core/sdio.o
  LD drivers/net/bonding/built-in.o
  LD drivers/net/ethernet/3com/built-in.o
  LD drivers/net/ethernet/8390/built-in.o
  CC drivers/mmc/core/sdio_ops.o
  CC drivers/of/device.o
  CC drivers/of/platform.o
  CC drivers/md/dm-target.o
  LD drivers/mtd/chips/built-in.o
/buildarea1/WRL8CGP_regression/build_dir/bsp/fsl-e500mc/GIT_/fsl_p2041rdb_cgl_glibc_cgl_WR_systemd/lxbuilds/fsl_p2041rdb_platform_up/fsl-e500mc-cgl-glibc-cgl/wrlinux/bitbake_build/tmp/work-shared/fsl-e500mc/kernel-source/drivers/block/drbd/drbd_nl.c: In function 'drbd_determine_dev_size':
/buildarea1/WRL8CGP_regression/build_dir/bsp/fsl-e500mc/GIT_/fsl_p2041rdb_cgl_glibc_cgl_WR_systemd/lxbuilds/fsl_p2041rdb_platform_up/fsl-e500mc-cgl-glibc-cgl/wrlinux/bitbake_build/tmp/work-shared/fsl-e500mc/kernel-source/drivers/block/drbd/drbd_nl.c:1012:19: warning: 'prev_al_stripes' may be used uninitialized in this function [-Wmaybe-uninitialized]
    md->al_size_4k = (u64)prev_al_stripes * prev_al_stripe_size_4k;
                   ^
/buildarea1/WRL8CGP_regression/build_dir/bsp/fsl-e500mc/GIT_/fsl_p2041rdb_cgl_glibc_cgl_WR_systemd/lxbuilds/fsl_p2041rdb_platform_up/fsl-e500mc-cgl-glibc-cgl/wrlinux/bitbake_build/tmp/work-shared/fsl-e500mc/kernel-source/drivers/block/drbd/drbd_nl.c:1012:19: warning: 'prev_al_stripe_size_4k' may be used uninitialized in this function [-Wmaybe-uninitialized]
  LD drivers/net/ethernet/adaptec/built-in.o
  LD drivers/net/ethernet/agere/built-in.o
  LD drivers/net/ethernet/alteon/built-in.o
  CC drivers/block/drbd/drbd_nla.o
  LD drivers/net/ethernet/amd/built-in.o
  CC drivers/mtd/devices/m25p80.o
  LD drivers/net/ethernet/arc/built-in.o
  LD drivers/net/ethernet/atheros/built-in.o
  LD drivers/net/ethernet/broadcom/built-in.o
  LD drivers/net/ethernet/brocade/built-in.o 

Steps to Reproduce

/lpg-build/cdc/fast_prod/wrlinux80/WRL80_GIT/wrlinux-8/wrlinux/configure
--enable-board=fsl-e500mc --enable-kernel=cgl --enable-rootfs=glibc-cgl
--with-layer=/lpg-build/cdc/WASSP_LINUX_80/testcases/wrlinux/wr-testing/bts-dev
--with-template=feature/bts --enable-jobs=8 --enable-parallel-pkgbuilds=8
--enable-reconfig=yes --with-rcpl-version=0

/opt/wr-test/testcases/bts/kernwarning_buildcheck/runtest.sh

Other Downloads


Live chat
Online