Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp221393pxf; Thu, 8 Apr 2021 01:15:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw4UjEoTMYEaMx+fcZs3Ymhtq/Q8CnKMaRD4w4+oDfvlVnnVzhomGXfYZMqqLkKdYrqSsZb X-Received: by 2002:a17:90b:1d87:: with SMTP id pf7mr7136580pjb.208.1617869733358; Thu, 08 Apr 2021 01:15:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617869733; cv=none; d=google.com; s=arc-20160816; b=KDHHqHVC4p3TMl5/maLy/qVLRhjg+2vfVJkQTXUXf337Qq69/7EyxrAWDn5ydWt66K MDNlOeOLRhGvwihqx23gfxDGOqwkyZca57lRoHKNjnzq0a4oCDTHfCLooWWaY67wisIv c1ijl2qy7sGQ6Sd5eX2eqkUzyv6orch8R1CMP6SMzNFbVszCyHls2JYj7sfRZFmdu4Rm jfhHEqNpYGQzAXsyOjVKkGIs1hflzcgO0Qr+wK4rnp9O2QTKQhBDUFSPyayiweIcfRNy b0QpBGGxTKaMG57hF19bfpt/zFhfw0G42V6/im1YY/lUlRWXsu3v9CF3YvPvUHXgY9CD yjUw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=FRhu4fqZ2pnHEfGESFKGLYZIPnzc3Dy5CDMWI1fbTYM=; b=DN85rUFVutj5USCz+BhXZ1ls8Yk7zXDWH8cynl1RLq8pPkAH3WHsNOXYQkbiKxrk9v i2NvgE/g31Vwm9iwQpuwbA+9Hyhtp/H53QOCf8cuyHEFYAunxcg8577O3u3Y2NRnZNZg Pgpze3hMy39sEaNCKyZs3jVu7tDKya0/UBjcDUFrJLDpUiYK/9XdmgGoYpu7EEeHHpzJ KJcUl0DTKmAUWKZc9GQmR4NpgGA9AH3IYGYjCyjG4liYs0DRKoMz0ea4kY3KGBNvTuew WLBDG+UkYT+4YFQgWDgNiK884cYlB+OC8yOTQr8plvKL/YWGQONQ2DZ70XvWB2b1Qkz3 jnpg== 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=huawei.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a28si26296909pga.104.2021.04.08.01.15.21; Thu, 08 Apr 2021 01:15:33 -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=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229807AbhDHIPA (ORCPT + 99 others); Thu, 8 Apr 2021 04:15:00 -0400 Received: from szxga05-in.huawei.com ([45.249.212.191]:16043 "EHLO szxga05-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229602AbhDHIO7 (ORCPT ); Thu, 8 Apr 2021 04:14:59 -0400 Received: from DGGEMS411-HUB.china.huawei.com (unknown [172.30.72.58]) by szxga05-in.huawei.com (SkyGuard) with ESMTP id 4FGDWN2rlXzPnhp; Thu, 8 Apr 2021 16:12:00 +0800 (CST) Received: from ubuntu1804.huawei.com (10.67.174.175) by DGGEMS411-HUB.china.huawei.com (10.3.19.211) with Microsoft SMTP Server id 14.3.498.0; Thu, 8 Apr 2021 16:14:41 +0800 From: Lu Jialin To: "Rafael J . Wysocki" , Len Brown , Pavel Machek CC: Lu Jialin , Wang Weiyang , , Subject: [PATCH -next] PM: fix typos in comments Date: Thu, 8 Apr 2021 16:14:44 +0800 Message-ID: <20210408081444.167868-1-lujialin4@huawei.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.67.174.175] X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Change occured to occurred in kernel/power/autosleep.c. Change consiting to consisting in kernel/power/snapshot.c. Change avaiable to available in kernel/power/swap.c. No functionality changed. Signed-off-by: Lu Jialin --- kernel/power/autosleep.c | 2 +- kernel/power/snapshot.c | 2 +- kernel/power/swap.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/kernel/power/autosleep.c b/kernel/power/autosleep.c index 9af5a50d3489..b29c8aca7486 100644 --- a/kernel/power/autosleep.c +++ b/kernel/power/autosleep.c @@ -54,7 +54,7 @@ static void try_to_suspend(struct work_struct *work) goto out; /* - * If the wakeup occured for an unknown reason, wait to prevent the + * If the wakeup occurred for an unknown reason, wait to prevent the * system from trying to suspend and waking up in a tight loop. */ if (final_count == initial_count) diff --git a/kernel/power/snapshot.c b/kernel/power/snapshot.c index 64b7aab9aee4..27cb4e7086b7 100644 --- a/kernel/power/snapshot.c +++ b/kernel/power/snapshot.c @@ -329,7 +329,7 @@ static void *chain_alloc(struct chain_allocator *ca, unsigned int size) /** * Data types related to memory bitmaps. * - * Memory bitmap is a structure consiting of many linked lists of + * Memory bitmap is a structure consisting of many linked lists of * objects. The main list's elements are of type struct zone_bitmap * and each of them corresonds to one zone. For each zone bitmap * object there is a list of objects of type struct bm_block that diff --git a/kernel/power/swap.c b/kernel/power/swap.c index 72e33054a2e1..bea3cb8afa11 100644 --- a/kernel/power/swap.c +++ b/kernel/power/swap.c @@ -884,7 +884,7 @@ static int save_image_lzo(struct swap_map_handle *handle, * enough_swap - Make sure we have enough swap to save the image. * * Returns TRUE or FALSE after checking the total amount of swap - * space avaiable from the resume partition. + * space available from the resume partition. */ static int enough_swap(unsigned int nr_pages) -- 2.17.1