Comment 4 for bug 1606447

Revision history for this message
Markus Harmsen (markus-harmsen) wrote : Re: tp-smapi-dkms 0.41-1: tp-smapi kernel module failed to build

I had exactly the same problem on my T460s running Ubuntu 16.04.1 LTS when installing the 4.7 mainline kernel.
After digging into the /usr/src/tp-smapi-0.41/thinkpad_ec.c file it seems that the module_param_named macro is used wrong: the given variable is an integer and not a boolean. After changing "bool" to "int", the kernel install (including DKMS for tp-smapi) seemed to work.
Currently I'm running the 4.7.0-040700-generic kernel without problems so far.