Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp2638986rdb; Mon, 12 Feb 2024 11:06:59 -0800 (PST) X-Google-Smtp-Source: AGHT+IFBB2x+FBwAluLJtx3knQEyea1E5qMAxeFRKRtvXoAOkLm5taelxGlvvJBGKd7rWxoIXVOu X-Received: by 2002:a05:6358:5b16:b0:176:a5c2:8f19 with SMTP id h22-20020a0563585b1600b00176a5c28f19mr8919739rwf.30.1707764819538; Mon, 12 Feb 2024 11:06:59 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707764819; cv=pass; d=google.com; s=arc-20160816; b=JVUEW/2+TXT0xQkfWRHGzQ+oSzKU3Wuqp1W9J52poUWwJAc+YOb7/bQk+4bECzj+ZR XtkOc0bS67+K+6XQAyDJi9shDN35I69QcWgfDa8d8263Y+WcVtizxWNZJq9nKR9x7iwf ivSI1tuhKLK3e2K7U2hPngcm0CyYohhQ5JKSirM2mhIEtaqfIUfyqgraRZxQVFpYUvKH 2koqCbLIsztublgaGQxAd3r7Zynqrb3nYsVnCcg0EMietsoSMDNg4x81S4QIO/ntCzNl WLjksC0PqgNHQK1k9QC6zALgz0foRe7imWIiFYibyWdNhRxBRURvXve84zaqUlySuXf7 0nbg== ARC-Message-Signature: i=2; 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:message-id:subject:cc :to:from:date:dkim-signature; bh=0drmXC303SYgd3lzQ5xFtvVMpSmsPEVCw2dBePDG12E=; fh=tG7eyrkY8AHSj9l5t5sMUVqOFmIxkrTq45j/I7VE6Mw=; b=Rad1Ttva0WuLk7QSRhWgmv2hK/I/XiX7en536PsBVtUmqyVRynerzdqLsO6fzGaIUc +n+2ay9mPs+cKJH9HgmRgXEXwsLV+EsHgx1BJMKDkiUMBaQlWMXrMtp6cQCwRmNkwnfL 1VHo52p+ABFzwX5SCywW7H3LmXFjFGgM8zVgm+7faP5aKa6q8zcJ9r9dAefN/uRpuf8e TB54yqr5AlC1gprNyxQtabcxwLkoHp54rJEbhDSG6D3gBSGj39kwrtEdZjtiUycbRHSx r7mGeA9HwNizIRMRy1u6bH9g46N4SsKhHGb2OAzKazbWtbOROeSyq+zwxuTdHRfcbVHd PEGw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=1ey2NMHq; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-62254-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-62254-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org X-Forwarded-Encrypted: i=2; AJvYcCWo//CDUCaXcc70a2TrOtjJcWKfKrcW1wUGiBLXsdZosjvD0+GTgICM/TVt1oUxhhosE1LV7nSv4bMDNAlO6NnQs0shI0TFkkVlDX6PVw== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id kl25-20020a056214519900b0068c3515c906si1005595qvb.273.2024.02.12.11.06.59 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Feb 2024 11:06:59 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-62254-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=1ey2NMHq; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-62254-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-62254-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 45C491C21253 for ; Mon, 12 Feb 2024 19:06:59 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 66C1345BFD; Mon, 12 Feb 2024 19:06:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="1ey2NMHq" 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 8321F4C99; Mon, 12 Feb 2024 19:06:50 +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=1707764810; cv=none; b=AWylv5fT2bv8XRbXtShoTZj4xnCgBl1RNniMHUd4bMYVKnYoGxunNmMIygYUMnIuGOYmRDJ5NvEpqad0PWqlmONUlrxrhjHEVrHwOxnrc8DmOkSGCanGYGWm4g0pqkzpKKu7OedFOEmUnSC9J8Ig9EYR1CmgO8GBZyeUBwwNAWw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707764810; c=relaxed/simple; bh=U10PgycHW1GIVYu3rtS3Aw8K64X37bzdCMH4YrSDosI=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=tdGhI67zDcWyjoFDA5Vb9ab/qyP/JWUN/P5LE57x7L18m8+d3GnjppvNOYFgNn8mvdMA9Gb2c9BZcdoQDmymf1qLX9ZDcOfJV70hX5a3ZtQ1tN1e9Pj8JE01fj8MFp35608FZAGf/kbta8ADWATBCx46S4bwR+VU/V8MJzWINbA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=1ey2NMHq; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9D6D9C433C7; Mon, 12 Feb 2024 19:06:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1707764810; bh=U10PgycHW1GIVYu3rtS3Aw8K64X37bzdCMH4YrSDosI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=1ey2NMHqa2U4WQrWZVu4RYEsBKdthlEoNX0Jhq4k5KHiA3C7xBkLsp3CrR+Wagbv7 KJp/XrmZvHOX48MoxykFQiZqT9roI+ps0poRun5OIDmXHl5yNd4O50qoV2ULGrXyQl kLnZM+3AMUnl/itmZbPhHa5hpJWBb0kvnDCzln1s= Date: Mon, 12 Feb 2024 20:06:46 +0100 From: Greg Kroah-Hartman To: "Ricardo B. Marliere" Cc: "James E.J. Bottomley" , "Martin K. Petersen" , linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] scsi: Make scsi_bus_type const Message-ID: <2024021237-vista-botanist-b927@gregkh> References: <20240212-bus_cleanup-scsi2-v2-1-65004493ff09@marliere.net> 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: <20240212-bus_cleanup-scsi2-v2-1-65004493ff09@marliere.net> On Mon, Feb 12, 2024 at 03:38:37PM -0300, Ricardo B. Marliere wrote: > Since commit d492cc2573a0 ("driver core: device.h: make struct > bus_type a const *"), the driver core can properly handle constant > struct bus_type, move the scsi_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 > --- > Changes in v2: > - Improved changelog to remove the word "Now". > - Removed unrelated whitespace cleanup. > - Link to v1: https://lore.kernel.org/r/20240211-bus_cleanup-scsi2-v1-1-dd04ee82e6b0@marliere.net > --- Reviewed-by: Greg Kroah-Hartman