Wind River Support Network

HomeDefectsLIN6-8767
Fixed

LIN6-8767 : There is a warning when compiling wrlinux5.0.1 preempt-rt

Created: Nov 17, 2014    Updated: Dec 3, 2018
Resolved Date: Nov 17, 2014
Previous ID: LIN5-19746
Found In Version: 6.0.0.15
Fix Version: 6.0.0.15
Severity: Standard
Applicable for: Wind River Linux 6
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