diff options
author | Niklas Cassel <nks@flawful.org> | 2016-09-22 16:08:38 +0200 |
---|---|---|
committer | Jesper Nilsson <jespern@axis.com> | 2016-09-22 16:11:18 +0200 |
commit | 506823f6e7a349ba3f26f03f162733af64c300cc (patch) | |
tree | d9774b4190b87811c9496f23591892959d518298 /arch/cris/arch-v32/kernel/fasttimer.c | |
parent | 9d74179a226c83dd610c487a27ac6082b768b074 (diff) |
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>
Diffstat (limited to 'arch/cris/arch-v32/kernel/fasttimer.c')
0 files changed, 0 insertions, 0 deletions