scarburato / hid-tminit

Linux driver to properly initialize some Thrustmaster Wheels
GNU General Public License v2.0
30 stars 9 forks source link

Using kfree_sensitive over kzfree for kernels >= 5.9-rc1 #4

Closed Peterwmoss closed 3 years ago

Peterwmoss commented 3 years ago

This modification is needed for the newer kernels as per https://github.com/torvalds/linux/commit/453431a54934d917153c65211b2dabf45562ca88

What I have done is tested on kernel version 5.10.5-arch1-1 but should work for all other kernels from and above 5.9.1

scarburato commented 3 years ago

Thanks for your work!