Closed joshStillerman closed 2 years ago
Nice contribution, thanks Josh. The driver now compiles on by FC34 desktop, which is great, but it fails on our standard Ubuntu 18, so if you don't mind I won't merge it now. What I have done is stash it here in branch v5.8_ubuntu20; Next, step, make a merge with master with #if LINUX_VERSION_CODE >= KERNEL_VERSION(x,y,z) ugliness so that the main code compiles both ways.
OK, there's quite a nice cross-version way to do this .. new update in 5 mins, should compile both ways.
Note: field names now have 'proc_' in the front Note Note: there is no owner field (do we need this?)
Peter - When trying to build this for 5.8 under Ubuntu 20 I ran into compiler complaints that the data structures you defined are not the same as the ones in the function prototypes. I think this fixes it.