Received: by 2002:a05:7412:d008:b0:f9:6acb:47ec with SMTP id bd8csp270228rdb; Tue, 19 Dec 2023 16:48:37 -0800 (PST) X-Google-Smtp-Source: AGHT+IEJcOqmK/w4ogLIXG8kSyM7hAxoDezl5oAejSd8twZ5C96N15JZfGGsIHKt8LvO47Sc2VEP X-Received: by 2002:a05:622a:d2:b0:425:4043:41d1 with SMTP id p18-20020a05622a00d200b00425404341d1mr27282657qtw.125.1703033317686; Tue, 19 Dec 2023 16:48:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703033317; cv=none; d=google.com; s=arc-20160816; b=seBi+X4EYRgDgFebVsGpwe6bg4W5Hp+3lb9nMra/9rT15r/fdu/QYpsH0V/DJgY5cs N7RC7ld6kw2hWKZqhMAtVgCo+UHYJ7iQQB+vhlxsZAUm5ov+w6TEOUNWUEAc2zJAkUD1 wLL8Wf7WCdxq5V6dCBtpDd+m81aBR0Oj07mc2BDYe1WvFDSUndkspfKhnJRWvP5qL4HG wwJbIjjD5JpYTedcDEMzyq3PyjQ94ZvOTfNBTdHKFIgZBQAUK4xya815lhx4p+CCvVR/ yWQ4P3ydOli1JIqshjEKtsm+l1V15LpCKk4LkFZmd226QYZobdDcE85OQayrKMKqxnE+ 3qMQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:mail-followup-to :message-id:subject:cc:to:from:date:feedback-id:dkim-signature :dkim-signature; bh=ZZWeUI8Z6NJ3zfoU+DP0OJNgoKe55BRX9UMdfeIctTw=; fh=v9rI5Y5XLbgp5q6WL00vr5GeRsmOmL0300gGshdfof4=; b=A9IuwC1JkoGxyooIb9JHOS9sjmfCpwRrkRCzrkcFF2SUeIDGjNoCduipfSq/GXGH0e GtDc0nDzi+xT3An+oC265S/QxM8M6P3DU+BuL/aS5RPkMflRHYIjDI1EwP8lDkqUBBao Mnhl5BItHs2Nxe/4dPdXCr4GCtxt+0LSGE3bhGN0JAKnByYBVP3DrlAT5Ul3yoOuGKmG Lg7oJ2Ju0QCG3SPczSCNS++ypqCAs/Gc35yPcNEv9deYR/3aO4H+YOc/cbnI7RFUo8KR J1nY0u2imXg/vJILBkK142CMte8Gw2WdVgdd2QaZpGjZ5mGGJINMqPPuPwsPE8tv9vaY zeqQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sakamocchi.jp header.s=fm2 header.b=D7ofODUM; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=uewWNLnu; spf=pass (google.com: domain of linux-kernel+bounces-6207-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-6207-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=sakamocchi.jp Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id z19-20020ac87f93000000b004236fb00c24si28814620qtj.674.2023.12.19.16.48.37 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Dec 2023 16:48:37 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-6207-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@sakamocchi.jp header.s=fm2 header.b=D7ofODUM; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=uewWNLnu; spf=pass (google.com: domain of linux-kernel+bounces-6207-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-6207-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=sakamocchi.jp Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 5EB931C2449A for ; Wed, 20 Dec 2023 00:48:37 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C8C6C5CB9; Wed, 20 Dec 2023 00:48:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=sakamocchi.jp header.i=@sakamocchi.jp header.b="D7ofODUM"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="uewWNLnu" X-Original-To: linux-kernel@vger.kernel.org Received: from wout3-smtp.messagingengine.com (wout3-smtp.messagingengine.com [64.147.123.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C55A41C26 for ; Wed, 20 Dec 2023 00:48:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=sakamocchi.jp Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=sakamocchi.jp Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id 9CFAB32009F5; Tue, 19 Dec 2023 19:48:22 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Tue, 19 Dec 2023 19:48:22 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sakamocchi.jp; h=cc:cc:content-type:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to; s=fm2; t=1703033302; x= 1703119702; bh=ZZWeUI8Z6NJ3zfoU+DP0OJNgoKe55BRX9UMdfeIctTw=; b=D 7ofODUMlAGxBgYVTq1fZBWb06CY0WPrgXozpAxQ9ulW/fwXpDxIF672okV6Tfsxh e5E2rHplwD/QrCHUycdrwjbFO7eRL4CBGBw3TvE4s+ik/LrZwY9PPoSxdv3ZnenW gSUt40EfcqHZ25JJyihnW9g814n4JSK4Qareb24CNizy0FeQe2zo/Y3i/YIbRmtg hf57HcUZVgdXKU8NWtLDYXbOB4K3etKnAaRd2MDFg+kGfA1yJIaaDWbMdOxrzj4C x9qZYSsjxBEGATiaNETnFTZqTbOTRjgqseQQKsdmyJS9zeUAeZpzoDwHKhht8dSL tiAyhT7oo2sQroc62MpLQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; t=1703033302; x=1703119702; bh=ZZWeUI8Z6NJ3zfoU+DP0OJNgoKe5 5BRX9UMdfeIctTw=; b=uewWNLnuEdpjYfamCH4qz6jqsdaeCnhVWZUn/T3X2uSv mPVjsYK/FEV5KWQwn1L4XgZWwTqBhYouRhejSBZsDCK5KjPlbsU17iSsxDzF0Rx0 stVHNCHaPxM226BrjRk3v7Ej/EyxLmDUBZu+sDXqrBsbrR+Uz6Z4MW4cgbVvAluH /4eI9+ApVYomn0zo+z8N/YIh3zRYCmJ7UbjaaB56EIh2sYHYGZtyGC5kIsg7Uwv1 ureAMAI7kEm2Wae7bPV+jqt59pf6BaKOdUcBWfZM46DiZDvwGE7/p5lmEIjmsd4Y KSBLk/NulSoTSqRZhXGHXoRcS+cad3pmc+JEzUinJQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrvdduuddgvdeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvfevuffkfhggtggujgesthdtredttddtvdenucfhrhhomhepvfgrkhgr shhhihcuufgrkhgrmhhothhouceoohdqthgrkhgrshhhihesshgrkhgrmhhotggthhhird hjpheqnecuggftrfgrthhtvghrnhepveeilefhudekffehkeffudduvedvfeduleelfeeg ieeljeehjeeuvdeghfetvedvnecuffhomhgrihhnpehkvghrnhgvlhdrohhrghenucevlh hushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehoqdhtrghkrghs hhhisehsrghkrghmohgttghhihdrjhhp X-ME-Proxy: Feedback-ID: ie8e14432:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 19 Dec 2023 19:48:20 -0500 (EST) Date: Wed, 20 Dec 2023 09:48:17 +0900 From: Takashi Sakamoto To: Greg Kroah-Hartman Cc: linux-kernel@vger.kernel.org, linux1394-devel@lists.sourceforge.net Subject: Re: [PATCH] firewire: make fw_bus_type const Message-ID: <20231220004817.GA6217@workstation.local> Mail-Followup-To: Greg Kroah-Hartman , linux-kernel@vger.kernel.org, linux1394-devel@lists.sourceforge.net References: <2023121931-skydiver-dodgy-d1bd@gregkh> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2023121931-skydiver-dodgy-d1bd@gregkh> Hi Greg, On Tue, Dec 19, 2023 at 03:59:32PM +0100, Greg Kroah-Hartman wrote: > Now that the driver core can properly handle constant struct bus_type, > move the fw_bus_type variable to be a constant structure as well, > placing it into read-only memory which can not be modified at runtime. > > Cc: Takashi Sakamoto > Cc: linux1394-devel@lists.sourceforge.net > Signed-off-by: Greg Kroah-Hartman > --- > drivers/firewire/core-device.c | 2 +- > include/linux/firewire.h | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) Thanks for the patch. I applied it to for-next[1], since the following commits at v6.4 kernel have already allowed to keep it as constant (your absolute work!). * commit ad8685d0f61a ("driver core: bus: constify bus_unregister()") * commit 00c4a3c47da7 ("driver core: bus: constantify bus_register()") * commit d492cc2573a0 ("driver core: device.h: make struct bus_type a const *") [1] https://git.kernel.org/pub/scm/linux/kernel/git/ieee1394/linux1394.git/log/?h=for-next Thanks Takashi Sakamoto