From patchwork Wed Mar 28 17:01:10 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Limonciello, Mario" X-Patchwork-Id: 10313627 X-Patchwork-Delegate: rjw@sisk.pl 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 5F65860467 for ; Wed, 28 Mar 2018 17:01:33 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 513642949B for ; Wed, 28 Mar 2018 17:01:33 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4059829F95; Wed, 28 Mar 2018 17:01:33 +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 BE4132949B for ; Wed, 28 Mar 2018 17:01:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752894AbeC1RBb (ORCPT ); Wed, 28 Mar 2018 13:01:31 -0400 Received: from esa7.dell-outbound.iphmx.com ([68.232.153.96]:27321 "EHLO esa7.dell-outbound.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752399AbeC1RBa (ORCPT ); Wed, 28 Mar 2018 13:01:30 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=dell.com; i=@dell.com; q=dns/txt; s=smtpout; t=1522255928; x=1553791928; h=from:to:cc:subject:date:message-id:in-reply-to: references; bh=A+lS37jA9fFq2IvCCeP/ypzz8VFR04qyJXcDd2vnZC0=; b=O2LKvUHy/CjPOiBblyhfEY6Z/0CFkIruuTJpQDY3lWfi7BkpNUCqE+yF XO+VNfHAKlC6tck1u+hZyb9HPMzDLTXMbhbk82EzsxuKoxN+yoTGUdsiJ 1XTwXurir19jAo3C/Jio6SNzBd1Bvt4k+YY3rWMqjdGMGsAuoF3+IPr5V 0=; X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: =?us-ascii?q?A2H0AAC1ybtamMmZ6ERdGgEBAQEBAgEBA?= =?us-ascii?q?QEIAQEBAYURKJhdgwOSSoF6C4F6gwoChA0hNRcBAgEBAQEBAQIBAhABAQEBAQg?= =?us-ascii?q?LCwYoL4I4IoJNBnkQPxJXBhOFDq4OiEaCKYdegVQ/iEgbhXAChwSFTIpjCIFfj?= =?us-ascii?q?EkCjC+CJo1RgSUeAYIIcIMSgi6OPVGNKoJGAQE?= X-IPAS-Result: =?us-ascii?q?A2H0AAC1ybtamMmZ6ERdGgEBAQEBAgEBAQEIAQEBAYURKJh?= =?us-ascii?q?dgwOSSoF6C4F6gwoChA0hNRcBAgEBAQEBAQIBAhABAQEBAQgLCwYoL4I4IoJNB?= =?us-ascii?q?nkQPxJXBhOFDq4OiEaCKYdegVQ/iEgbhXAChwSFTIpjCIFfjEkCjC+CJo1RgSU?= =?us-ascii?q?eAYIIcIMSgi6OPVGNKoJGAQE?= Received: from esa1.dell-outbound2.iphmx.com ([68.232.153.201]) by esa7.dell-outbound.iphmx.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 28 Mar 2018 11:52:08 -0500 Received: from ausxippc110.us.dell.com ([143.166.85.200]) by esa1.dell-outbound2.iphmx.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 28 Mar 2018 22:57:33 +0600 X-LoopCount0: from 10.208.86.39 X-IronPort-AV: E=Sophos;i="5.48,372,1517896800"; d="scan'208";a="637271540" X-DLP: DLP_GlobalPCIDSS From: Mario Limonciello To: "Rafael J . Wysocki" Cc: linux-acpi@vger.kernel.org, LKML , Mario Limonciello Subject: [PATCH v3 2/2] power/hibernate: Change message when writing to /sys/power/resume Date: Wed, 28 Mar 2018 12:01:10 -0500 Message-Id: <1522256470-2825-2-git-send-email-mario.limonciello@dell.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1522256470-2825-1-git-send-email-mario.limonciello@dell.com> References: <1522256470-2825-1-git-send-email-mario.limonciello@dell.com> Sender: linux-acpi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This file is used both for setting the wakeup device without kernel command line as well as for actually waking the system (when appropriate swap header is in place). To avoid confusion on incorrect logs in system log downgrade the message to debug and make it clearer. Signed-off-by: Mario Limonciello --- kernel/power/hibernate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/power/hibernate.c b/kernel/power/hibernate.c index d58fad3d..1028ecb 100644 --- a/kernel/power/hibernate.c +++ b/kernel/power/hibernate.c @@ -1053,7 +1053,7 @@ static ssize_t resume_store(struct kobject *kobj, struct kobj_attribute *attr, lock_system_sleep(); swsusp_resume_device = res; unlock_system_sleep(); - pr_info("Starting manual resume from disk\n"); + pm_pr_dbg("Configured resume from disk to %u\n", swsusp_resume_device); noresume = 0; software_resume(); return n;