Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp683927pxf; Thu, 8 Apr 2021 10:40:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzLdSkEGXqm6yNmlk2Z6Ritfu3h3SBxKEMTnSyP+tERkdQsAOGe9o+oiNYk4HC4F1e0NrGu X-Received: by 2002:aa7:d759:: with SMTP id a25mr13240497eds.248.1617903625562; Thu, 08 Apr 2021 10:40:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617903625; cv=none; d=google.com; s=arc-20160816; b=eAmvACSZ0TZWMwaJkwj6qvMBYuDETMI8IWzgHrTj+Jwuwf7uQkwvLoF52EOAtFYnAt QCxdJXJIMDsGlg3aKZS692h7SzRWZmdIxEhBdJqa7rgxwnxh4S6bCk0N8AKoSQaEqR5b WgYEGkbmEYsaCZnEV5qBwjBUDZTlA6AwkdaVRS/Qp0wVTrGDWboQbgV9QeE+e4j1DLIZ KCfemU/FoVRFVTEMbXJXPVjAMaw5NLL+EZatHQBQbzunJDw8oPd/YNhyNh6RMdqvOc7J vellZXK0dEXoEKN4BYE64aIQ1atTLXel2YoQhx8dtC6fy/0OC6Ho3FcFtBQNOb8gxLAo l4iw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version; bh=Za9qZOBqeZjEVPtGBzrMmWv0sOzk51r1HTrllhzYbGw=; b=v/7qtGn3GQ09Y9j9nJAlmozF3eOs7GjFcS8prWoMSitnMxWM0wsNr40iU3H5N3Tecv IQ0KcbKltbPNiNGsH96DI9dnk/2AIGZ07RW0rdGkQLPnwz4Qm8IyLd7vQZLHR8LhoRGV JrMgB2s+V/mAQ4mjEKycpzz4pkJmP09rb0Ff7qVHu+8ng7S5e2XaybcFRXnW9IFYtjcP JVJYv15C74YIir1rjQw1Jr5f/Izo4BDPEQidNAjKuecRhH7Kdpr+bKTS7J7Timq3wEUg IzH0bUadLprfUnJJyACoArvw6jHiIXG7GxSWAkNlE/hIx9lVYXrjKqEFEKitfgZfPVBp 0qLA== 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c30si110501edf.213.2021.04.08.10.39.49; Thu, 08 Apr 2021 10:40:25 -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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232642AbhDHRik (ORCPT + 99 others); Thu, 8 Apr 2021 13:38:40 -0400 Received: from mail-ot1-f41.google.com ([209.85.210.41]:42935 "EHLO mail-ot1-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232608AbhDHRik (ORCPT ); Thu, 8 Apr 2021 13:38:40 -0400 Received: by mail-ot1-f41.google.com with SMTP id c24-20020a9d6c980000b02902662e210895so3068472otr.9; Thu, 08 Apr 2021 10:38:28 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Za9qZOBqeZjEVPtGBzrMmWv0sOzk51r1HTrllhzYbGw=; b=L/JwskOV2izykcNblXCzZd7JdzP4XpWuVDRPN6SP2WDqisj4l1+7DtOFOHraCYDU0/ wdGj2uNacdf4nzktw3pMXE/qFrXWM7NsJMoIgIdnsYEKbl4z8rfiri1bSSk6BqDg3lpQ nNvexyP5UmsSKS4L7UUAy1AOiLZh9RkE3yJqWkqDLrPb/AOSMI2kRwfmExFlKHjNtvFN a6yQvFA+tNJIfAD3I8sLYJlIux1mCWXCvasTXdq4HEo1LxE/ZnNoL0E/hMNZLK9Gbtj9 zZ23eDaih1MVDHSVT0SIaIndgMoIkl6oqOwuGlC7+PXDD3gQDtQpqPqwRmiW+qDRGkfK lolg== X-Gm-Message-State: AOAM530cR8B/Ml9cBlB19sO59dHE+jtAIdbxsIEfZlPQQC83zgPKHoFk vwZT4Rx74fTBrqBGpvJWGu+wCZ1FDMCvkeTpCr4= X-Received: by 2002:a9d:4811:: with SMTP id c17mr8952295otf.206.1617903508550; Thu, 08 Apr 2021 10:38:28 -0700 (PDT) MIME-Version: 1.0 References: <20210408081444.167868-1-lujialin4@huawei.com> In-Reply-To: <20210408081444.167868-1-lujialin4@huawei.com> From: "Rafael J. Wysocki" Date: Thu, 8 Apr 2021 19:38:17 +0200 Message-ID: Subject: Re: [PATCH -next] PM: fix typos in comments To: Lu Jialin Cc: "Rafael J . Wysocki" , Len Brown , Pavel Machek , Wang Weiyang , Linux Kernel Mailing List , Linux PM Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Apr 8, 2021 at 10:14 AM Lu Jialin wrote: > > 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) > -- Applied as 5.13 material, thanks!