Received: by 2002:a05:6a10:7420:0:0:0:0 with SMTP id hk32csp4523194pxb; Tue, 22 Feb 2022 00:06:14 -0800 (PST) X-Google-Smtp-Source: ABdhPJxze15SgghLYv7g+8Sv0syc0pergaN9MqInOVOpFsxQFrRIKy7/rgiP4Db035BP0Xn8XIsg X-Received: by 2002:a05:6402:520c:b0:412:7f7d:b06b with SMTP id s12-20020a056402520c00b004127f7db06bmr25905454edd.91.1645517174294; Tue, 22 Feb 2022 00:06:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645517174; cv=none; d=google.com; s=arc-20160816; b=dVV0NpI3uzoWpJ/GRa9dvvswag4DuplwZJBrNF9BGEz9rQvty1OXv5uAtjnqncvf79 qL7EB1FzTUsM9EdV0EleX5iQVoc0a2aZwZGuNqtdwsINgcWNW06NTo6vG+1mzoL2hE2o 9FofE0OP665K7Yq8/8valiUdhWqt4iYASlIoKic46Gg3NxFwHyOg1g/KvKyEw46/3R52 Jdnd9cWlC5HpxtEFO3Vr8/WGVtzxp4TbmlHKOKJcc+DylQRLCHGFZCzx44Ci4Uq1qQrE oGgE9/HWLdiQAqgmgeUZTRjjj7J/mFZLk8gNnb54EauOL/N+39vD1z3bxwrQ4LZV/UKW vwkQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=zmbM9xjZv/x2PiLgbnsox7WqEPCLtKRX3L96LPROHEc=; b=s7004/buffgNq+nPJj9Oi6HIe+oG5c8I9oKEzFxjd1CRLvKGwRzGad+8qYY7BnFkNI QFEjZagRkRbG2d0Vv7cMYuVUrZYnVAZo7lR8LHCC7bHLpE0yKYqcQ/0hZ0fZWBslAF93 dSf94jmctWhsG+NR8pVDbIbDw1vhBRc8XrczAGQUde9ki7V6eClOkqX/g8zYuboozR8j janlGcsgPyoDghdGL20mxgUOJo9ee6r6JVQPqDxzYt4FYaMi9fMXOv2X2AC7NSqfP2WF UyJDNuWc0nOwdVCPpuGV6yETHBz1Oz/oil2UyfeyLFqVB27ggKhYT0Pu/yleulFp83Mw d2JQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=0jxxZRcz; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 5si14522279edx.332.2022.02.22.00.05.51; Tue, 22 Feb 2022 00:06:14 -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=@infradead.org header.s=bombadil.20210309 header.b=0jxxZRcz; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229866AbiBVIAt (ORCPT + 99 others); Tue, 22 Feb 2022 03:00:49 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39856 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229437AbiBVIAr (ORCPT ); Tue, 22 Feb 2022 03:00:47 -0500 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0993A14891A; Tue, 22 Feb 2022 00:00:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=zmbM9xjZv/x2PiLgbnsox7WqEPCLtKRX3L96LPROHEc=; b=0jxxZRczjnnzihX6kbVsgO87eE SZxfmJs8QwG38+tFxI1rdj1aF3a5ieXydLebaTKrzXHxlXj14UkIWnv0Hr1x6G19hz2X/CDAeMvkY kFilE3Zo8D9B8W+cBVrKUTS22fi71l0ufBRzzSl7BeUCdHQdY+UzoYZlv+9Hyy/z2BJeez/HfkZM+ AG0CzCtZXRXIkiymb9VjVxGc65MxVAJm9ABtqilEr+0ZOzsgOtahaip9fns9HB/x7EcoWpEDjzv3Z 1R6Eppp5eQUHMiD64zR+NJsiLHlu0dZyiRaozwZUU1uK2/eM9FjvG4mcPIg0VtQ+UK5juOVUgNSpK abv//ITg==; Received: from hch by bombadil.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1nMQ5k-008Qf8-W0; Tue, 22 Feb 2022 08:00:12 +0000 Date: Tue, 22 Feb 2022 00:00:12 -0800 From: Christoph Hellwig To: Finn Thain Cc: "Juergen E. Fischer" , "James E.J. Bottomley" , "Martin K. Petersen" , linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] aha152x: Clean up struct scsi_pointer usage Message-ID: References: <4e17ff7295a96e31ed21ccb250c65b56c173b530.1645484982.git.fthain@linux-m68k.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4e17ff7295a96e31ed21ccb250c65b56c173b530.1645484982.git.fthain@linux-m68k.org> X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,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, Feb 22, 2022 at 10:09:42AM +1100, Finn Thain wrote: > Bring aha152x into line with 10 other drivers which assign > scsi_host_template.cmd_size = sizeof(struct scsi_pointer) > and avoid the "struct foo { struct bar; };" silliness. > > Remove a pointless scsi_pointer->have_data_in assignment. I think this going in the wrong direction. The scsi_pointer should go away entirelym and the fields actually used by the driver should move into the aha152x_cmd_priv structure instead. Same for all other drivers still using the scsi_pointer.