Received: by 2002:a25:1104:0:0:0:0:0 with SMTP id 4csp860670ybr; Fri, 22 May 2020 23:18:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxKd+JM9oItNF7lZzl0/Ad6gGEbLVcto9felaNS+78XswMogzReStaH1dHKF6zGqNFQG+Q9 X-Received: by 2002:a17:906:1ccd:: with SMTP id i13mr11635525ejh.148.1590214732354; Fri, 22 May 2020 23:18:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590214732; cv=none; d=google.com; s=arc-20160816; b=k1Hq3QPd3LMWxts0oIS59dPGZn71VrFlr52Yq+YtNzkkNeT2hOnjlcSHs+aYcKfBMt 7ZAO/sMZy9cEdXKbobTf+y6nLIGQxR3/8Amm9RpIDdymY60Z2zSzgw/2GxFnMLNN1p6J 589fZ07OYbZEbgKzHtLxltkoleSIsBYCQ07agDj2/OTO5HNpIZK8EIzLLR6WtNfaKoBf SKf/wD4f6zxO0TedJyCz1p2pfiCyTTUUhvt1YqYvoDrsQuggz/DENY81AwZ9PJ8QLVWK 1FtV1CMGbK+mokzYzZeTSR8yqNIt1Fj4uMvgICXnVK9Vra445YlAZpUy+qsH/ejPNONe zyMQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:date:from :dkim-signature:dkim-signature; bh=LrrYTVFkm9x5WAtV96l5QFTVfXK7jcQpg5sr70HsgwE=; b=W53iCmpYbxnTURHKy7yFKs2Bpua7N24yc+UYDDwZk7sJNHSajVfWi8hP9OERkT9jeK GZfHCT6sJOWoD5Z9Mg5HZpmhjg5NY6JL9S6s4iHa2lCxDrjzTIDt6TNQLB/AmrYig5o3 kSat36WBaonHUeWDjG6Sh5YA77ssGA16Xp5fDUYkIDKml53/JeZrP5YWqNKVR5whQc0y /LJUR//Oqeyn1QLe1P5RM+4hyWPpL9QTFplYvMPVJHTMkcwZqXXVVv6h5B4HjJS4ZFA5 jwp5d925UzgfHt7VAMr4QkzFFuSx6bnZyEDdPwoIQIs5JUEck3iFblOZCd41zbUGWcr6 SVfQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kroah.com header.s=fm3 header.b=kAPKJBbB; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=o3LniShn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d14si5473477edu.369.2020.05.22.23.18.28; Fri, 22 May 2020 23:18:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kroah.com header.s=fm3 header.b=kAPKJBbB; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=o3LniShn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387629AbgEWGQb (ORCPT + 99 others); Sat, 23 May 2020 02:16:31 -0400 Received: from wnew4-smtp.messagingengine.com ([64.147.123.18]:57127 "EHLO wnew4-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387446AbgEWGQb (ORCPT ); Sat, 23 May 2020 02:16:31 -0400 X-Greylist: delayed 365 seconds by postgrey-1.27 at vger.kernel.org; Sat, 23 May 2020 02:16:31 EDT Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailnew.west.internal (Postfix) with ESMTP id B27D18CB; Sat, 23 May 2020 02:10:24 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Sat, 23 May 2020 02:10:25 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kroah.com; h= from:date:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm3; bh=LrrYTVFkm9x5WAtV96l5QFTVfXK 7jcQpg5sr70HsgwE=; b=kAPKJBbB3e4aBtF2OcbBUICIud8yPLH22RFoStnp4e8 yDZXaIlUHk0hzMRsWVU1tHFiy4j0L0oLLRjDEWOTmhX/S/kyk3zo4JPIGMqvBvu/ pVHsRR8shbwejVVYYURo0N2WYAO0gpTmU1ZNWJ2HUmC1oVxu4P8anVPVK5dPa3D3 VCtDB+/zUbFUwYk4BMaqAjLO9JlrzQtA/2FPzETfMh6ca94xQ5B/gQDe0te1qzXw /DdP9SgJLR7qZbBpupaF2rfmz2uUpswbVzE6RAxliD1hVZEC6Cxme/m7h+bltlXo sgi1B50yNPN4u/lqaF3ofGVVEz6iGA+UFhvCDk9u8bg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=LrrYTV Fkm9x5WAtV96l5QFTVfXK7jcQpg5sr70HsgwE=; b=o3LniShnRlpl+p+BDDClSJ gFgFe65lkZbszodtwx+k48xiTCURwK42S+Fty6srSnJabd4skcMtn27IN77BBB4t 0m6wvn6WSvufHru66KSihYcVKdZmLEv188Rj/+jHrpJRk7vef08ZiRmu6xJzZeUb brmvvzvNucIVMlzSlDVdJOwBLrzodmiQwcIIvPxG2miwdgmgYaS1xK3qbGXy0b/B 0gwn3JDRJH9RlFMvMAS5WoQy9X9IX7E6Zbaj4Oc+/Nc8SxPoasIiShar3D91kh21 l8/i2gHtlYm6pgY2gXS1A6QnKUZM07e1CXyuBXaMoKSP1JNtmNR25lY6c3PjWSTg == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedruddugedguddttdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefhfffvuffkfhggtggujgesthdtredttddtvdenucfhrhhomhepghhrvghg sehkrhhorghhrdgtohhmnecuggftrfgrthhtvghrnheptdehveeuieekuddvjefhlefgke dugeeffeffjeetieefgfduveehfedvheeludfhnecukfhppeekfedrkeeirdekledruddt jeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehgrh gvgheskhhrohgrhhdrtghomh X-ME-Proxy: Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) by mail.messagingengine.com (Postfix) with ESMTPA id CFB1530664D9; Sat, 23 May 2020 02:10:22 -0400 (EDT) From: greg@kroah.com Date: Sat, 23 May 2020 08:10:18 +0200 To: Oscar Carter Cc: stable , Takashi Sakamoto , Kees Cook , Stefan Richter , Mauro Carvalho Chehab , Clemens Ladisch , Jaroslav Kysela , Takashi Iwai , kernel-hardening@lists.openwall.com, linux1394-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org, linux-media@vger.kernel.org, alsa-devel@alsa-project.org, "Lev R . Oshvang ." Subject: Re: [PATCH v2] firewire: Remove function callback casts Message-ID: <20200523061018.GA3131938@kroah.com> References: <20200519173425.4724-1-oscar.carter@gmx.com> <20200520061624.GA25690@workstation> <20200522174308.GB3059@ubuntu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200522174308.GB3059@ubuntu> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, May 22, 2020 at 07:43:08PM +0200, Oscar Carter wrote: > Hi, > > On Wed, May 20, 2020 at 03:16:24PM +0900, Takashi Sakamoto wrote: > > Hi, > > > > I'm an author of ALSA firewire stack and thanks for the patch. I agree with > > your intention to remove the cast of function callback toward CFI build. > > > > Practically, the isochronous context with FW_ISO_CONTEXT_RECEIVE_MULTICHANNEL > > is never used by in-kernel drivers. Here, I propose to leave current > > kernel API (fw_iso_context_create() with fw_iso_callback_t) as is. If it's not used by anyone, why is it still there? Can't we just delete it? thanks, greg k-h