Fix Compile Error in C Code For Kernel Module
Budget: $30 – $250 USD
I’m in need of a freelancer to fix a compile error in a C code for a kernel module. The approximate size of the project is under 10 lines of code. No level of optimisation is desired, and I need a the job done within few hours. Experience with kernel modules and C programming is essential.
C code is provided for a PCI Hardware card that creates the kernal object. This code compiles on previous version of Linux kernel. However as of Ubuntu 22.04 Jammy (Kernel 5.19.0-35-generic) we started getting the following error:
error: ‘struct kobj_type’ has no member named ‘default_attrs’
From what I read, the kernel object has depreciated the use of default_attrs and this needs to be changed.
link to code base can be shared.
C code is provided for a PCI Hardware card that creates the kernal object. This code compiles on previous version of Linux kernel. However as of Ubuntu 22.04 Jammy (Kernel 5.19.0-35-generic) we started getting the following error:
error: ‘struct kobj_type’ has no member named ‘default_attrs’
From what I read, the kernel object has depreciated the use of default_attrs and this needs to be changed.
link to code base can be shared.