google / gasket-driver

GNU General Public License v2.0
47 stars 29 forks source link

Amend use of `class_create()` for kernels >= 6.4 #13

Closed chrBrd closed 11 months ago

chrBrd commented 1 year ago

The function signature for class_create() was changed in kernels >= 6.4.x to only accept a single argument (see kernel commit #dcfbb67).

This change will conditionally modify how class_create() is called depending on the kernel version.

Fixes #12

google-cla[bot] commented 1 year ago

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.