Wind River Support Network

HomeDefectsLIN7-4968
Fixed

LIN7-4968 : qman_config.c:1131:3: warning: 'irqflags' may be used uninitialized in this function [-Wmaybe-uninitialized]

Created: Oct 19, 2015    Updated: Sep 8, 2018
Resolved Date: Oct 21, 2015
Found In Version: 7.0
Fix Version: 7.0.0.10
Severity: Standard
Applicable for: Wind River Linux 7
Component/s: Kernel

Description

  CC      drivers/staging/fsl_qbman/qman_utility.o
  LD      drivers/usb/core/usbcore.o
  CC      drivers/net/phy/realtek.o
  CC      drivers/staging/fsl_qbman/qman_config.o
  CC      drivers/net/ethernet/freescale/fman/Peripherals/FM/MAC/memac.o
  CC      drivers/tty/vt/keyboard.o
  CC      drivers/staging/fsl_qbman/qman_driver.o
  CC      drivers/net/phy/fixed.o
  LD      drivers/usb/core/built-in.o
/WRL7simics/build_dir/bsp/GIT_201510/lxbuilds/simics-fsl-t2080rdb-Rev1_platform_up/fsl-t2xxx-preempt-rt-glibc-std/wrlinux/bitbake_build/tmp/work-shared/fsl-t2xxx/kernel-source/drivers/staging/fsl_qbman/qman_config.c: In function 'of_fsl_qman_shutdown':
/WRL7simics/build_dir/bsp/GIT_201510/lxbuilds/simics-fsl-t2080rdb-Rev1_platform_up/fsl-t2xxx-preempt-rt-glibc-std/wrlinux/bitbake_build/tmp/work-shared/fsl-t2xxx/kernel-source/drivers/staging/fsl_qbman/qman_config.c:1131:3: warning: 'irqflags' may be used uninitialized in this function [-Wmaybe-uninitialized]
   qman_portal_lock(p,irqflags);
   ^
  CC      drivers/staging/fsl_qbman/fsl_usdpaa.o
  CC      drivers/usb/gadget/udc-core.o
  CC      drivers/staging/fsl_qbman/fsl_usdpaa_irq.o
  CC      drivers/net/phy/mdio-mux.o
  CC      drivers/net/phy/mdio-mux-gpio.o
  CC      drivers/usb/gadget/fsl_udc_core.o
  CC      drivers/net/phy/mdio-mux-mmioreg.o
  LD      drivers/staging/fsl_qbman/bman_debugfs_interface.o

Steps to Reproduce

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

2) make fs

3) check kernel.do_compile log

Other Downloads


Live chat
Online