OpenCloudOS-Kernel/arch/cris/arch-v32/mm
Niklas Cassel 506823f6e7 cris: intmem: fix pointer comparison compile warning
The code previously depended on list_head being defined
as the first item in struct intmem_allocation.

arch/cris/arch-v32/mm/intmem.c: In function ‘crisv32_intmem_free’:
arch/cris/arch-v32/mm/intmem.c:116:14: warning: comparison of distinct pointer types lacks a cast
    if ((prev != &intmem_allocations) &&
              ^
arch/cris/arch-v32/mm/intmem.c:123:14: warning: comparison of distinct pointer types lacks a cast
    if ((next != &intmem_allocations) &&
              ^

Signed-off-by: Niklas Cassel <nks@flawful.org>
Signed-off-by: Jesper Nilsson <jesper.nilsson@axis.com>
2016-09-22 16:11:18 +02:00
..
Makefile CRIS v32: Whitespace and formatting changes for kernel/ptrace.c 2008-02-08 11:06:24 +01:00
init.c CRIS: remove SMP code 2015-03-25 10:55:10 +01:00
intmem.c cris: intmem: fix pointer comparison compile warning 2016-09-22 16:11:18 +02:00
l2cache.c CRIS v32: Add L2 cache initialization code. 2008-02-08 11:06:23 +01:00
mmu.S CRIS: remove SMP code 2015-03-25 10:55:10 +01:00
tlb.c tree-wide: Assorted spelling fixes 2010-02-09 11:13:56 +01:00