From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751835AbdJEJOS (ORCPT ); Thu, 5 Oct 2017 05:14:18 -0400 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:34010 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751536AbdJEJOP (ORCPT ); Thu, 5 Oct 2017 05:14:15 -0400 Date: Thu, 5 Oct 2017 11:13:53 +0200 (CEST) From: Sebastian Ott X-X-Sender: sebott@schleppi To: Kees Cook cc: linux-kernel@vger.kernel.org, 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: <20171005005435.GA23979@beast> 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: 17100509-0012-0000-0000-0000057E99DA X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 17100509-0013-0000-0000-000018F80B1C Message-Id: X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2017-10-05_05:,, 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-1710050131 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 Will be applied to s390/linux.git Thanks, Sebastian