From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752729AbdKHQQh (ORCPT ); Wed, 8 Nov 2017 11:16:37 -0500 Received: from mail-lf0-f46.google.com ([209.85.215.46]:46181 "EHLO mail-lf0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751658AbdKHQQe (ORCPT ); Wed, 8 Nov 2017 11:16:34 -0500 X-Google-Smtp-Source: ABhQp+TofG0GGz3hUlPVnm3q2firZUH7P5e0nOzm7TjSeZH9X2tprIp0lEr+U4+rjiYE8kmrTycjG8thG2MlPD4kiCs= From: Shivasharan Srikanteshwara References: <20171025100720.GA145069@beast> <92b3d37d10162a899d5a829351fd1512@mail.gmail.com> In-Reply-To: <92b3d37d10162a899d5a829351fd1512@mail.gmail.com> MIME-Version: 1.0 X-Mailer: Microsoft Outlook 15.0 Thread-Index: AQHcxFmqpfjAQ32GPGufbHT2Qq/rAwIugd6douXeGeA= Date: Wed, 8 Nov 2017 21:46:31 +0530 Message-ID: Subject: RE: [PATCH] scsi: megaraid: Convert timers to use timer_setup() To: Sumit Saxena , Kees Cook , "Martin K. Petersen" Cc: Kashyap Desai , "James E.J. Bottomley" , "PDL,MEGARAIDLINUX" , linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > -----Original Message----- > From: Sumit Saxena [mailto:sumit.saxena@broadcom.com] > Sent: Wednesday, November 1, 2017 12:18 AM > To: Kees Cook; Martin K. Petersen > Cc: Kashyap Desai; Shivasharan Srikanteshwara; James E.J. Bottomley; > PDL,MEGARAIDLINUX; linux-scsi@vger.kernel.org; linux- > kernel@vger.kernel.org > Subject: RE: [PATCH] scsi: megaraid: Convert timers to use timer_setup() > > -----Original Message----- > From: Kees Cook [mailto:keescook@chromium.org] > Sent: Wednesday, October 25, 2017 3:37 PM > To: Martin K. Petersen > Cc: Kashyap Desai; Sumit Saxena; Shivasharan S; James E.J. Bottomley; > megaraidlinux.pdl@broadcom.com; linux-scsi@vger.kernel.org; linux- > kernel@vger.kernel.org > Subject: [PATCH] scsi: megaraid: Convert timers to use timer_setup() > > 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. Also consolidates the > timer > setup functions arguments, which are all identical, and corrects on-stack > timer > usage. > Ran basic sanity test for megaraid_sas part, and the changes look good. Acked-by: Shivasharan S Tested-by: Shivasharan S Hannes, Can you please take a look at the megaraid_mbox and megaraid_mm changes? Thanks, Shivasharan