Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp4363312imu; Tue, 18 Dec 2018 13:31:23 -0800 (PST) X-Google-Smtp-Source: AFSGD/XOpcQb1zXdA9I8p3ipSAFWmj1Wr/S+NAxskOrT1zqROt3jVlWKCgQj3EAluV6buOCijRpc X-Received: by 2002:a62:11c7:: with SMTP id 68mr18001132pfr.21.1545168683777; Tue, 18 Dec 2018 13:31:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545168683; cv=none; d=google.com; s=arc-20160816; b=CXg2HmbgvVqqsbz4fYDbHwplT3oGmNuH1drg01wfD5sBT7q6lP+9PZgJTTi9lkrF7e CuYLY7M9uW/eZzktZEvl2f5eSgObw9TKpiwJpAN1KgMZQzIf3eDMssqr3qQQl7P/cj2q ZoQKU4blCNULYNFu7ToqQof82flox15HTxThVonN0OBwqPSig9aO+UrNgFK/JazhrSxE v5FAuBW+BSfpAfr3tf3IRHG/TtXpxdRRFn2G8I4lA1mwFCa0Y222M3d0LpmQFxasVG3x 1T/DA5Tkegajk6QDr5u4rryeb2tYEFUpoTWHYSr1hLD7VDfaHnb7TJXoZ2FCPRfcu8sP 9qjQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:reply-to:message-id :subject:cc:to:from:date:dkim-signature; bh=Qe/9z26MJ28plQcnRiNJ+pvdevYuanRs3dB9ghQ/QEA=; b=A7TOonj06qF92N1WUqh2mCBMscphl1yqhcaP9jbBKtuIVi/rHpyvVk4ZLycukCvbE0 RpD1ND4q2ASndBwwCXgG9YOuCCGmsK1WmJtvqiXbRoP8jfUtxDvtxxp63FbvZgVxNV4O 81zNBryFc9Jsrqjx1vZO419WgJXo5H/OQf8esUDkn2ijT5Pgbft3DS6XEZNbbcTn7vLy Boq1o1XpB4NisnUBh6+8JHentrazfjrfuujfwI4AuujfDxS1gmi1vSQWaj8LdzPdxQvP 4j6fXdTx49QynRvbgeaQg6NqLr6DEQ2bdoqCR/C2aHGoO/yPQUS2m+RC6eZqhx0LZS6r G1kA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=jUriPEK1; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t9si4290059plq.337.2018.12.18.13.31.08; Tue, 18 Dec 2018 13:31:23 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=jUriPEK1; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727165AbeLRV0I (ORCPT + 99 others); Tue, 18 Dec 2018 16:26:08 -0500 Received: from mail-ed1-f67.google.com ([209.85.208.67]:46042 "EHLO mail-ed1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726599AbeLRV0I (ORCPT ); Tue, 18 Dec 2018 16:26:08 -0500 Received: by mail-ed1-f67.google.com with SMTP id d39so15104601edb.12 for ; Tue, 18 Dec 2018 13:26:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:reply-to:references:mime-version :content-disposition:in-reply-to:user-agent; bh=Qe/9z26MJ28plQcnRiNJ+pvdevYuanRs3dB9ghQ/QEA=; b=jUriPEK1lW7py4o8LcU3wq8YqzEc+xAzD/84378HaAKZVIaMIP757XdzWh2kQBXqT2 K6Doo/hULyxhBnjTgs/iVtCnQu+/03gsZ5J+9jL/NXjKkK0Hk4TH0wsCgnljS1nKF/FN B6q2AYUgTEorDXzOzvTpHEurTqYmDT0EwwbZz1//Zxu7llHj0e7wEPt6Qbmh+ar6J983 R1ngw7gnPz0PoR3xJLdRqQrBU0A3CGhmmI+id3cZPj7oE5zMX2hhOYQeTstJxMAxwzqD /MNPvclqILJisU3rqP2H7Ny5SgKRkXCSV21xXbdSLntK89NOQKQBbsAYz+WKeKDbGaf9 obrQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:reply-to :references:mime-version:content-disposition:in-reply-to:user-agent; bh=Qe/9z26MJ28plQcnRiNJ+pvdevYuanRs3dB9ghQ/QEA=; b=Mp/NhR0sTkztUlYFrYThiiIJv7Em7nZvV5sejoN75pr3FLHKt1YuGMgy/dU3HsA4jQ LbGR/3zLhS/YVv7373KoZmjbjV0yiKEJ0CfV4cfNmHg5izZh4I88i08xgJK7NULAUc2g EJMpjpy2UkVZ4MgADbXk4eNdraAhd9ts2vfZV30uf45Ecc1OQTzQN55+9TVmBKmGT+g6 HXCaUsxzG4VBtros2293E0YNLZP7eMWA1X0H5gRcPXEtnYGC3bymUXRbmcgQKc2TN+bw IPg7jC0GX5/CzRpekGUpjOmsMWkCjPNQZXi2L7tgc9fetAeG7wYCeIhioxZ+NfyX05e8 a6uw== X-Gm-Message-State: AA+aEWYaJ6ucONj8QkmUUMIodqUb15ZimpAt7aNirqasw0trUMlZWQ6u E/oDgzt3N0kYNrYpA2VPQtf4EPtU X-Received: by 2002:a50:9315:: with SMTP id m21mr17490609eda.58.1545168366276; Tue, 18 Dec 2018 13:26:06 -0800 (PST) Received: from localhost ([185.92.221.13]) by smtp.gmail.com with ESMTPSA id k20sm4950532eda.71.2018.12.18.13.26.05 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 18 Dec 2018 13:26:05 -0800 (PST) Date: Tue, 18 Dec 2018 21:26:05 +0000 From: Wei Yang To: Michal Hocko Cc: Andrew Morton , Pavel Tatashin , linux-mm@kvack.org, LKML , Michal Hocko Subject: Re: [PATCH] memory_hotplug: add missing newlines to debugging output Message-ID: <20181218212605.4wa35jzlewp3rj7f@master> Reply-To: Wei Yang References: <20181218162307.10518-1-mhocko@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20181218162307.10518-1-mhocko@kernel.org> User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Dec 18, 2018 at 05:23:07PM +0100, Michal Hocko wrote: >From: Michal Hocko > >pages_correctly_probed is missing new lines which means that the line is >not printed rightaway but it rather waits for additional printks. > >Add \n to all three messages in pages_correctly_probed. > >Fixes: b77eab7079d9 ("mm/memory_hotplug: optimize probe routine") >Signed-off-by: Michal Hocko Reviewed-by: Wei Yang >--- > drivers/base/memory.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > >diff --git a/drivers/base/memory.c b/drivers/base/memory.c >index 0e5985682642..b5ff45ab7967 100644 >--- a/drivers/base/memory.c >+++ b/drivers/base/memory.c >@@ -207,15 +207,15 @@ static bool pages_correctly_probed(unsigned long start_pfn) > return false; > > if (!present_section_nr(section_nr)) { >- pr_warn("section %ld pfn[%lx, %lx) not present", >+ pr_warn("section %ld pfn[%lx, %lx) not present\n", > section_nr, pfn, pfn + PAGES_PER_SECTION); > return false; > } else if (!valid_section_nr(section_nr)) { >- pr_warn("section %ld pfn[%lx, %lx) no valid memmap", >+ pr_warn("section %ld pfn[%lx, %lx) no valid memmap\n", > section_nr, pfn, pfn + PAGES_PER_SECTION); > return false; > } else if (online_section_nr(section_nr)) { >- pr_warn("section %ld pfn[%lx, %lx) is already online", >+ pr_warn("section %ld pfn[%lx, %lx) is already online\n", > section_nr, pfn, pfn + PAGES_PER_SECTION); > return false; > } >-- >2.19.2 -- Wei Yang Help you, Help me