Public bug reported:

[Impact]

oss4-dkms fails to build on the latest hirsute 5.11 kernel with the
following error:

/var/lib/dkms/oss4/4.2-build2010/build/core/oss_core.c:90:10: error: implicit 
declaration of function ‘get_seconds’ [-Werror=implicit-function-declaration]
   90 |   return get_seconds ();
      |          ^~~~~~~~~~~

This happens because of commit aba428a0c612bb259891307da12e22efd0fab14c
("timekeeping: Remove unused get_seconds()").

[Test case]

Install oss4-dkms.

[Fix]

Re-introduce in oss4 the get_seconds() interface and use the standard
interface ktime_get_real_seconds().

[Regression potential]

The added get_seconds() interface is going to be used only with kernels
>= 5.11, so all the previously supported kernels won't be affected by
this change. Potential regressions are possible only in kernels >= 5.11.

** Affects: oss4 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1916872

Title:
  oss4-dkms: build failure with linux 5.11

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/oss4/+bug/1916872/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to