Closed mepreston closed 11 months ago
This repository will no longer get any updates as the code here is now part of tuxedo-drivers https://gitlab.com/tuxedocomputers/development/packages/tuxedo-drivers.
Please open a merge request or issue in the new project on GitLab if you contribution or bug report still applies.
~~~~~~/home/xxxx.xxxx/github/tuxedo-keyboard/./src/tuxedo_io/tuxedo_io.c:832:47: note: in expansion of macro ‘THIS_MODULE’ 832 | tuxedo_io_device_class = class_create(THIS_MODULE, "tuxedo_io"); | ^
~~In file included from ./include/linux/device.h:31, from /home/xxxx.xxxx/github/tuxedo-keyboard/./src/tuxedo_io/tuxedo_io.c:23: ./include/linux/device/class.h:230:54: note: expected ‘const char ’ but argument is of type ‘struct module ’ 230 | struct class __must_check class_create(const char name); |~~^~ /home/xxxx.xxxx/github/tuxedo-keyboard/./src/tuxedo_io/tuxedo_io.c:832:34: error: too many arguments to function ‘class_create’ 832 | tuxedo_io_device_class = class_create(THIS_MODULE, "tuxedo_io"); | ^~~~ ./include/linux/device/class.h:230:29: note: declared here 230 | struct class __must_check class_create(const char name); | ^~~~ /home/xxxx.xxxx/github/tuxedo-keyboard/./src/tuxedo_io/tuxedo_io.c: At top level: /home/xxxx.xxxx/github/tuxedo-keyboard/./src/tuxedo_io/tuxedo_io.c:55:13: warning: ‘dmi_string_in’ defined but not used [-Wunused-function] 55 | static bool dmi_string_in(enum dmi_field f, const char *str) | ^~~~~ cc1: some warnings being treated as errors make[3]: [scripts/Makefile.build:243: /home/xxxx.xxxx/github/tuxedo-keyboard/./src/tuxedo_io/tuxedo_io.o] Error 1 make[2]: [/usr/src/kernels/6.5.5-200.fc38.x86_64/Makefile:2046: /home/xxxx.xxxx/github/tuxedo-keyboard] Error 2 make[1]: [Makefile:246: __sub-make] Error 2 make[1]: Leaving directory '/usr/src/kernels/6.5.5-200.fc38.x86_64' make: [Makefile:29: all] Error 2