Received: by 2002:a05:7412:1e0b:b0:fc:a2b0:25d7 with SMTP id kr11csp701704rdb; Thu, 15 Feb 2024 12:38:34 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUZ9VWvGemvVKFLZMhX/rLek+P4l3e93GD8hgrVQhfh2K7H9o3ZffEw9nGKvcb4aeNyuw60E/TW1qZ/pXqOZWSPQ2UEN1ZVojlxWHs9dw== X-Google-Smtp-Source: AGHT+IFwLNoaaolaXojU9/fD0Pt2ixuWJ5onOtKZyKIFpFdWBkrqlIqn3KDoeyeGs+m+ZEbwcjZl X-Received: by 2002:a62:5f43:0:b0:6e0:5344:1e86 with SMTP id t64-20020a625f43000000b006e053441e86mr2812164pfb.23.1708029513903; Thu, 15 Feb 2024 12:38:33 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708029513; cv=pass; d=google.com; s=arc-20160816; b=jA6DuzU9c/kAbfamLgP6pBMxWf8PpgSQMaE3OEp+dgG7vdm0D18k+S3S96uSxDX0Nw Wbs9qzzTket/e8+P1tQq9V48mCLHRmK19Xy5kStOOMf9g4smAkp0bOlDn8h1kqeedo+Z 5Jgr8/x78BqVAcHxpqwve2hnU/c7QNJuRh8ZZgZ9bP6vQh0x1ge4lP9amAztjHmuQ2KH +vJzxg+oHNmYU9a2KAJgz5KOfQCD9Y9RTqvOeV0s2vlVg3H1ijVucY7kngguCsmqw4NX tSjFw6QYmARBjlkNfL+HfRGj69bpEV0TishqE6xR5mmPbqbYzYNRGkXypGaUN3POi8ev +hzw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=AdJSSSYDfjEiQVXnvX4E2jByaztp26kZhSe7cEfyIjs=; fh=Z0JAy3kz8ENsD3zeOTwj4/lhoYllFa4PsXRjOEM0hZQ=; b=bBnMPrzLCdsIUTJXHLVgIG+D8EUDNdppEQAke0rM+h3rXBgRR+A8NPqpwHbiIAH+td zqR95qKv8z6NodvYj3VTurPtN8/6Q2UBTIhSD05G0PcD1i4LNkOdnuAWiFrbISMW5PIY wrCXSXMCHBKHRrO3Fuec4+pJnKL0RAcSZiGemdEIivKMyAaa/6tIbbqQ2mAbu5SYY0nU zBOGm5S0YWoXXZh5minPL0X+V/XOfcWBynAn9r3HnDnm1zP8XlNCjvJHo5iER8PokdrW UR/cp5KbRz2fhY/FN0teMzzWGfsDD2Q3JhQ9csKyA/oxW252g+7WcMhvhiHvwfS/FIfD eAJA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2023-11-20 header.b="n/C5505B"; arc=pass (i=1 spf=pass spfdomain=oracle.com dkim=pass dkdomain=oracle.com dmarc=pass fromdomain=oracle.com); spf=pass (google.com: domain of linux-kernel+bounces-67658-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-67658-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id p20-20020a056a000b5400b006dbbe97dfc7si1684377pfo.399.2024.02.15.12.38.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Feb 2024 12:38:33 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-67658-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2023-11-20 header.b="n/C5505B"; arc=pass (i=1 spf=pass spfdomain=oracle.com dkim=pass dkdomain=oracle.com dmarc=pass fromdomain=oracle.com); spf=pass (google.com: domain of linux-kernel+bounces-67658-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-67658-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 9D275282A6E for ; Thu, 15 Feb 2024 20:38:33 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C1D7713B2A3; Thu, 15 Feb 2024 20:38:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=oracle.com header.i=@oracle.com header.b="n/C5505B" Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) (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 A2A63139564; Thu, 15 Feb 2024 20:38:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.177.32 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708029504; cv=none; b=ZEV4h+ZeRerPMYdJeK/T108Cxi1m9r6Fg9gdVrppornanpi+lY6cUQxdfRqtwmk8niUb0jluk5Afpj+WHdtK5VWNBJXOLE6aXAZ3/jYX74eiFAewBaXUTl1oQwnDfZbafRoxaGDJKeJWsHSmPw+2sQctxAcxJZAaw2Dq8TMWRxE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708029504; c=relaxed/simple; bh=TJqHLaoB5WuF16FHxlNYu4yTxIuEaFNeoQXuLQa86dA=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=c+9i/CbyoQcsXaFE0xUwWx2GqSoNDWbzSdJVms57w6DgyJfNWyjN710FWR6yioeD94G7eI49KsSRY0hXqPAyf4p0RsxAeO0HO+U1/cJ8Ryj4R4zVjo5vVJKKaepGv7aVdvCe9oZ59nT1Z/4cIHdqJ64QpBoyNLzqjZGd06eVFO8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=oracle.com; spf=pass smtp.mailfrom=oracle.com; dkim=pass (2048-bit key) header.d=oracle.com header.i=@oracle.com header.b=n/C5505B; arc=none smtp.client-ip=205.220.177.32 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=oracle.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oracle.com Received: from pps.filterd (m0246632.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 41FFT72o022398; Thu, 15 Feb 2024 20:38:10 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-type : content-transfer-encoding; s=corp-2023-11-20; bh=AdJSSSYDfjEiQVXnvX4E2jByaztp26kZhSe7cEfyIjs=; b=n/C5505B6UtJ+hO/fMgfXd4cTQ6X8gkk2j/i+AIv27cmH6OSeb0zpnJjbqlSrl/22c5a noJ+2zRKbGrzSeqXo23gg7JOLhQEi7XKop+b/3GF17RrxQLXnabh5IV1LpIO8bkSG2Hk PkKu0oGTdC3uyfWcn5EtcTaHgEL44bZ/CU21VKXDyjh+zYRGq1N7yYFDOgWiJndRDpp5 Bfdr0UNOsN4IRXEh3oztvZz8LmfLN++put+0GSnHVWrnW2Jt2AYR4ZG5E8z3SbTdZ4je C5fU9mIHvw+bMc5YyLRY2u35KqGXnqGXMyrGfqTasEdtx/BuvzBwrBacYWX30d9grJZ7 Qw== Received: from phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta02.appoci.oracle.com [147.154.114.232]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3w92j0k944-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 15 Feb 2024 20:38:09 +0000 Received: from pps.filterd (phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com [127.0.0.1]) by phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (8.17.1.19/8.17.1.19) with ESMTP id 41FJn70b014943; Thu, 15 Feb 2024 20:38:08 GMT Received: from pps.reinject (localhost [127.0.0.1]) by phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTPS id 3w5ykatqp5-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 15 Feb 2024 20:38:08 +0000 Received: from phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 41FKc8Ub005623; Thu, 15 Feb 2024 20:38:08 GMT Received: from ca-mkp2.ca.oracle.com.com (mpeterse-ol9.allregionaliads.osdevelopmeniad.oraclevcn.com [100.100.251.135]) by phxpaimrmta02.imrmtpd1.prodappphxaev1.oraclevcn.com (PPS) with ESMTP id 3w5ykatqnd-1; Thu, 15 Feb 2024 20:38:08 +0000 From: "Martin K. Petersen" To: "James E.J. Bottomley" , "Ricardo B. Marliere" Cc: "Martin K . Petersen" , linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org, Greg Kroah-Hartman Subject: Re: [PATCH v2] scsi: Make scsi_bus_type const Date: Thu, 15 Feb 2024 15:38:00 -0500 Message-ID: <170802931700.3317223.18234042849656423364.b4-ty@oracle.com> X-Mailer: git-send-email 2.42.1 In-Reply-To: <20240212-bus_cleanup-scsi2-v2-1-65004493ff09@marliere.net> 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="utf-8" Content-Transfer-Encoding: 8bit X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-02-15_19,2024-02-14_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 adultscore=0 spamscore=0 mlxlogscore=999 bulkscore=0 phishscore=0 mlxscore=0 suspectscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2311290000 definitions=main-2402150166 X-Proofpoint-GUID: qd9xrsRxZv-LTxwq-MYYwGlYEMhtMQuO X-Proofpoint-ORIG-GUID: qd9xrsRxZv-LTxwq-MYYwGlYEMhtMQuO On Mon, 12 Feb 2024 15:38:37 -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. > > > [...] Applied to 6.9/scsi-queue, thanks! [1/1] scsi: Make scsi_bus_type const https://git.kernel.org/mkp/scsi/c/a0bcad233fd6 -- Martin K. Petersen Oracle Linux Engineering