Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp3889214pxj; Tue, 8 Jun 2021 00:48:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy7e0cA4SL0nOvWXpYkqO3BcJtye2IvphNgN7M1VOS7g3sYu0XHeB/bZcOA48YhqAPCtp93 X-Received: by 2002:a05:6402:31a2:: with SMTP id dj2mr16723345edb.206.1623138503205; Tue, 08 Jun 2021 00:48:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623138503; cv=none; d=google.com; s=arc-20160816; b=ffkgz4EPUOUSr7T5lUBC4F+vQeMyLeDMQzUXTaS6zcNx6CwFpxOOm4Mw9af6sYeeh/ 5wBhWISBfX3f+6ZA4bmhINjK5XP2EySoS3ZwiwXIby7g+uncm6yRGGQ4QmiSfdS7d0fa 4qdNFPHuV5tt2uM/HxM2ijH7oF4bn1o7sjUY0yiqe5xgTZIYhLSbQHGvA4hUiTAOARBV Mjs/VN83sE+L5zn076Xg3mojgmSSm5lyIAeuY7k5uppRMmVjfsVrPsUa30cEj6ug26L4 gr4PU17+9GFvPxLFCQCHLCDFrpoLJfFTm7pxczs9v2+Qs1935Ki2dFqN4gD/P2FRz8i6 +qIw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=obeHhwU0KpqMEC7dy5N59BMiUrz9Q+Ehvd3jNSFRUkE=; b=oz+/L9JdDQoOGF+xeA/UN0OLLMHm5AEi1r+xAn/C4R+K5cjD5+OpUCxquJvL6D4q8x 7O/LDt0X+tjs9iJ3ypoOAPiWAD7M+4WqiQ0r3cOxePTUAOppmTzuF85EDHIC5UUkcdiz CWJ/TfQTLBXN82KimHOMf+iI1zUab2DoOjr77gTnqaOHtp3hrV+uEsa5GBYrc8Z0mPhU 15QI3Qeu6QEkYVgPqkFAIhs4zbZCSwjNC2IU+PO8guBja9yJrjvP1orW85d2CekyrNQS yeftEE+rglSqFFHsmg0qIH/a8oeNofojYxwx3dENV1LguFagtCJOAZfcLpXo2662/CG0 6v4Q== 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 j7si14327180ejc.247.2021.06.08.00.47.59; Tue, 08 Jun 2021 00:48:23 -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 S230160AbhFHHqh (ORCPT + 99 others); Tue, 8 Jun 2021 03:46:37 -0400 Received: from szxga03-in.huawei.com ([45.249.212.189]:4395 "EHLO szxga03-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229507AbhFHHqg (ORCPT ); Tue, 8 Jun 2021 03:46:36 -0400 Received: from dggemv703-chm.china.huawei.com (unknown [172.30.72.57]) by szxga03-in.huawei.com (SkyGuard) with ESMTP id 4FzhxH2M2fz6tqn; Tue, 8 Jun 2021 15:40:51 +0800 (CST) Received: from dggpemm500006.china.huawei.com (7.185.36.236) by dggemv703-chm.china.huawei.com (10.3.19.46) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.2; Tue, 8 Jun 2021 15:44:41 +0800 Received: from thunder-town.china.huawei.com (10.174.177.72) by dggpemm500006.china.huawei.com (7.185.36.236) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.2; Tue, 8 Jun 2021 15:44:41 +0800 From: Zhen Lei To: "Rafael J . Wysocki" , Len Brown , Pavel Machek , linux-pm , linux-kernel CC: Zhen Lei Subject: [PATCH 1/1] PM: remove trailing spaces and tabs Date: Tue, 8 Jun 2021 15:44:37 +0800 Message-ID: <20210608074437.12905-1-thunder.leizhen@huawei.com> X-Mailer: git-send-email 2.26.0.windows.1 MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.174.177.72] X-ClientProxiedBy: dggems701-chm.china.huawei.com (10.3.19.178) To dggpemm500006.china.huawei.com (7.185.36.236) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Run the following command to find and remove the trailing spaces and tabs: find kernel/power/ -type f | xargs sed -r -i 's/[ \t]+$//' Signed-off-by: Zhen Lei --- kernel/power/Kconfig | 12 ++++++------ kernel/power/process.c | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/kernel/power/Kconfig b/kernel/power/Kconfig index 6bfe3ead10ad..a12779650f15 100644 --- a/kernel/power/Kconfig +++ b/kernel/power/Kconfig @@ -98,20 +98,20 @@ config PM_STD_PARTITION default "" help The default resume partition is the partition that the suspend- - to-disk implementation will look for a suspended disk image. + to-disk implementation will look for a suspended disk image. - The partition specified here will be different for almost every user. + The partition specified here will be different for almost every user. It should be a valid swap partition (at least for now) that is turned - on before suspending. + on before suspending. The partition specified can be overridden by specifying: - resume=/dev/ + resume=/dev/ - which will set the resume partition to the device specified. + which will set the resume partition to the device specified. Note there is currently not a way to specify which device to save the - suspended image to. It will simply pick the first available swap + suspended image to. It will simply pick the first available swap device. config PM_SLEEP diff --git a/kernel/power/process.c b/kernel/power/process.c index 50cc63534486..37401c99b7d7 100644 --- a/kernel/power/process.c +++ b/kernel/power/process.c @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-2.0 /* - * drivers/power/process.c - Functions for starting/stopping processes on + * drivers/power/process.c - Functions for starting/stopping processes on * suspend transitions. * * Originally from swsusp. -- 2.25.1