Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp2600603rwb; Fri, 2 Dec 2022 12:06:29 -0800 (PST) X-Google-Smtp-Source: AA0mqf49RiLW3c/PzQuBIpsONq9y7gVg2b8MnUVOMC3Gj39at4i9WAraA9oPfcLO3reYdx0Qp+/3 X-Received: by 2002:a17:907:c285:b0:7bb:c3c4:7a3b with SMTP id tk5-20020a170907c28500b007bbc3c47a3bmr36095718ejc.380.1670011589529; Fri, 02 Dec 2022 12:06:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670011589; cv=none; d=google.com; s=arc-20160816; b=WSnNerjTtd8/c+V4GpFCtjQAqmP6rMZEIZ4QO9SK5zN8oE1uVel+j1BFwb/KfFkGx+ 0aX28muJaJej/SnDcYjh2a95h+1yF/OTwOCL+qn9eLri+0hqz72frqQpIhdhr9C6LL9f EREbM6pi9U8biTOX17IcU9sKXseDNnR7atDIeL4Wuj1MhhE1wH6JfYs5uVnQ0vAXQuj7 qKCMzCCYa2uaj4CgArRKph9CHCkhGUtMWYz79VJIVWiR6NnI/9TLegKq5bmgRf4qaI9v bW5K+aRTuOlwG7AtWfRRqClL0ZOvnbUX7WpvogOy2N5flHn3FIa5zHZJKBUHC7tlBRC5 b/HQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=yQPgIK6F9T4WHvdxC0U41QHePLgTMJgFSR29TVoNVJ4=; b=iv8J4DGlzzE/S5CLuzsdwd/fi2GHxP3wbyuUTCXL9jzt1gd1KLgesu/avWSUqsu+vK VImwwFVd2FzJ0oKz5m1LJXP/4qAJsGa1R2KwYdKmwOzbzRQeqv+ACLWXDRJW4LQA7p6g DN70XZEM3VYXLbXr02ZxAxmHQAkDj+9wCaJB8Hq6hViEf+FpFbfSPcGcIFsYgxHUH7Cq wt6Rs2nsihF+027doxvVqsQ3yWv4etZdwChy+uUmBOjw1VxRWGlTi+tcH/IHwNsemyPO d0zvucUq58RqhWaGe1Qpjtd37SubdYeaAH/BHCZKe/EIEEpfP0HNJFi6EGb7QsgnJ1/T 1gjQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=2uFxgVPm; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o9-20020a170906974900b007c0b22a5328si4795476ejy.385.2022.12.02.12.06.09; Fri, 02 Dec 2022 12:06:29 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=2uFxgVPm; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234452AbiLBS22 (ORCPT + 82 others); Fri, 2 Dec 2022 13:28:28 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33358 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234455AbiLBS2U (ORCPT ); Fri, 2 Dec 2022 13:28:20 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8E069E5AB8; Fri, 2 Dec 2022 10:28:15 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 3ED47B82233; Fri, 2 Dec 2022 18:28:14 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 63BAEC433C1; Fri, 2 Dec 2022 18:28:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1670005692; bh=assX6AclUULnaB5DHYKUr0RJBOXXDomk1Zc7tzDb7Vw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=2uFxgVPm6BtFBne/h+c87PP/DLRh0ig7G1PUCeOnDKuDFzOPdmM7VVAvZP+iQ1ZB4 2l66AR2tJbwO+sjhq/Q3AIDIlpdLZ/LZ5wWhNc2Sa/YvBwzVf4863mwlCIlbZMVYO1 xv8lvvxbZ8T3/XaXCzNrwSL64mviaR1DWUXaoKhQ= Date: Fri, 2 Dec 2022 19:28:09 +0100 From: Greg Kroah-Hartman To: Christoph Hellwig Cc: axboe@kernel.dk, linux-kernel@vger.kernel.org, linux-block@vger.kernel.org Subject: Re: [PATCH] blkdev: make struct block_device_operations.devnode() take a const * Message-ID: References: <20221109144843.679668-1-gregkh@linuxfoundation.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Nov 15, 2022 at 01:13:07AM -0800, Christoph Hellwig wrote: > On Wed, Nov 09, 2022 at 03:48:43PM +0100, Greg Kroah-Hartman wrote: > > The devnode() callback in struct block_device_operations should not be > > modifying the device that is passed into it, so mark it as a const * and > > propagate the function signature changes out into the one subsystem that > > actually uses this callback. > > Yes. In fact it really shouldn't exist at all. I wonder if we can > do another attempt at dropping pktcdvd? > Patch removing it now sent.