Wind River Support Network

HomeDefectsLIN8-4028
Fixed

LIN8-4028 : Kernel warning with intel-x86-64

Created: Jun 26, 2016    Updated: Dec 3, 2018
Resolved Date: Jun 27, 2016
Found In Version: 8.0
Fix Version: 8.0.0.7
Severity: Standard
Applicable for: Wind River Linux 8
Component/s: Kernel

Description

/WRL8/build_dir/bsp/GIT_201606/lxbuilds/Canoe-Pass-Ivy-Refresh_platform_up/intel-x86-64-standard-glibc-std/wrlinux/test/bitbake_build/tmp/work-shared/intel-x86-64/kernel-source/fs/aufs/branch.c: In function 'au_farray_alloc':
/WRL8/build_dir/bsp/GIT_201606/lxbuilds/Canoe-Pass-Ivy-Refresh_platform_up/intel-x86-64-standard-glibc-std/wrlinux/test/bitbake_build/tmp/work-shared/intel-x86-64/kernel-source/fs/aufs/branch.c:590:29: warning: passing argument 2 of 'au_array_alloc' from incompatible pointer type [-Wincompatible-pointer-types]
  return au_array_alloc(max, au_farray_cb, sb, /*arg*/NULL);
                             ^
In file included from /WRL8/build_dir/bsp/GIT_201606/lxbuilds/Canoe-Pass-Ivy-Refresh_platform_up/intel-x86-64-standard-glibc-std/wrlinux/test/bitbake_build/tmp/work-shared/intel-x86-64/kernel-source/fs/aufs/branch.h:30:0,
                 from /WRL8/build_dir/bsp/GIT_201606/lxbuilds/Canoe-Pass-Ivy-Refresh_platform_up/intel-x86-64-standard-glibc-std/wrlinux/test/bitbake_build/tmp/work-shared/intel-x86-64/kernel-source/fs/aufs/aufs.h:37,
                 from /WRL8/build_dir/bsp/GIT_201606/lxbuilds/Canoe-Pass-Ivy-Refresh_platform_up/intel-x86-64-standard-glibc-std/wrlinux/test/bitbake_build/tmp/work-shared/intel-x86-64/kernel-source/fs/aufs/branch.c:24:
/WRL8/build_dir/bsp/GIT_201606/lxbuilds/Canoe-Pass-Ivy-Refresh_platform_up/intel-x86-64-standard-glibc-std/wrlinux/test/bitbake_build/tmp/work-shared/intel-x86-64/kernel-source/fs/aufs/super.h:277:7: note: expected 'au_arraycb_t {aka long long unsigned int (*)(struct super_block *, void *, long long unsigned int,  void *)}' but argument is of type 'long long unsigned int (*)(void *, long long unsigned int,  void *)'
 void *au_array_alloc(unsigned long long *hint, au_arraycb_t cb,
       ^
/WRL8/build_dir/bsp/GIT_201606/lxbuilds/Canoe-Pass-Ivy-Refresh_platform_up/intel-x86-64-standard-glibc-std/wrlinux/test/bitbake_build/tmp/work-shared/intel-x86-64/kernel-source/fs/aufs/branch.c: In function 'au_br_del':
/WRL8/build_dir/bsp/GIT_201606/lxbuilds/Canoe-Pass-Ivy-Refresh_platform_up/intel-x86-64-standard-glibc-std/wrlinux/test/bitbake_build/tmp/work-shared/intel-x86-64/kernel-source/fs/aufs/branch.c:1034:37: warning: passing argument 2 of 'au_array_alloc' from incompatible pointer type [-Wincompatible-pointer-types]
   to_free = au_array_alloc(&opened, empty_cb, sb, NULL);
                                     ^
In file included from /WRL8/build_dir/bsp/GIT_201606/lxbuilds/Canoe-Pass-Ivy-Refresh_platform_up/intel-x86-64-standard-glibc-std/wrlinux/test/bitbake_build/tmp/work-shared/intel-x86-64/kernel-source/fs/aufs/branch.h:30:0,
                 from /WRL8/build_dir/bsp/GIT_201606/lxbuilds/Canoe-Pass-Ivy-Refresh_platform_up/intel-x86-64-standard-glibc-std/wrlinux/test/bitbake_build/tmp/work-shared/intel-x86-64/kernel-source/fs/aufs/aufs.h:37,
                 from /WRL8/build_dir/bsp/GIT_201606/lxbuilds/Canoe-Pass-Ivy-Refresh_platform_up/intel-x86-64-standard-glibc-std/wrlinux/test/bitbake_build/tmp/work-shared/intel-x86-64/kernel-source/fs/aufs/branch.c:24:
/WRL8/build_dir/bsp/GIT_201606/lxbuilds/Canoe-Pass-Ivy-Refresh_platform_up/intel-x86-64-standard-glibc-std/wrlinux/test/bitbake_build/tmp/work-shared/intel-x86-64/kernel-source/fs/aufs/super.h:277:7: note: expected 'au_arraycb_t {aka long long unsigned int (*)(struct super_block *, void *, long long unsigned int,  void *)}' but argument is of type 'long long unsigned int (*)(void *, long long unsigned int,  void *)'
 void *au_array_alloc(unsigned long long *hint, au_arraycb_t cb,

Steps to Reproduce

1)configure --enable-board=intel-x86-64 --enable-kernel=standard --enable-rootfs=glibc-std

2)make linux-windriver

3) Check the warning info in:
build/linux-windriver/temp/log.do_compile

Other Downloads


Live chat
Online