[alsa-devel] [PATCH] sound: oss: waveartist: Convert timers to use timer_setup()
Takashi Iwai
tiwai at suse.de
Wed Oct 25 12:06:04 CEST 2017
On Tue, 24 Oct 2017 22:07:34 +0200,
Kees Cook wrote:
>
> On Tue, Oct 24, 2017 at 12:25 PM, Takashi Iwai <tiwai at suse.de> wrote:
> > On Tue, 24 Oct 2017 17:35:21 +0200,
> > Kees Cook wrote:
> >>
> >> In preparation for unconditionally passing the struct timer_list pointer to
> >> all timer callbacks, switch to using the new timer_setup() and from_timer()
> >> to pass the timer pointer explicitly.
> >>
> >> Cc: Jaroslav Kysela <perex at perex.cz>
> >> Cc: Takashi Iwai <tiwai at suse.com>
> >> Cc: David Howells <dhowells at redhat.com>
> >> Cc: alsa-devel at alsa-project.org
> >> Signed-off-by: Kees Cook <keescook at chromium.org>
> >
> > I'll skip this as sound/oss/* is already disabled in recent kernels in
> > kbuild, and we're going to remove the whole code soon later.
>
> At the end of these conversions, the old init_timer() and
> setup_timer() APIs will be removed, which would break anything still
> trying to use it (obviously). But if sound/oss/* is _already_
> unbuildable, then sure, this is fine by me to leave out. :)
I see a few still remaining users of setup_timer() in sound/*.
Do you already have conversion patches? They are all trivial, so I
can cook up in minutes, too.
thanks,
Takashi
More information about the Alsa-devel
mailing list