Wind River Support Network

HomeDefectsLIN8-4381
Fixed

LIN8-4381 : cpup.c:574:40: warning: unused variable 'inode' [-Wunused-variable]

Created: Aug 9, 2016    Updated: Dec 3, 2018
Resolved Date: Aug 10, 2016
Found In Version: 8.0
Fix Version: 8.0.0.9
Severity: Standard
Applicable for: Wind River Linux 8
Component/s: Kernel

Description

  CC      drivers/acpi/video_detect.o
  CC      net/bluetooth/l2cap_sock.o
/WRL8/build_dir/bsp/GIT_201608/lxbuilds/Canoe-Pass-Ivy-Refresh_platform_up/intel-x86-64-standard-glibc-std/wrlinux/test/bitbake_build/tmp/work-shared/intel-x86-64/kernel-source/fs/aufs/cpup.c: In function 'cpup_entry':
/WRL8/build_dir/bsp/GIT_201608/lxbuilds/Canoe-Pass-Ivy-Refresh_platform_up/intel-x86-64-standard-glibc-std/wrlinux/test/bitbake_build/tmp/work-shared/intel-x86-64/kernel-source/fs/aufs/cpup.c:574:40: warning: unused variable 'inode' [-Wunused-variable]
  struct inode *h_inode, *h_dir, *dir, *inode;
                                        ^
/WRL8/build_dir/bsp/GIT_201608/lxbuilds/Canoe-Pass-Ivy-Refresh_platform_up/intel-x86-64-standard-glibc-std/wrlinux/test/bitbake_build/tmp/work-shared/intel-x86-64/kernel-source/fs/aufs/cpup.c:574:34: warning: unused variable 'dir' [-Wunused-variable]
  struct inode *h_inode, *h_dir, *dir, *inode;
                                  ^
  CC      kernel/power/process.o
  CC      drivers/acpi/acpi_lpat.o
  CC      drivers/clk/clk.o
  CC      kernel/power/suspend.o

Steps to Reproduce

1) configure --enable-board=intel-x86-64 --enable-kernel=standard --enable-rootfs=glibc-std

2) make linux-windriver

3) check kernel do_compile log

Other Downloads


Live chat
Online