Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp10353317rwr; Fri, 12 May 2023 07:08:54 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ50K9v4lES/btDkHf8j7oCt/Uc0DoRxyskd0iwyHdSh6cubLdtGpFZmGwtwYp7+mVvRrCXE X-Received: by 2002:a05:6a20:2594:b0:f0:a8e7:bbee with SMTP id k20-20020a056a20259400b000f0a8e7bbeemr28838426pzd.1.1683900534046; Fri, 12 May 2023 07:08:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683900534; cv=none; d=google.com; s=arc-20160816; b=cKxHYP88ULstqanPfqqn+vNLp83lJDHU9n9IeajJ9ERKMcMjmMEZx5vyI42MbgXyD3 vemyqBZDYX+4sbxbAqE4NSMdyhOVgIv6BZBe9nnjs9nDKdrrtKaEBcuBcjxys/veDx0E z/sHl9tOLx4wLBXrVUqfvV7CSqqsG1K0+09YtA5HCMJuEmy0tJVXslU8OXq+dA4ypvAX gtkZeEHlrciba+SNoQhW2zAuBbswdIgq8QrAvCd8RtXhl+FGmplO6FmmQPP/VOJLQKeG lmSFzx8vr3uBR3FO9jdo07DtnmGlt7yu88uhZIWKOItBdFT34hmM/h19aOqh5uOokzxT n5qA== 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=fuFkgpemvt/nKbeeMiVEMuWb9qmHeuuYdngYfr1I2Jk=; b=nNpidBGd0c4Iwj8GOji7WK/39yN07+VFe9Np7GJEN5VrsANb0uXlbFVKMtpKbYqb93 cdgQEHt5eoWwNN1rp4/CG8BwLjHxtr7t9kF288B+QCNblNmB5+npRFPMCtCi8wZ5YLQ4 SfqTuU5lBYgTQkx/g4HzsYHgu2BJC84f6LJZfYfMirlywtJNVkIviHw5qk51aIhCWL8Y QjTIiZTgneNfZHOmgX26y8j+Yy+IhggnZCr4T4oXKeqlp+CluyFntBm0PgPDscdS2dWg D+6qvCO1lnxFnN1uFLj+xq0VssZAbgPmNZerBmFRYvdQS89BarhScKHkV6TbH1ieDDyx p6Aw== 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 4-20020a620504000000b00646672f2be3si4526626pff.282.2023.05.12.07.08.37; Fri, 12 May 2023 07:08:54 -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 S241225AbjELNwb (ORCPT + 99 others); Fri, 12 May 2023 09:52:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59960 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241310AbjELNw2 (ORCPT ); Fri, 12 May 2023 09:52:28 -0400 Received: from verein.lst.de (verein.lst.de [213.95.11.211]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D25E835A9; Fri, 12 May 2023 06:52:27 -0700 (PDT) Received: by verein.lst.de (Postfix, from userid 2407) id 307E268AFE; Fri, 12 May 2023 15:52:25 +0200 (CEST) Date: Fri, 12 May 2023 15:52:24 +0200 From: "hch@lst.de" To: Jinyoung CHOI Cc: "axboe@kernel.dk" , "kbusch@kernel.org" , "hch@lst.de" , "sagi@grimberg.me" , "jejb@linux.ibm.com" , "martin.petersen@oracle.com" , "johannes.thumshirn@wdc.com" , "kch@nvidia.com" , "willy@infradead.org" , "linux-block@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH v2 08/14] scsi: add scsi_alloc_integrity_sgtables() for integrity process Message-ID: <20230512135224.GE32242@lst.de> References: <20230510084407epcms2p123f17696d3c30c749897eeaf2c4de684@epcms2p1> <20230510085607epcms2p3d2b2dfc5db42f77c41f570c361a41c6a@epcms2p3> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230510085607epcms2p3d2b2dfc5db42f77c41f570c361a41c6a@epcms2p3> 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 Wed, May 10, 2023 at 05:56:07PM +0900, Jinyoung CHOI wrote: > + if (WARN_ON_ONCE(!prot_sdb)) { > + /* > + * This can happen if someone (e.g. multipath) > + * queues a command to a device on an adapter > + * that does not support DIX. > + */ > + return BLK_STS_IOERR; Nit: expand the comment to take up all 80 characters now that you've unindented it.