Wind River Support Network

HomeDefectsLIN8-996
Fixed

LIN8-996 : intel-x86: some kernel build warning

Created: Sep 29, 2015    Updated: Dec 3, 2018
Resolved Date: Dec 17, 2015
Found In Version: 8.0
Fix Version: 8.0.0.1
Severity: Standard
Applicable for: Wind River Linux 8
Component/s: BSP

Description

********************
root@128.224.163.190:/opt/wr-test/test_runner# cat /opt/wr-test/kernel.do_compile | grep -v 'TODO:' |grep -B10 -A10 'warning' ||return 0
  CC      drivers/hid/hid-debug.o
  LD      drivers/hsi/clients/built-in.o
  CC      drivers/hid/hid-generic.o
  LD      drivers/hsi/controllers/built-in.o
  CC      drivers/hid/hid-sensor-hub.o
  CC      drivers/hwmon/hwmon.o
  LD      drivers/hsi/built-in.o
  LD      drivers/dma/dw/dw_dmac_pci.o
  CC      drivers/idle/intel_idle.o
/buildarea2/lyang0/x86-64/bitbake_build/tmp/work-shared/intel-x86-64/kernel-source/drivers/hid/hid-input.c: In function 'hidinput_hid_event':
/buildarea2/lyang0/x86-64/bitbake_build/tmp/work-shared/intel-x86-64/kernel-source/drivers/hid/hid-input.c:1160:67: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses]
  if (usage->type == EV_KEY && !!test_bit(usage->code, input->key) != value)
                                                                   ^
  CC      drivers/edac/mce_amd.o
  CC      drivers/hid/i2c-hid/i2c-hid.o
  LD      net/sunrpc/auth_gss/auth_rpcgss.o
  CC      drivers/hid/usbhid/hid-core.o
  CC      drivers/i2c/i2c-boardinfo.o
  LD      net/sunrpc/auth_gss/built-in.o
  LD      net/sunrpc/built-in.o
  CC      drivers/input/serio/serio.o
<<end Check build warning>>
********************
<<clean subcase>>
********************

<<start Check kernel QA issue>>
********************
root@128.224.163.190:/opt/wr-test/test_runner# cat /opt/wr-test/linux-kernel.do_package_qa | grep -B10 -A10 'WARNING: QA Issue' ||return 0

<<end Check kernel QA issue>>
********************
<<clean subcase>>
********************

<<start check testcase call trace>>
********************
root@128.224.163.190:/opt/wr-test/test_runner# dmesg |grep -i -w -E -B10 -A50 'Call Trace|BUG:' ||return 0

<<end check testcase call trace>>
********************
<<clean subcase>>
********************

<<start check kmemleak>>
********************
root@128.224.163.190:/opt/wr-test/test_runner# cat /sys/kernel/debug/kmemleak |grep -E -B10 -A50 'kmemleak_alloc|kmem_cache_alloc' ||return 0
cat: /sys/kernel/debug/kmemleak: No such file or directory
<<end check kmemleak>>
********************
<<clean subcase>>

Steps to Reproduce

wrlinux-8/wrlinux/configure --enable-board=intel-x86-64 --enable-kernel=standard --enable-rootfs=glibc-std --enable-jobs=36 --enable-parallel-pkgbuilds=36 --with-layer=/buildarea2/lyang0/wrlinux-test/wr-testing/bts-dev --with-template=feature/bts --with-rcpl-version=0

check the kernel log 

Other Downloads


Live chat
Online