Wind River Support Network

HomeDefectsLIN5-19701
Fixed

LIN5-19701 : There is a warning when compiling wrlinux5.0.1 preempt-rt

Created: Nov 12, 2014    Updated: Dec 19, 2017
Resolved Date: Nov 13, 2014
Found In Version: 5.0.1.18
Fix Version: 5.0.1.21
Severity: Standard
Applicable for: Wind River Linux 5
Component/s: Kernel

Description

There is a warning when compiling the preempt rt kernel
............................
CC kernel/resource.o
CC kernel/sysctl.o
/armda38x/bitbake_build/tmp/work/mv_armada_38x-wrs-linux-gnueabi/linux-windriver-3.4-r0/linux/kernel/softirq.c: In function '__tasklet_common_schedule':
/armda38x/bitbake_build/tmp/work/mv_armada_38x-wrs-linux-gnueabi/linux-windriver-3.4-r0/linux/kernel/softirq.c:845:5: warning: suggest parentheses around comparison in operand of '|' [-Wparentheses]
CC kernel/sysctl_binary.o 
...........................

Workaround

"== exp | TASKLET_STATEF_RUN)"   modify to " == (exp | TASKLET_STATEF_RUN)) "

Other Downloads


Live chat
Online