Wind River Support Network

HomeDefectsLIN1018-5821
Fixed

LIN1018-5821 : [WARNING] kernel compiling warnings of file drivers/soc/fsl/rcpm.c on nxp-ls1043&nxp-ls10x8

Created: Mar 9, 2020    Updated: Apr 10, 2020
Resolved Date: Apr 9, 2020
Found In Version: 10.18.44.14, 10.18.44.15
Fix Version: 10.18.44.16
Severity: Standard
Applicable for: Wind River Linux LTS 18
Component/s: Kernel

Description

Warnings,

build/tmp-glibc/work-shared/nxp-ls1043/kernel-source/drivers/soc/fsl/rcpm.c:90:38: warning: left shift count >= width of type [-Wshift-count-overflow]
OE/build/tmp-glibc/work-shared/nxp-ls1043/kernel-source/drivers/soc/fsl/rcpm.c:95:39: warning: left shift count >= width of type [-Wshift-count-overflow]
build_sanity_without_dl_layer_xfs/nxp-ls1043-standard-glibc-std-OE/build/tmp-glibc/work-shared/nxp-ls1043/kernel-source/drivers/soc/fsl/rcpm.c:101:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses]

Steps to Reproduce

$ setup.sh --machines=nxp-ls1043 --all-layers --accept-eula=yes && source environment-setup-x86_64-wrlinuxsdk-linux && source oe-init-build-env build
$ bitbake -k wrlinux-image-glibc-std
# then check the log kernel_log.do_compile
Live chat
Online