From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751866AbdJFOqr (ORCPT ); Fri, 6 Oct 2017 10:46:47 -0400 Received: from mail-it0-f48.google.com ([209.85.214.48]:53233 "EHLO mail-it0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751484AbdJFOqp (ORCPT ); Fri, 6 Oct 2017 10:46:45 -0400 X-Google-Smtp-Source: AOwi7QDcZ+NAxwgLWMeCIbOO7o3AvZn5YNLTWpD8WEChwIDY6hsiyGyl9HTrC810Zgr53ac69dnDnQ== From: Jens Axboe Subject: Re: [PATCH] block/floppy: Convert callback to pass timer_list To: Kees Cook , linux-kernel@vger.kernel.org Cc: Jiri Kosina , Ming Lei , Al Viro , Geliang Tang , Thomas Gleixner References: <20171005004929.GA23067@beast> Message-ID: <1d1e7a44-68d6-1b3e-56d5-33ea2e8dfa54@kernel.dk> Date: Fri, 6 Oct 2017 08:46:37 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <20171005004929.GA23067@beast> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/04/2017 06:49 PM, Kees Cook wrote: > In preparation for unconditionally passing the struct timer_list pointer to > all timer callbacks, switch to passing in the timer pointer explicitly. > Calculate the drive from the offset of the timer in the timer list. Applied for 4.15. -- Jens Axboe