From patchwork Tue Jan 9 18:09:15 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bart Van Assche X-Patchwork-Id: 10152995 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id BA41A602CA for ; Tue, 9 Jan 2018 18:09:19 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9CE15205FD for ; Tue, 9 Jan 2018 18:09:19 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 917B027F10; Tue, 9 Jan 2018 18:09:19 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 06E82205FD for ; Tue, 9 Jan 2018 18:09:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934623AbeAISJR (ORCPT ); Tue, 9 Jan 2018 13:09:17 -0500 Received: from esa1.hgst.iphmx.com ([68.232.141.245]:3816 "EHLO esa1.hgst.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932207AbeAISJQ (ORCPT ); Tue, 9 Jan 2018 13:09:16 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=wdc.com; i=@wdc.com; q=dns/txt; s=dkim.wdc.com; t=1515521355; x=1547057355; h=from:to:cc:subject:date:message-id; bh=1QRRQtYPs8e3dFZGCRD4MkKK5ukCOfBMusXPN7voQ4g=; b=rCci/IsqKhlFxsrXoOw+sfSyuMgi0u0of7V1NvSbEpHUrC/joHEH8CgT RSdI6B62f59MXc6ksPYDcwcchz9a5Z5yqDzXU22HkUHFMdRT9kH31q5hw 67yd1QRoAtGDp/E27sawi2+h0H8YGM85bGmyMQ8SZhZ58hBB+jBGJTfcR qjHzKkKMPDJLgmOeHLjnicIXKna+805Bwrcn0EmN7Bo4Wm+GcEDZifpVk dHxn98+7LefcXasezwg9/ZPuPjHVjQFd36YLNCjdNyOEJWE90IT5g6ycW FXUtsIDnB1VK2QHo0hN4tbAbxw/Ycj5N3Q6anTx6rt3rUOU1sxc234eXX w==; X-IronPort-AV: E=Sophos;i="5.46,336,1511798400"; d="scan'208";a="171116619" Received: from h199-255-45-15.hgst.com (HELO uls-op-cesaep02.wdc.com) ([199.255.45.15]) by ob1.hgst.iphmx.com with ESMTP; 10 Jan 2018 02:09:15 +0800 Received: from uls-op-cesaip02.wdc.com ([10.248.3.37]) by uls-op-cesaep02.wdc.com with ESMTP; 09 Jan 2018 10:04:49 -0800 Received: from thinkpad-bart.sdcorp.global.sandisk.com (HELO thinkpad-bart.int.fusionio.com) ([10.11.171.236]) by uls-op-cesaip02.wdc.com with ESMTP; 09 Jan 2018 10:09:16 -0800 From: Bart Van Assche To: Jens Axboe Cc: linux-block@vger.kernel.org, Christoph Hellwig , Bart Van Assche , Omar Sandoval , Hannes Reinecke , Johannes Thumshirn Subject: [PATCH, resend] blk-mq: Fix spelling in a source code comment Date: Tue, 9 Jan 2018 10:09:15 -0800 Message-Id: <20180109180915.14545-1-bart.vanassche@wdc.com> X-Mailer: git-send-email 2.15.1 Sender: linux-block-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-block@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Change "nedeing" into "needing" and "caes" into "cases". Fixes: commit f906a6a0f426 ("blk-mq: improve tag waiting setup for non-shared tags") Signed-off-by: Bart Van Assche Cc: Christoph Hellwig Cc: Omar Sandoval Cc: Hannes Reinecke Cc: Johannes Thumshirn --- block/blk-mq.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/block/blk-mq.c b/block/blk-mq.c index 34d14ab3e68e..fbb3dcf8342e 100644 --- a/block/blk-mq.c +++ b/block/blk-mq.c @@ -1104,8 +1104,8 @@ static int blk_mq_dispatch_wake(wait_queue_entry_t *wait, unsigned mode, /* * Mark us waiting for a tag. For shared tags, this involves hooking us into - * the tag wakeups. For non-shared tags, we can simply mark us nedeing a - * restart. For both caes, take care to check the condition again after + * the tag wakeups. For non-shared tags, we can simply mark us needing a + * restart. For both cases, take care to check the condition again after * marking us as waiting. */ static bool blk_mq_mark_tag_wait(struct blk_mq_hw_ctx **hctx,