Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1972042ybt; Thu, 2 Jul 2020 19:50:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxHoeskVXg/2IN9JkQdlnNw0wR57VlDmLsGuqRWRwzMw/jZ3a7aRo4lnMd+ZpCdsKwXQH5U X-Received: by 2002:a50:e387:: with SMTP id b7mr37244149edm.190.1593744622830; Thu, 02 Jul 2020 19:50:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593744622; cv=none; d=google.com; s=arc-20160816; b=cOmsvxzIjH7dbabednNHweAhIktfg3QaoCP0NeDE9e26i7rdCiZQ9KBOJwthNNQw8C wI2NHxKJ70+Kze+9QsLOTHlPdfUUwylIj9dVqZ2HV/TNGl4IBIkqPuMGM2j61g3m6eqB VH/9DCQ8p7qhM3esV9XEhVOIl28f3XKHSSMSe7BFXpyJtbRxy388cTq406Fg3n0RJJIN FIbeAgpZzN/eIOJoaJ3O8YhvPsUSkP6ujJ5vL78OO/iCazcZnZ0YQvxnik/uGYgbtbE0 xogb0p7B8UqohpRs8//+i6Fo7ALzzIzTgQz5Tuk30y8c9pLXxA6ESU/mc/NCLBPMoCTP 6zzA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:references :in-reply-to:message-id:date:subject:cc:to:from; bh=nUs9oPHQhUlXaP+m5ay+G37uuiCo1J2uQsbzNkNqS8g=; b=DhkaqTsB3AcCLfgc5th5Yf27Y1gJjqIkzNUdX5cJ22LbmTaWUBuL8F/LuodAuiODqq +X0Axi9bsRSbp7sJvM97nqSPwXqtdfMgZOP6gH+SdoKxSGpOwLnCvXZ8DFyq4mLt+dyR Zh+bhe2waE/99G3lyIkW82qndc08Fr06ooBf0XqMQeND/iGwptaUX/mkWiuIiIqUupWG 6jTDZa2Fto9n1gVBx6/WOZq/j61xm1S3RNhYAB+hG2an6p87RkjJ041hdsQTLb/KZDC0 jOGAwGz64xus3PJlUfmz4ulHxy0TG3nHDnAgQs8EINhuvtyzWBvgrLVb+bNU9lPw8AFu MW8w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ox25si6901478ejb.408.2020.07.02.19.49.59; Thu, 02 Jul 2020 19:50:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726260AbgGCCto (ORCPT + 99 others); Thu, 2 Jul 2020 22:49:44 -0400 Received: from out30-130.freemail.mail.aliyun.com ([115.124.30.130]:53954 "EHLO out30-130.freemail.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725937AbgGCCto (ORCPT ); Thu, 2 Jul 2020 22:49:44 -0400 X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R201e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=e01e07488;MF=baolin.wang@linux.alibaba.com;NM=1;PH=DS;RN=8;SR=0;TI=SMTPD_---0U1XNlnV_1593744580; Received: from localhost(mailfrom:baolin.wang@linux.alibaba.com fp:SMTPD_---0U1XNlnV_1593744580) by smtp.aliyun-inc.com(127.0.0.1); Fri, 03 Jul 2020 10:49:41 +0800 From: Baolin Wang To: kbusch@kernel.org, axboe@fb.com, hch@lst.de, sagi@grimberg.me Cc: baolin.wang@linux.alibaba.com, baolin.wang7@gmail.com, linux-nvme@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/5] nvme-pci: Fix some comments issues Date: Fri, 3 Jul 2020 10:49:20 +0800 Message-Id: <3820a0fc3c74f9a70a8856172d499de4dee3c2b7.1593743937.git.baolin.wang@linux.alibaba.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: References: In-Reply-To: References: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fix comments' typo and remove whitespaces before tabs to cleanup checkpatch errors. Signed-off-by: Baolin Wang --- drivers/nvme/host/pci.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/nvme/host/pci.c b/drivers/nvme/host/pci.c index c283e8d..a3d0c86 100644 --- a/drivers/nvme/host/pci.c +++ b/drivers/nvme/host/pci.c @@ -1260,9 +1260,9 @@ static enum blk_eh_timer_return nvme_timeout(struct request *req, bool reserved) } /* - * Shutdown the controller immediately and schedule a reset if the - * command was already aborted once before and still hasn't been - * returned to the driver, or if this is the admin queue. + * Shutdown the controller immediately and schedule a reset if the + * command was already aborted once before and still hasn't been + * returned to the driver, or if this is the admin queue. */ if (!nvmeq->qid || iod->aborted) { dev_warn(dev->ctrl.device, @@ -2002,7 +2002,7 @@ static void nvme_calc_irq_sets(struct irq_affinity *affd, unsigned int nrirqs) unsigned int nr_read_queues, nr_write_queues = dev->nr_write_queues; /* - * If there is no interupt available for queues, ensure that + * If there is no interrupt available for queues, ensure that * the default queue is set to 1. The affinity set size is * also set to one, but the irq core ignores it for this case. * -- 1.8.3.1