Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- hardware/qcom/display/libgralloc/pmemalloc.cpp: In function 'int getPmemTotalSize(int, size_t*)':
- hardware/qcom/display/libgralloc/pmemalloc.cpp:50:32: error: expected primary-expression before 'unsigned'
- if (ioctl(fd, PMEM_GET_TOTAL_SIZE, ®ion)) {
- ^
- hardware/qcom/display/libgralloc/pmemalloc.cpp:50:44: error: '_IOW' was not declared in this scope
- if (ioctl(fd, PMEM_GET_TOTAL_SIZE, ®ion)) {
- ^
- hardware/qcom/display/libgralloc/pmemalloc.cpp: In function 'int connectPmem(int, int)':
- hardware/qcom/display/libgralloc/pmemalloc.cpp:67:32: error: expected primary-expression before 'unsigned'
- if (ioctl(fd, PMEM_CONNECT, master_fd))
- ^
- hardware/qcom/display/libgralloc/pmemalloc.cpp:67:44: error: '_IOW' was not declared in this scope
- if (ioctl(fd, PMEM_CONNECT, master_fd))
- ^
- hardware/qcom/display/libgralloc/pmemalloc.cpp: In function 'int mapSubRegion(int, int, size_t)':
- hardware/qcom/display/libgralloc/pmemalloc.cpp:73:45: warning: narrowing conversion of 'offset' from 'int' to 'long unsigned int' inside { } is ill-formed in C++11 [-Wnarrowing]
- struct pmem_region sub = { offset, size };
- ^
- hardware/qcom/display/libgralloc/pmemalloc.cpp:74:32: error: expected primary-expression before 'unsigned'
- if (ioctl(fd, PMEM_MAP, &sub))
- ^
- hardware/qcom/display/libgralloc/pmemalloc.cpp:74:44: error: '_IOW' was not declared in this scope
- if (ioctl(fd, PMEM_MAP, &sub))
- ^
- hardware/qcom/display/libgralloc/pmemalloc.cpp: In function 'int unmapSubRegion(int, int, size_t)':
- hardware/qcom/display/libgralloc/pmemalloc.cpp:80:45: warning: narrowing conversion of 'offset' from 'int' to 'long unsigned int' inside { } is ill-formed in C++11 [-Wnarrowing]
- struct pmem_region sub = { offset, size };
- ^
- hardware/qcom/display/libgralloc/pmemalloc.cpp:81:32: error: expected primary-expression before 'unsigned'
- if (ioctl(fd, PMEM_UNMAP, &sub))
- ^
- hardware/qcom/display/libgralloc/pmemalloc.cpp:81:44: error: '_IOW' was not declared in this scope
- if (ioctl(fd, PMEM_UNMAP, &sub))
- ^
- hardware/qcom/display/libgralloc/pmemalloc.cpp: In function 'int alignPmem(int, size_t, int)':
- hardware/qcom/display/libgralloc/pmemalloc.cpp:90:33: error: expected primary-expression before 'unsigned'
- if (ioctl(fd, PMEM_ALLOCATE_ALIGNED, &allocation))
- ^
- hardware/qcom/display/libgralloc/pmemalloc.cpp:90:45: error: '_IOW' was not declared in this scope
- if (ioctl(fd, PMEM_ALLOCATE_ALIGNED, &allocation))
- ^
- hardware/qcom/display/libgralloc/pmemalloc.cpp: In function 'int cleanPmem(void*, size_t, int, int)':
- hardware/qcom/display/libgralloc/pmemalloc.cpp:100:33: error: expected primary-expression before 'unsigned'
- if (ioctl(fd, PMEM_CLEAN_INV_CACHES, &pmem_addr))
- ^
- hardware/qcom/display/libgralloc/pmemalloc.cpp:100:45: error: '_IOW' was not declared in this scope
- if (ioctl(fd, PMEM_CLEAN_INV_CACHES, &pmem_addr))
- ^
- hardware/qcom/display/libgralloc/pmemalloc.cpp: At global scope:
- hardware/qcom/display/libgralloc/pmemalloc.cpp:230:5: warning: unused parameter 'base' [-Wunused-parameter]
- int PmemUserspaceAlloc::free_buffer(void* base, size_t size, int offset, int fd)
- ^
- hardware/qcom/display/libgralloc/pmemalloc.cpp:354:5: warning: unused parameter 'offset' [-Wunused-parameter]
- int PmemKernelAlloc::map_buffer(void **pBase, size_t size, int offset, int fd)
- ^
- hardware/qcom/display/libgralloc/pmemalloc.cpp:372:5: warning: unused parameter 'offset' [-Wunused-parameter]
- int PmemKernelAlloc::unmap_buffer(void *base, size_t size, int offset)
- ^
- make: *** [/home/martin/SchutzhundAOKP/out/target/product/ace/obj/SHARED_LIBRARIES/libmemalloc_intermediates/pmemalloc.o] Error 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement