Re: [cgroup:review-cgroup-reorg 7/13] kernel/cgroup/cgroup.c:4764:16: sparse: incompatible types in comparison expression (different address spaces)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

On Wed, Dec 21, 2016 at 06:19:38AM +0800, kbuild test robot wrote:
> Hi Tejun,
> 
> First bad commit (maybe != root cause):
> 
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup.git review-cgroup-reorg
> head:   3fd6a2eec6783bff033e553a3773c897a7f93109
> commit: 71f76f958ba552114971653cdb56e5d8ce0b9988 [7/13] cgroup: move cgroup files under kernel/cgroup/
> reproduce:
>         # apt-get install sparse
>         git checkout 71f76f958ba552114971653cdb56e5d8ce0b9988
>         make ARCH=x86_64 allmodconfig
>         make C=1 CF=-D__CHECK_ENDIAN__
> 
> 
> sparse warnings: (new ones prefixed by >>)
> 
>    include/linux/compiler.h:253:8: sparse: attribute 'no_sanitize_address': unknown attribute
> >> kernel/cgroup/cgroup.c:4764:16: sparse: incompatible types in comparison expression (different address spaces)
>    kernel/cgroup/cgroup.c:6248:16: sparse: incompatible types in comparison expression (different address spaces)
> 
> vim +4764 kernel/cgroup/cgroup.c

Ah, okay, I should add explicit cast to rcu address space.  This isn't
new but is being counted as new due to the code move.  I'll queue up a
patch to fix them up.

Thanks.

-- 
tejun
--
To unsubscribe from this list: send the line "unsubscribe cgroups" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]     [Monitors]

  Powered by Linux