Hi, while your patch will make things work, the right one was applied upstream about two years ago: https://github.com/evgeni/tp_smapi/commit/8f40fcf3d9a4bfb9c3dae1caa2107ea3a367a609 :)
An updated package is available for 16.10. Why Ubuntu is shipping a kernel which was clearly not tested with all the DKMS packages in the archive is unknown to me. ¯\_(ツ)_/¯ Greets -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1606447 Title: tp-smapi-dkms 0.41-1: tp-smapi kernel module failed to build To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/tp-smapi/+bug/1606447/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs