Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp58255pxb; Mon, 4 Apr 2022 23:55:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw0pHMVDh1Y3d0rx4/apOqcxsbHtMYI5aGcQ0BsXed584CMunkJxig/br1zQrtvZaBxTIfK X-Received: by 2002:a17:902:bb92:b0:153:4eae:c77e with SMTP id m18-20020a170902bb9200b001534eaec77emr1904979pls.93.1649141741719; Mon, 04 Apr 2022 23:55:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649141741; cv=none; d=google.com; s=arc-20160816; b=T6b7fT5zkA5ESw680HCIqVaEaXd4sb/9IhVy10MoLMxA25qZNUlQBA/JoN8gJhMaUV x2VuDrix58H+cvETS8tR6E8VskqnPJLQha+4yQO9kxNlSeQvTIVJ4QHVHEhgCSTTHJDu ytQ91Od0Nj0rUh6i5BSqM75kiXMU1EocfbEAHSQqK4K3JdJ3ECRmnlFbew1X01aF5W2x OACSUHYB2F5oUs9sNN15y5yfv7FIn6RibXHinDZOheu5qe4Np16mUHlF9rmqKj8H2saG ctGrszAcspOToAY9m/m+VxbCSYKHicFfP/TcIAqKxNuvKELNXQO6f+gGDbkXFyJKpkwa olxQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=TlWCYP7SfCyFZIZu63Ef+tYe5U96wWQlae4sL6ACIxk=; b=PvxcqN3kMMunA55g683t1XCz+ttJ8NMf+JWFPpB6sbFKossRPM2mAWewRffkqGGCh/ 0TVYVOpbFzHGLRTnU6IPg10jwTnuDThee1pheZYZOf6VYHbcCZxX7xefZFqeX6dY0nCO fnyB52dseGaGfS2SLanF54q8fQww3mlR/ralMuEg4D088T8f21LWP2rtWNMaeVMyzFTn eyHPAMq0Fxen3xIaF1hKgFOrGRvLrOozkOsJFdv+FB4RQolWHXpYWk7Xx9/Is1n/S0pP 7Izmx/vkSFLePYzVXrVRgzjU6G33zyAxdmVwiJP2Rkaf9j/PjjLhXj0zAW08lgGlzMY1 C2QA== ARC-Authentication-Results: i=1; mx.google.com; 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 j13-20020a65558d000000b003729ecc3ae7si12866298pgs.2.2022.04.04.23.55.26; Mon, 04 Apr 2022 23:55:41 -0700 (PDT) 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; 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 S229989AbiDEFyy (ORCPT + 99 others); Tue, 5 Apr 2022 01:54:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46730 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229542AbiDEFyx (ORCPT ); Tue, 5 Apr 2022 01:54:53 -0400 Received: from verein.lst.de (verein.lst.de [213.95.11.211]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DB6F6344C4; Mon, 4 Apr 2022 22:52:55 -0700 (PDT) Received: by verein.lst.de (Postfix, from userid 2407) id AD00A68AFE; Tue, 5 Apr 2022 07:52:52 +0200 (CEST) Date: Tue, 5 Apr 2022 07:52:52 +0200 From: Christoph Hellwig To: John Garry Cc: damien.lemoal@opensource.wdc.com, hch@lst.de, linux-kernel@vger.kernel.org, linux-ide@vger.kernel.org, linux-doc@vger.kernel.org, linux-scsi@vger.kernel.org Subject: Re: [PATCH v2 2/2] libata: Inline ata_qc_new_init() in ata_scsi_qc_new() Message-ID: <20220405055252.GA23698@lst.de> References: <1649083990-207133-1-git-send-email-john.garry@huawei.com> <1649083990-207133-3-git-send-email-john.garry@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1649083990-207133-3-git-send-email-john.garry@huawei.com> User-Agent: Mutt/1.5.17 (2007-11-01) X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,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 Mon, Apr 04, 2022 at 10:53:10PM +0800, John Garry wrote: > From: Christoph Hellwig > > It is a bit pointless to have ata_qc_new_init() in libata-core.c since it > pokes scsi internals, so inline it in ata_scsi_qc_new() (in libata-scsi.c). > > > [jpg, Take Christoph's change from list and form into a patch] > Signed-off-by: John Garry Signed-off-by: Christoph Hellwig Although I still think merging the two patches into one to avoid all the churn would be much better.