Control: tag -1 - patch
Control: severity -1 grave

On Tue, 25 Apr 2017 09:28:01 +0200 Michal Suchanek <hramr...@gmail.com> wrote:
> Package: oss4-dkms
> Followup-For: Bug #829255
> 
> Hello,
> 
> the patch works for me with linux 4.9 and 4.10.
> 
> Please uppload fixed package to distributions that use the new kernels.

This patch is no longer sufficient, as oss4 is further broken by the
timer API change in Linux 4.15:

  CC [M]  /usr/src/modules/oss4/core/oss_core.o
/usr/src/modules/oss4/core/oss_core.c: In function 'oss_get_uid':
/usr/src/modules/oss4/core/oss_core.c:476:23: error: dereferencing pointer to 
incomplete type 'const struct cred'
   return current->cred->uid.val;
                       ^~
/usr/src/modules/oss4/core/oss_core.c: In function 'oss_timeout':
/usr/src/modules/oss4/core/oss_core.c:565:3: error: implicit declaration of 
function 'init_timer'; did you mean 'init_timers'? 
[-Werror=implicit-function-declaration]
   init_timer (&tmout->timer);
   ^~~~~~~~~~
   init_timers
/usr/src/modules/oss4/core/oss_core.c:567:15: error: 'struct timer_list' has no 
member named 'data'
   tmout->timer.data = id | (timeout_random & ~0xff);
               ^
/usr/src/modules/oss4/core/oss_core.c:568:25: error: assignment from 
incompatible pointer type [-Werror=incompatible-pointer-types]
   tmout->timer.function = oss_timer_callback;
                         ^

Ben.

-- 
Ben Hutchings
It is impossible to make anything foolproof
because fools are so ingenious.


Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to