android_system_core/libpixelflinger/codeflinger
Yi Kong e9ce7aa8ab Ignore null-pointer-arithmetic warning from dlmalloc include
system/core/libpixelflinger/codeflinger/../../../../external/dlmalloc/malloc.c:4286:61: error: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Werror,-Wnull-pointer-arithmetic]
        if (!is_inuse(p) && (char*)p + psize >= base + size - TOP_FOOT_SIZE) {
                                                            ^~~~~~~~~~~~~
  system/core/libpixelflinger/codeflinger/../../../../external/dlmalloc/malloc.c:2731:17: note: expanded from macro 'TOP_FOOT_SIZE'
    (align_offset(chunk2mem(0))+pad_request(sizeof(struct malloc_segment))+MIN_CHUNK_SIZE)
     ~~~~~~~~~~~~~^~~~~~~~~~~~~
  system/core/libpixelflinger/codeflinger/../../../../external/dlmalloc/malloc.c:2218:55: note: expanded from macro 'chunk2mem'
  #define chunk2mem(p)        ((void*)((char*)(p)       + TWO_SIZE_T_SIZES))
                                                      ^
  system/core/libpixelflinger/codeflinger/../../../../external/dlmalloc/malloc.c:1622:14: note: expanded from macro 'align_offset'
   ((((size_t)(A) & CHUNK_ALIGN_MASK) == 0)? 0 :\

Test: m checkbuild
Bug: 72331524
Change-Id: Iefc3b4ae6b36ba9f6cb908c03301cbe429ade320
2018-12-11 23:08:32 -08:00
..
tinyutils
ARMAssembler.cpp
ARMAssembler.h
ARMAssemblerInterface.cpp
ARMAssemblerInterface.h
ARMAssemblerProxy.cpp
ARMAssemblerProxy.h
Arm64Assembler.cpp
Arm64Assembler.h
Arm64Disassembler.cpp
Arm64Disassembler.h
CodeCache.cpp
CodeCache.h
GGLAssembler.cpp
GGLAssembler.h
MIPS64Assembler.cpp
MIPS64Assembler.h
MIPSAssembler.cpp
MIPSAssembler.h
armreg.h
blending.cpp
disassem.c
disassem.h
load_store.cpp
mips64_disassem.c
mips64_disassem.h
mips_disassem.c
mips_disassem.h
mips_opcode.h
texturing.cpp