Wind River Support Network

HomeDefectsLIN5-3733
Fixed

LIN5-3733 : kernel warnings fixed in defect WIND00436136 still exist for other BSPs.

Created: Dec 2, 2013    Updated: Dec 19, 2017
Resolved Date: Dec 19, 2013
Found In Version: 5.0.1
Fix Version: 5.0.1.11
Severity: Severe
Applicable for: Wind River Linux 5
Component/s: Kernel

Description

The kernel warnings in defect WIND00436136 :

1)
kernel/mm/shmem.c:
In function 'shmem_fill_super':
kernel/mm/shmem.c:2253:
warning: comparison of distinct pointer types lacks a cast
2)
kernel/arch/x86/kernel/tboot.c:
In function 'tboot_shutdown':
kernel/arch/x86/kernel/tboot.c:244:
warning: cast to pointer from integer of different size


Are stll existing in RCPL 9, on different BSPs as intel_xeon_core. 

Steps to Reproduce

configure the kernel as for WIND00436136 (see testcase) but for qemu-x86_64 instead of intel_xeon_core. 
configure the kernel to build tboot.c
build it and see the warnings in :

kernel/mm/shmem.c:
In function 'shmem_fill_super':
kernel/mm/shmem.c:2253:
warning: comparison of distinct pointer types lacks a cast
2)
kernel/arch/x86/kernel/tboot.c:
In function 'tboot_shutdown':
kernel/arch/x86/kernel/tboot.c:244:
warning: cast to pointer from integer of different size

Other Downloads


Live chat
Online