Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751803AbdIAA2N (ORCPT ); Thu, 31 Aug 2017 20:28:13 -0400 Received: from mail-qk0-f196.google.com ([209.85.220.196]:36278 "EHLO mail-qk0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751345AbdIAA2L (ORCPT ); Thu, 31 Aug 2017 20:28:11 -0400 X-Google-Smtp-Source: ADKCNb7JswhgViulAwi7LCr0ZlH2K/a3hcZ5U0LFYix7Uy/Y2qyREZbKNbsXIGc0+XdQG3KjFDhYxQ== Subject: Re: [PATCH 19/31] timer: Remove open-coded casts for .data and .function To: Kees Cook , Thomas Gleixner Cc: Samuel Ortiz , "James E.J. Bottomley" , "Martin K. Petersen" , linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org, netdev@vger.kernel.org, Paul Mackerras , Tyrel Datwyler , linuxppc-dev@lists.ozlabs.org References: <1504222183-61202-1-git-send-email-keescook@chromium.org> <1504222183-61202-20-git-send-email-keescook@chromium.org> From: Tyrel Datwyler Message-ID: <571a97d3-97ed-e86f-71c8-afdc5237d244@gmail.com> Date: Thu, 31 Aug 2017 17:28:07 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.0 MIME-Version: 1.0 In-Reply-To: <1504222183-61202-20-git-send-email-keescook@chromium.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1019 Lines: 24 On 08/31/2017 04:29 PM, Kees Cook wrote: > This standardizes the callback and data prototypes in several places that > perform casting, in an effort to remove more open-coded .data and > .function uses in favor of setup_timer(). > > Cc: Samuel Ortiz > Cc: Tyrel Datwyler > Cc: Benjamin Herrenschmidt > Cc: Paul Mackerras > Cc: Michael Ellerman > Cc: "James E.J. Bottomley" > Cc: "Martin K. Petersen" > Cc: netdev@vger.kernel.org > Cc: linux-scsi@vger.kernel.org > Cc: linuxppc-dev@lists.ozlabs.org > Signed-off-by: Kees Cook > --- > drivers/net/irda/bfin_sir.c | 5 +++-- > drivers/scsi/ibmvscsi/ibmvfc.c | 14 ++++++-------- > drivers/scsi/ibmvscsi/ibmvscsi.c | 8 ++++---- > 3 files changed, 13 insertions(+), 14 deletions(-) For ibmvfc & ibmvscsi portions: Acked-by: Tyrel Datwyler