cyring / CoreFreq

CoreFreq : CPU monitoring and tuning software designed for 64-bit processors.
https://www.cyring.fr
GNU General Public License v2.0
1.97k stars 126 forks source link

Corefreq build failure on linux-cachyos-rc 6.2-rc1 #387

Closed gel-crabs closed 1 year ago

gel-crabs commented 1 year ago

Hey, since this is an RC kernel this isn't that important, but I get a build failure with it so hey.

Here's the make.log from dkms:

make.log

cyring commented 1 year ago

Now building the mainline 6.2-rc1 to test any change in the kernel class structure

struct class {
    char *(*devnode)(const struct device *dev, umode_t *mode);
};

... with my prototype

static char *CoreFreqK_DevNode(struct device *dev, umode_t *mode)

apparently the 6.2 change is argument type:

const struct device *
cyring commented 1 year ago

Done. Can you test the develop branch for the change ?

gel-crabs commented 1 year ago

It works!