From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752725AbdJGOM7 (ORCPT ); Sat, 7 Oct 2017 10:12:59 -0400 Received: from mga07.intel.com ([134.134.136.100]:38255 "EHLO mga07.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750929AbdJGOM6 (ORCPT ); Sat, 7 Oct 2017 10:12:58 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.42,489,1500966000"; d="scan'208";a="159967530" Date: Sat, 7 Oct 2017 09:12:55 -0500 From: Shiraz Saleem To: Kees Cook Cc: linux-kernel@vger.kernel.org, Faisal Latif , Doug Ledford , Sean Hefty , Hal Rosenstock , linux-rdma@vger.kernel.org, Thomas Gleixner Subject: Re: [PATCH] RDMA/i40iw: Convert timers to use timer_setup() Message-ID: <20171007141255.GA2536@ssaleem-MOBL4.amr.corp.intel.com> References: <20171005004541.GA22645@beast> <20171006231723.GA22568@ssaleem-MOBL4.amr.corp.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20171006231723.GA22568@ssaleem-MOBL4.amr.corp.intel.com> User-Agent: Mutt/1.7.2 (2016-11-26) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Oct 06, 2017 at 06:17:23PM -0500, Shiraz Saleem wrote: > On Wed, Oct 04, 2017 at 05:45:41PM -0700, 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: Faisal Latif > > Cc: Shiraz Saleem > > Cc: Doug Ledford > > Cc: Sean Hefty > > Cc: Hal Rosenstock > > Cc: linux-rdma@vger.kernel.org > > Cc: Thomas Gleixner > > Signed-off-by: Kees Cook > > --- > > This requires commit 686fef928bba ("timer: Prepare to change timer > > callback argument type") in v4.14-rc3, but should be otherwise > > stand-alone. > > --- > > Patch looks ok. Did some minimal testing and looks good. > > Acked-by: Shiraz Saleem > Hi Kees, Sorry, I didnt notice this earlier, but, you made the change only to the stats timer to use the new timer init APIs. Can you do the same for the cm_timer and terminate_timer too for i40iw; so that things are consistent? [ssaleem@linbuild6081 i40iw]$ grep "setup_timer" * i40iw_cm.c: setup_timer(&cm_core->tcp_timer, i40iw_cm_timer_tick, i40iw_utils.c: setup_timer(&iwqp->terminate_timer, i40iw_terminate_timeout, i40iw_utils.c: setup_timer(&devstat->stats_timer, i40iw_hw_stats_timeout, Shiraz