From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932563AbdJYKHS (ORCPT ); Wed, 25 Oct 2017 06:07:18 -0400 Received: from mx2.suse.de ([195.135.220.15]:52100 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932584AbdJYKGG (ORCPT ); Wed, 25 Oct 2017 06:06:06 -0400 Date: Wed, 25 Oct 2017 12:06:04 +0200 Message-ID: From: Takashi Iwai To: Kees Cook Cc: Jaroslav Kysela , David Howells , moderated for non-subscribers , LKML Subject: Re: [PATCH] sound: oss: waveartist: Convert timers to use timer_setup() In-Reply-To: References: <20171024153521.GA112921@beast> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL/10.8 Emacs/25.3 (x86_64-suse-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 24 Oct 2017 22:07:34 +0200, Kees Cook wrote: > > On Tue, Oct 24, 2017 at 12:25 PM, Takashi Iwai 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 > >> Cc: Takashi Iwai > >> Cc: David Howells > >> Cc: alsa-devel@alsa-project.org > >> Signed-off-by: Kees Cook > > > > 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