From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Thu, 5 Oct 2017 19:06:30 +0200 (CEST) From: Sebastian Ott Subject: Re: [PATCH] s390: qdio: Convert timers to use timer_setup() In-Reply-To: References: <20171005005435.GA23979@beast> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Message-Id: Sender: linux-kernel-owner@vger.kernel.org List-Archive: List-Post: To: Kees Cook Cc: LKML , Peter Oberparleiter , Martin Schwidefsky , Heiko Carstens , "linux-s390@vger.kernel.org" , Thomas Gleixner List-ID: On Thu, 5 Oct 2017, Kees Cook wrote: > On Thu, Oct 5, 2017 at 2:13 AM, Sebastian Ott wrote: > > On Wed, 4 Oct 2017, 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. > > > >> -void qdio_outbound_timer(unsigned long data) > >> +void qdio_outbound_timer(struct timer_list *t) > >> { > >> - struct qdio_q *q = (struct qdio_q *)data; > >> + struct qdio_q *q = from_timer(q, t, o.out.timer); > > ^ > > this should be u.out.timer > > Oh thank you, good catch! > > > Will be applied to s390/linux.git > > Did you fix this up already or should I send a v2? Already fixed, so no V2 needed. Sebastian