thopiekar / rcraid-dkms

AMD RAIDXpert driver as DKMS package
Other
126 stars 27 forks source link

Fix build issues with kernel 5.0+ #5

Closed Herrie82 closed 5 years ago

Herrie82 commented 5 years ago

This will fix the various issues with .use_clustering, do_gettimeofday and access_ok on 5.0+ kernels.

Signed-off-by: Herman van Hazendonk github.com@herrie.org

Herrie82 commented 5 years ago

Tested on 5.0 and 4.20

thopiekar commented 5 years ago

Great! Hope @martinkarlweber gets notified about that, so he doesn't need to find a solution for this again! :wink:

Herrie82 commented 5 years ago

@thopiekar Updated as requested and added links to upstream commits where the code has been changed.

thopiekar commented 5 years ago

Beautiful! Congrats for your first patches on the rcraid driver :tada:

Herrie82 commented 5 years ago

@thopiekar I hope we don't need fixes with every minor kernel release, but we'll see. I'm not that good in C(++) but can copy, paste & modify ;)

thopiekar commented 5 years ago

Hope the same. But can imagine that something will change again, because there are API breaks between major releases and then when things are wrong in the software architecture they get changed again. What you did is basically what I did before with Intel EMGD for Intel Poulsbo graphics. I also only read the mailing lists about the API changes in DRM and made patches according to that.

Anyway, many thanks again! 😊

wesleysidney commented 5 years ago

anyone here in 5.2? cant build the module anymore...