Comments (3)
You may remove the last one.
dmabuf = dma_buf_export(shm, &_tee_shm_dma_buf_ops, shm->size_alloc,
- O_RDWR, 0);
+ O_RDWR);
from optee_linuxdriver.
The Travis CI build failed, will anyone fix this?
CC [M] /home/travis/build/OP-TEE/optee_linuxdriver/core/tee_mutex_wait.o
/home/travis/build/OP-TEE/optee_linuxdriver/core/tee_shm.c: In function ‘export_buf’:
/home/travis/build/OP-TEE/optee_linuxdriver/core/tee_shm.c:365:14: error: macro "dma_buf_export" passed 5 arguments, but takes just 4
O_RDWR, 0);
^
/home/travis/build/OP-TEE/optee_linuxdriver/core/tee_shm.c:364:11: error: ‘dma_buf_export’ undeclared (first use in this function)
dmabuf = dma_buf_export(shm, &_tee_shm_dma_buf_ops, shm->size_alloc,
^
/home/travis/build/OP-TEE/optee_linuxdriver/core/tee_shm.c:364:11: note: each undeclared identifier is reported only once for each function it appears in
make[2]: *** [/home/travis/build/OP-TEE/optee_linuxdriver/core/tee_shm.o] Error 1
make[2]: *** Waiting for unfinished jobs....
LD [M] /home/travis/build/OP-TEE/optee_linuxdriver/armtz/optee_armtz.o
make[1]: *** [/home/travis/build/OP-TEE/optee_linuxdriver/core] Error 2
make: *** [_module_/home/travis/build/OP-TEE/optee_linuxdriver] Error 2
from optee_linuxdriver.
Hi @seungeun2 and @MrVan we are aware of this issue and the fix is easy. If you are using older kernels then you don't have to make any changes. If you are using newer kernels (4.x something), then you need to make the changes that could be found in #21 request.
The reason for us not having merged this yet is because we're kind of stuck between different kernel versions for various setups. Ideally we would like to step up to us the latest kernel, but since we are dependent on where ARM-TF are, we cannot just stick to latest. Until this has been officially fixed. I recommend that you are using the fix in #21 if you are using later kernels.
Sorry for the (temporary) inconvenience caused by this.
// Joakim
from optee_linuxdriver.
Related Issues (15)
- Some problem on install mod.
- close
- Some Questions About Kernel Module HOT 1
- A80 OptimusBoard kernel 3.4.39 support HOT 15
- Some Questions About tee_kernel_api HOT 2
- Support for TEE_LOGIN_* methods
- BUG_ON() when re-using RPC buffer to tee-supplicant HOT 3
- Question about tee_session.c _update_client_tee_cmd HOT 2
- Adding module dependencies
- About TEEC_InitializeContext 64bit issue in Tee_kernel_api.c HOT 3
- opteearmtz00 device tries to ioremap RAM and Linux doesn't like it
- Potential Heap Buffer overflow in tee_supp_com.c HOT 3
- Potential invalid MEMREF translation, this could be used for bad.
- optee_linuxdriver porting HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from optee_linuxdriver.