Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp497064pxm; Wed, 2 Mar 2022 02:51:29 -0800 (PST) X-Google-Smtp-Source: ABdhPJz+28yPsfnoDq44wbR4O1jJAyXN5LSdKTV+AoVwuw83f211kP2tdr88n3Kqk4dhPMKPs3xA X-Received: by 2002:a17:906:e218:b0:6cf:7483:36c8 with SMTP id gf24-20020a170906e21800b006cf748336c8mr21988834ejb.747.1646218289045; Wed, 02 Mar 2022 02:51:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646218289; cv=none; d=google.com; s=arc-20160816; b=CIEUA4ltQE2hZf2DQ0GXhtZaeVTwA6y72hoQ9FQkeX1SdRxmZ/Wke9lG/J8WgsLbtI C8ok1gCIbrSJZX6pahmYY1tnbK2kBeJtSbCCylQ5HFhlD+CjrJvI6h+Z+v65RA8RWqGq H18T9bgUjgzjsG/ESShLdzklE8OUvJnt1Uax/xQQMEnJWd0uWFRRDq1pJsVeqe2Pbh4j bEKYiThV68AYcYOMU2M3bQFSOUrtjpC7WjE7IbOp/ILIwPNDZbxlkrLeEG6r5sJmTuY0 VD7GopzkP5Bf7EZcLJkYLhhM/Ww0+PC0Dad75APu02usUnkvgJ37RLdZgE6p/5hhHwUd +gcw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=rHUgHhopvue/AAPK+/mb9kiUgRdUKw+MBpTb/HZqUeo=; b=CcraXYeUmkz8HyvxBzZpYNBkyMCpVNzwLcQaWK+QsKKCQlmJKh6S0HKOZJG3s7rnpP nUNZ8xb62PRkIyVHwyKiJ+/myZjkxof6LB1JGl/bWmrQPu8vQLhRMmHHAYVeY00/+0UQ xbFPjf0OIpc4tOMmol9JQUx6s+c0+NRZXN0eL/Q49hRlwL5XarhVebsGnIuyt3tvYWgF RB/JUamrpy0LnIPWBSopSSym1Y9oUfMDC/bGDANxd84LIjXerfBzE7thPfgC5/npwfbh JYXUKUpmJHcPbFTh7Mm1AXb19cn8uc/ndvlmyDlX8o6ElJ8uX9nYel6KwK2fbDYPfsnc 8oTA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2021-07-09 header.b=Jb34d7WR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hv17-20020a17090760d100b006d77c1da17fsi2027856ejc.279.2022.03.02.02.51.04; Wed, 02 Mar 2022 02:51:29 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2021-07-09 header.b=Jb34d7WR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239595AbiCBFOh (ORCPT + 99 others); Wed, 2 Mar 2022 00:14:37 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41908 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239494AbiCBFOX (ORCPT ); Wed, 2 Mar 2022 00:14:23 -0500 Received: from mx0b-00069f02.pphosted.com (mx0b-00069f02.pphosted.com [205.220.177.32]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9E32447ADF; Tue, 1 Mar 2022 21:13:41 -0800 (PST) Received: from pps.filterd (m0246632.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 2222W19t006487; Wed, 2 Mar 2022 05:13:37 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-2021-07-09; bh=rHUgHhopvue/AAPK+/mb9kiUgRdUKw+MBpTb/HZqUeo=; b=Jb34d7WR340ztbLn/zsvOVH3ldehCgL08A3U0GCmGKabxmR5DP7xiI/Bs/xeRdZ+GJ+b Ej1WgeEkZQRxz5IM6EoWBTzLp+KBoFjxjb80EH/01O049thY72+Z99wqWyRqj+YZHR7p c/J/P7mSzehV5AAF4TmgE6n3Rj2GA4yt91acFMNcd+icBpP19w7wGXbmt1KfxCP27snU qxofTddO8acxcqXvB5yewV7pWrp1ovrKhFhvmpZWCerpM1hZ7TsE4/xKbrwl+G8XHDzl SRCFUQ5xoCsTiuY7diyERaZb8MtfIksNvh9VBC59uMaaF4mPy1IIpogza+ulPCV+S1Rj DA== Received: from userp3030.oracle.com (userp3030.oracle.com [156.151.31.80]) by mx0b-00069f02.pphosted.com with ESMTP id 3ehh2ejm8a-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 02 Mar 2022 05:13:37 +0000 Received: from pps.filterd (userp3030.oracle.com [127.0.0.1]) by userp3030.oracle.com (8.16.1.2/8.16.1.2) with SMTP id 2225C1tJ175224; Wed, 2 Mar 2022 05:13:36 GMT Received: from pps.reinject (localhost [127.0.0.1]) by userp3030.oracle.com with ESMTP id 3ef9ayxgka-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 02 Mar 2022 05:13:36 +0000 Received: from userp3030.oracle.com (userp3030.oracle.com [127.0.0.1]) by pps.reinject (8.16.0.36/8.16.0.36) with SMTP id 2225DVPO178145; Wed, 2 Mar 2022 05:13:36 GMT Received: from ca-mkp.mkp.ca.oracle.com (ca-mkp.ca.oracle.com [10.156.108.201]) by userp3030.oracle.com with ESMTP id 3ef9ayxgcv-5; Wed, 02 Mar 2022 05:13:36 +0000 From: "Martin K. Petersen" To: Finn Thain , "James E.J. Bottomley" Cc: "Martin K . Petersen" , linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org Subject: Re: [PATCH] mesh: Stop using struct scsi_pointer Date: Wed, 2 Mar 2022 00:13:23 -0500 Message-Id: <164619702112.16127.3138997344528184574.b4-ty@oracle.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Proofpoint-ORIG-GUID: 94n0qQGh43OtFvqygZZ2-Rzf03EJusFa X-Proofpoint-GUID: 94n0qQGh43OtFvqygZZ2-Rzf03EJusFa X-Spam-Status: No, score=-3.3 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 22 Feb 2022 10:09:42 +1100, Finn Thain wrote: > This driver doesn't use SCp.ptr to save a SCSI command data pointer > which means "scsi pointer" is a complete misnomer here. Only a few > members of struct scsi_pointer are used and the rest waste memory. > Avoid the "struct foo { struct bar; };" silliness. > > Applied to 5.18/scsi-queue, thanks! [1/1] mesh: Stop using struct scsi_pointer https://git.kernel.org/mkp/scsi/c/2e1b3175f29c -- Martin K. Petersen Oracle Linux Engineering