From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751536AbdJERGk (ORCPT ); Thu, 5 Oct 2017 13:06:40 -0400 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:34054 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751216AbdJERGj (ORCPT ); Thu, 5 Oct 2017 13:06:39 -0400 Date: Thu, 5 Oct 2017 19:06:30 +0200 (CEST) From: Sebastian Ott X-X-Sender: sebott@schleppi To: Kees Cook cc: LKML , Peter Oberparleiter , Martin Schwidefsky , Heiko Carstens , "linux-s390@vger.kernel.org" , Thomas Gleixner Subject: Re: [PATCH] s390: qdio: Convert timers to use timer_setup() In-Reply-To: References: <20171005005435.GA23979@beast> User-Agent: Alpine 2.21 (LFD 202 2017-01-01) Organization: =?ISO-8859-15?Q?=22IBM_Deutschland_Research_&_Development_GmbH?= =?ISO-8859-15?Q?_=2F_Vorsitzende_des_Aufsichtsrats=3A_Martina?= =?ISO-8859-15?Q?_Koederitz_Gesch=E4ftsf=FChrung=3A_Dirk_Wittkopp?= =?ISO-8859-15?Q?_Sitz_der_Gesellschaft=3A_B=F6blingen_=2F_Reg?= =?ISO-8859-15?Q?istergericht=3A_Amtsgericht_Stuttgart=2C_HRB_2432?= =?ISO-8859-15?Q?94=22?= MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-TM-AS-GCONF: 00 x-cbid: 17100517-0020-0000-0000-000003BDAF6F X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 17100517-0021-0000-0000-0000425005F9 Message-Id: X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2017-10-05_08:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 suspectscore=3 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1707230000 definitions=main-1710050236 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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