Git Product home page Git Product logo

Comments (3)

MrVan avatar MrVan commented on May 5, 2024

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.

MrVan avatar MrVan commented on May 5, 2024

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.

jbech-linaro avatar jbech-linaro commented on May 5, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.