Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp2799100rdb; Mon, 12 Feb 2024 18:06:57 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXAKUuYuI+sbWKjwW8vpE6p84cp8u3uLkUSzPEQB0jRUcIhrbmFr5wDlntoXyWw7o51aEA5WwKuA/GuHtP+tACrnF67lVd4sVeZp9YGvQ== X-Google-Smtp-Source: AGHT+IGXSyktQNmSgHHiVEySP2/hdypyAl2b1miELYSkv5yYDqAU625wIi94TDFOik83XE9H3LGf X-Received: by 2002:a17:906:c418:b0:a3c:a65:7bd8 with SMTP id u24-20020a170906c41800b00a3c0a657bd8mr5437808ejz.24.1707790017752; Mon, 12 Feb 2024 18:06:57 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707790017; cv=pass; d=google.com; s=arc-20160816; b=skHvEecoGCtAxe0lIMkj2km1YhI7OMghhRddQRmFmrw9FPsHbMJyMSrAxCIHZe2SlX laWETTfFV2pIKTpxK9MzZjiFMDBBk8+CvvV1xKcnFgU4fhH/bFmmD2sO0O+Z53SOfcgP 6yyMO5emVBMeEGd5Q36NBGgsw7watdAb8Ny5mteQIav4hsnfVlr203Lx8ihTiD1LY5M2 uQC0ctRMWiNlQhXMi/SCVxpYZfCsu99GS79xM5VCgoBRT/KY+X5dyH/E3qZcsj/+SGQI VjEYVZG78RwHD1mbUPpBnvXYAQ8tY+19CQbuL7Z83vLFHFOJvHavFxHdLO88O1Kp/u0R YAng== 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=JMVoOtM1py7aSa6kLQ7/92X6PzbGGiOnL+aPH9hefLo=; fh=VF5L5Bpbse+EPfUlDJu/9utUpTT2FDnj5xJZ01XDttY=; b=HR3GUdyaTXw0SxSa/a/mQ+Wqyk3xXZywter5pa2TK3g9+OqnKEEnXpc9bMk0xgM6/r QE0wB0GjMEfxbVBi+cIB+PvwIpgQM2b5SOZQ2n9izrUKC1kYQHxtqhCufVN7ar7r/77x Ow2TsuLmlMaPXsOJ5wkVgm2lf5hcGYo6mRMla9C5o2ti3Olc9Ok+LtAb5hMFNKN1Iv4Z LTXX40oZkMMlO2RjOAvfd/YgBW5IgIBrH8ZiCzk357q+o6C9FqJrdcxweo9fDO17OD+r sYq5IoFtew8hXGc/OSAmlDIDx3EVYVk2Zp5+lWjZFC3R/ucfl1/vX0uvSiXIu9605Tb0 myyA==; 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="CMPWu+/o"; 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-62877-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-62877-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com X-Forwarded-Encrypted: i=2; AJvYcCW0UVVSvtF1J9e6BkWMTTNF3tjSqcuR2IPwxlvUseWxVzpyOzKm+G/HI/+e7Snhl4WRQM9Wvq6COOawCsW+B3wF8g0Tv2l3J5gBF6fQsQ== Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id j7-20020a170906254700b00a3d00aed87esi151102ejb.873.2024.02.12.18.06.57 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Feb 2024 18:06:57 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-62877-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2023-11-20 header.b="CMPWu+/o"; 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-62877-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-62877-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 38FD51F26790 for ; Tue, 13 Feb 2024 01:58:16 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 82C638F77; Tue, 13 Feb 2024 01:58:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=oracle.com header.i=@oracle.com header.b="CMPWu+/o" Received: from mx0a-00069f02.pphosted.com (mx0a-00069f02.pphosted.com [205.220.165.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 3CB8279E1; Tue, 13 Feb 2024 01:58:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.165.32 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707789481; cv=none; b=n6Dpfn+OnXKeFcJaV7NQJH9QjRiKKQ7DZlzS9gWLGp/YB7lwxHdH+e4Pt1UHq/sDW4rI8PHQteCX8Uz3jIp3qmbbkfwfXQxaOgEsYwlu4lOVtKFT0eeZu0P3EoSBDgjvH9mTz+LvtOSm2aXSd3Ty9hlY/f+Wmj6iMvRHmOrjh8M= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707789481; c=relaxed/simple; bh=AK2dQ9oyoMdcMMHXetOHC+B390rOsuyzXMSQCJ65Py8=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=H0v7Tvxv8MnSbgL69mL7NH6Tb/foVjin9Mm56mpClYuZUYZb+ugjrWnAckSAZ1Ak6yEbbnM9IL2cAa3C4WqpwmOK5DjHcZ409fRCLZzoNLfBlfXJqEMvKuzgafuMMeC2heXB53WqEHlpss1W1Z9w9MzR6MEyY1geIpFRn8UkMSQ= 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=CMPWu+/o; arc=none smtp.client-ip=205.220.165.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 (m0246617.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 41D1iEb2003075; Tue, 13 Feb 2024 01:57:51 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=JMVoOtM1py7aSa6kLQ7/92X6PzbGGiOnL+aPH9hefLo=; b=CMPWu+/oWdlTnhKHzE8wxZQs06FiT6QMOH4JjevQJt4W/uB9wn72I+aKyLnIvkh9SVJx egsrf9LrFFY2kEoyoVeEuK6KBiL1iV7TrG4YDsY6i9SlZ4wJ2+FaVNNwRYYahQS9s6kc xeqAmLBLFjGa2IA0RM0aCKO5bD1oC8APP+r/yKwHl9l8199ALwwFJqZXDraYX0kQ0Iwx dVNU56JxcYs1Ui9c3GOWtQIwHfRLoclmG5xC4Sp2na49TZxUbo9oGzt00iEEEVOASF5u Pa0Se9CIYFXaFTpvfB62+UrJmptxtNS3fYdhYQ7HXwdp9bK41A5WtvIjAtMkxv0jnVZ7 Bw== Received: from iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta01.appoci.oracle.com [130.35.100.223]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3w7xeq01qh-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 13 Feb 2024 01:57:51 +0000 Received: from pps.filterd (iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com [127.0.0.1]) by iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com (8.17.1.19/8.17.1.19) with ESMTP id 41D0AENV024679; Tue, 13 Feb 2024 01:57:50 GMT Received: from pps.reinject (localhost [127.0.0.1]) by iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTPS id 3w5ykcw3an-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 13 Feb 2024 01:57:50 +0000 Received: from iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 41D1vm1l022232; Tue, 13 Feb 2024 01:57:49 GMT Received: from ca-mkp2.ca.oracle.com.com (mpeterse-ol9.allregionaliads.osdevelopmeniad.oraclevcn.com [100.100.251.135]) by iadpaimrmta01.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTP id 3w5ykcw3a9-3; Tue, 13 Feb 2024 01:57:49 +0000 From: "Martin K. Petersen" To: "Ricardo B. Marliere" Cc: "Martin K . Petersen" , linux-scsi@vger.kernel.org, target-devel@vger.kernel.org, linux-kernel@vger.kernel.org, Greg Kroah-Hartman Subject: Re: [PATCH] scsi: tcm_loop: make tcm_loop_lld_bus const Date: Mon, 12 Feb 2024 20:57:43 -0500 Message-ID: <170778686841.2103627.348317624154335790.b4-ty@oracle.com> X-Mailer: git-send-email 2.42.1 In-Reply-To: <20240204-bus_cleanup-target-v1-1-96106936c4ab@marliere.net> References: <20240204-bus_cleanup-target-v1-1-96106936c4ab@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-12_20,2024-02-12_03,2023-05-22_02 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 adultscore=0 bulkscore=0 mlxlogscore=758 malwarescore=0 mlxscore=0 spamscore=0 suspectscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2311290000 definitions=main-2402130011 X-Proofpoint-GUID: tllfBj0IfAbsXcEZ2-TKmqh6PwkGRswe X-Proofpoint-ORIG-GUID: tllfBj0IfAbsXcEZ2-TKmqh6PwkGRswe On Sun, 04 Feb 2024 17:48:26 -0300, Ricardo B. Marliere wrote: > Now that the driver core can properly handle constant struct bus_type, > move the tcm_loop_lld_bus 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: tcm_loop: make tcm_loop_lld_bus const https://git.kernel.org/mkp/scsi/c/4ad946536537 -- Martin K. Petersen Oracle Linux Engineering