Received: by 2002:a25:1104:0:0:0:0:0 with SMTP id 4csp858078ybr; Fri, 22 May 2020 23:12:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzpe9RoNmIHhv1O8EivYQK7kI9kBtG8HYd2KO5lnWTx5UGjw7/5ESq4ItSf2K8yRabQtbYt X-Received: by 2002:a50:eb0c:: with SMTP id y12mr5694185edp.165.1590214362736; Fri, 22 May 2020 23:12:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590214362; cv=none; d=google.com; s=arc-20160816; b=TkotAAyYCJgtCcZsgavLkGFHul6hqIWT1hlGv9Bise7y8vnJyxs/YTzhuEJ+a7aSWK wFeQQ0O+g8JUbyYifxPdostW3lLQckp3/nMGn6qwBJoPEFbjRz/XMx5F9jO0cK6/2day 7AIJO+mPq7zpJYGJ/0pU6lQ9Yxrj7qf6uF7XZYZF69lK9iqVa2+pTpPb1NGs0kQjJ3FL bmECfpQIz2y44RJ6+GezyamYzzacpCFSDIUEU8GODHwq62n7k/yx7nF1bk3fMaspc2zl B7NU8tZeCrPkszIvrJlOEHBkzS1JGDqG0P33TCoWvc5wSXlASMFC38Fbr+MkVFEgBgSa t3fw== 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:from:date :dkim-signature; bh=LrrYTVFkm9x5WAtV96l5QFTVfXK7jcQpg5sr70HsgwE=; b=qQinMECu2s+gx9ujW4v4HGzuM/VjLdnd+Dk6u+g9e8gbuUa+s9278QnOpVzk9RbpO1 tFWbyK3xPi+ry464Vim61ZrDfIw/JXk8BCy79W3o7FrgxflqR7EoXFdWgEaSrJHUfbKc f1jVPl+J+mn2VKiqpqGL3LHZGaL8zQwaCv4oK8zDoMxDg/jnxydSd2BJG3owuz5toK8O 8Lgf63QVZvNkX3l7/J/jCA9NDnZ+knVz6ebrmLWdtxOkvjd2YyWNOzUsbjLSjme7O6a7 zRqZUGtRC+o23Pz/u8ksQlmco23Cg/1ON3AB4MJKEG7aKVcZpGXVT4HIW1ENySI4Z4F7 ylvA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=LITQkm19; 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 g29si451437edf.582.2020.05.22.23.12.19; Fri, 22 May 2020 23:12:42 -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=@kernel.org header.s=default header.b=LITQkm19; 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 S2387621AbgEWGKh (ORCPT + 99 others); Sat, 23 May 2020 02:10:37 -0400 Received: from mail.kernel.org ([198.145.29.99]:40500 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387446AbgEWGKh (ORCPT ); Sat, 23 May 2020 02:10:37 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 377EF2071C; Sat, 23 May 2020 06:10:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1590214235; bh=0ftU1TTGfhFEpNW3NsbgYUbiFGGQHnZ3H3HOeSMeYD4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=LITQkm19MZP146obm5P6vkC9xld35coDBA1g8vKO6/E+elDtZwY3jC4Hmew8a+eAP oWyKx01bUx/e+iFq8Zmsx59bpMeroPipa4jiZoms+az3hHYq0YQQ88KQoUKyT6jNak UH+SIwYpV+e+o83w34Hi8YuKyAC4XOPoCHF4FBiM= Date: Sat, 23 May 2020 08:10:33 +0200 From: Greg KH 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: <20200523061033.GB3131938@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