Git Product home page Git Product logo

btier's Issues

fails to build on OL8 -Werror=implicit-function-declaration

[root@pve0 btier]# make
make -Wall -C /lib/modules/5.4.17-2036.104.5.el8uek.x86_64/build M=/root/btier/kernel/btier modules
make[1]: Entering directory '/usr/src/kernels/5.4.17-2036.104.5.el8uek.x86_64'
  CC [M]  /root/btier/kernel/btier/btier_sysfs.o
/root/btier/kernel/btier/btier_sysfs.c: In function ‘tier_attr_discard_store’:
/root/btier/kernel/btier/btier_sysfs.c:208:4: error: implicit declaration of function ‘queue_flag_clear_unlocked’; did you mean ‘queued_read_unlock’? [-Werror=implicit-function-declaration]
    queue_flag_clear_unlocked(QUEUE_FLAG_DISCARD,
    ^~~~~~~~~~~~~~~~~~~~~~~~~
    queued_read_unlock
/root/btier/kernel/btier/btier_sysfs.c:215:4: error: implicit declaration of function ‘queue_flag_set_unlocked’; did you mean ‘queued_write_unlock’? [-Werror=implicit-function-declaration]
    queue_flag_set_unlocked(QUEUE_FLAG_DISCARD,
    ^~~~~~~~~~~~~~~~~~~~~~~
    queued_write_unlock
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:266: /root/btier/kernel/btier/btier_sysfs.o] Error 1
make[1]: *** [Makefile:1768: /root/btier/kernel/btier] Error 2
make[1]: Leaving directory '/usr/src/kernels/5.4.17-2036.104.5.el8uek.x86_64'
make: *** [Makefile:6: default] Error 2

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.