Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp2100796rdb; Sun, 4 Feb 2024 15:32:41 -0800 (PST) X-Google-Smtp-Source: AGHT+IGhDOQY3r8RR+uVbF17xjeLEJePuaj2kzl5MTvjZsnb8cHjlwwUyDM8B3oQsJqL0S1c22d7 X-Received: by 2002:a17:906:409:b0:a36:f6f6:9307 with SMTP id d9-20020a170906040900b00a36f6f69307mr5152426eja.4.1707089561339; Sun, 04 Feb 2024 15:32:41 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707089561; cv=pass; d=google.com; s=arc-20160816; b=Jrn7tBz+HlF4H7INBRFFOhXmQhtpftOpucWHJnHfCvJzMFCDDiQdEBW8apf9UX+DCP +bSTTyZZxY+a2ajsfIBDFqlJNqc09wkkMX0wys1Iz1p3H8dO/8WgfV3w43ANTibw7yax DpLaoYdXyGa/0EoXmH7HvyIiumWTnszmst8PKfgCWY5i5zklxNlwYuKeTkhXH7pzXZbC 3Pmu77+uiXSTgIgAPvWldXw/SWvkPR7T5UQJ3ld/lPwSk4m3LATFvpvmRXaL+iPtvNL1 I2k3cU5VQscz9A8FiP+e+XLhhCM5t1pBJrzsN9Uegz8aJvekAWvy7loFhvsxRh0mCV/v 1FCQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:organization:from:references :cc:to:content-language:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=/g7wzQc6WBRnMDi3YZ1e3vgKfI+qnaGHvN9MtqJAecY=; fh=Suc5cRNcIZ6YlznIWDfUSBI0RkKNJiNENQRgPsS9Tdc=; b=nw7E02SiYQ9I+U6xJJKzBHbSQQN821bNx4MgKiqy+maVtQfcAXK01R7xsVisHFCuel dinezqkEPSHERlux2CAY1BMO7jZ5/9C9NduYZgW7yXCnp6AsCpaxNfCXobLinMQvDNDO /kRIdSmUEYyXstxJIb440oi30mG5P2UDg4lByWm2F/Pb0uaHoZtamuvVe7+v0nGZDocm dgzSyj7KcBFqhqeqjg2zT4dUbfZpHZ/yELXcJOWhMeQkcJEoEYcbZNVMfKd595Ndl8Jr r1XUrSPXCCqZDITXzH+uIOoeQQ891W5Df/b1ZBeoibxJSzGiq0Y+vuxCGXWMBx3iHzKT jHtg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=fkzET7ls; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-51945-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-51945-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org X-Forwarded-Encrypted: i=1; AJvYcCVbt2RI5zPXEL7SV8IZcJaW8HM2V2W+2YQGUA2tFWjiKzNmB5lCddj9kCDeLbbXd3+CITBGNqicWUUp8iKitrg1PMnEJfE+q2BOhfYG6Q== Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id q9-20020a17090622c900b00a30c933c62bsi3404041eja.353.2024.02.04.15.32.41 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 04 Feb 2024 15:32:41 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-51945-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=fkzET7ls; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-51945-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-51945-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 am.mirrors.kernel.org (Postfix) with ESMTPS id 19A0B1F2153F for ; Sun, 4 Feb 2024 23:32:41 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D0F30C153; Sun, 4 Feb 2024 23:32:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="fkzET7ls" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 DD13FBE4C; Sun, 4 Feb 2024 23:32:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707089554; cv=none; b=ICUe8Eic07Ynx0t0OX76jveg26GcosmHZnsfnEqADmXsd/pKsZLPdsvOKfshPRX5Yy/3SjmN4dAp8E+ZQqAyCD+qU6Oiewy7IcVlUwWnO6sCWsdBTFC+Bi+GR9ocGZ5yyQ5BVbX7/qb7pM4k/uxV6ArjEWH8esEGNIyIh2ExjLc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707089554; c=relaxed/simple; bh=weao2nZbuJbl0lCTTQA6jQBl3YJvBZE2uI/j1YAW7sc=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=P5YsxhFcwdkSttuZBg6CUvPXtwsBejT0rW7pkPIeVSr16adWlK2nL050JeCWgOypHHnYQN7a9cLhjKe3lnXIfj1Bdco+EXkzMS2wrudW6cc8M7PidQDxAaynCATXVIjo1q9ANJedQHIgY40Bw2QKottOyt40pZeQHV39AnBiYog= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=fkzET7ls; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9EEBCC43390; Sun, 4 Feb 2024 23:32:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1707089553; bh=weao2nZbuJbl0lCTTQA6jQBl3YJvBZE2uI/j1YAW7sc=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=fkzET7lsImBZI4+lhRM3QHl8vkm0OknStQgXOTjySvOaGEYcGOTmm5YsKuHCa3Xge OCgUljIHx2oM8U9QTHiGs4JktbY5pIhezWSPlzvfp6uXeh8gLoUfq8mJ+zV35yPPQ4 FuyouX0u31inPG8Ea1RE0xh0s5kWV7v/z47uMB698k4ohsghVIFX6cEU/iA0QziTxH 23NY6Eqd1x5LoSbLRUpw2Pw8fmNYXJ/ropVOaWT3YH8WM+EkwmurBZIRekroSkfV8C TdcutF5h49h2Gh71nPjhvsnFJYF3lHF+rMwUJn8LhbypqtrzaYoTZ9lIH5mkdD5wuN fGTQ/ZMf7KfhA== Message-ID: <3dd03711-cbcd-4c91-8c69-f8f28e61de50@kernel.org> Date: Mon, 5 Feb 2024 08:32:31 +0900 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] ata: pata_parport: make pata_parport_bus_type const Content-Language: en-US To: "Ricardo B. Marliere" , Niklas Cassel Cc: linux-ide@vger.kernel.org, linux-kernel@vger.kernel.org, Greg Kroah-Hartman References: <20240204-bus_cleanup-ata-v1-1-2bdc1fadf356@marliere.net> From: Damien Le Moal Organization: Western Digital Research In-Reply-To: <20240204-bus_cleanup-ata-v1-1-2bdc1fadf356@marliere.net> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 2/5/24 00:23, Ricardo B. Marliere wrote: > Now that the driver core can properly handle constant struct bus_type, > move the pata_parport_bus_type variable to be a constant structure as well, > placing it into read-only memory which can not be modified at runtime. > > Cc: Greg Kroah-Hartman > Suggested-by: Greg Kroah-Hartman > Signed-off-by: Ricardo B. Marliere Reviewed-by: Damien Le Moal -- Damien Le Moal Western Digital Research