mripard / sunxi-mali

GNU General Public License v2.0
100 stars 54 forks source link

mali: support building against 5.0 #62

Closed rsglobal closed 5 years ago

rsglobal commented 5 years ago

Since kernel v5.0 upstream commit 96d4f267e40f ("Remove 'type' argument from access_ok() function") access_ok() funcion takes only 2 parameters

Create wrapper for access_ok() that drops first parameter in case of linux v5.0 and later, and preserves it for earlier version

Replace all access_ok() calls with _access_ok() wrapper

rsglobal commented 5 years ago

For some reason .travis.yml has empty matrix

rsglobal commented 5 years ago

@mripard ping...