Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp4058866imu; Tue, 18 Dec 2018 08:25:46 -0800 (PST) X-Google-Smtp-Source: AFSGD/WVBZIFEE4o524sSU6mf7h8K9yIxLayQswN0NIhFMj3hqXG50+YCdiK6tJnnQs794ChSGOJ X-Received: by 2002:a63:b543:: with SMTP id u3mr16173959pgo.420.1545150346362; Tue, 18 Dec 2018 08:25:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545150346; cv=none; d=google.com; s=arc-20160816; b=wug9L2k71mwLT2gOGpPEWtxtkl5Y9Xe/8O6FbJ9qgPzCZcJqVuX1Ijw/BgpVxAvn9N t8UtlyNxJAoqC0grTxsd1cPJk7P4MXO8oacKG35NizGPXZGnGe404LMH6nkmbjS1ZqwB htEuCZJ7GpuEWBnKosp62/HE0i+/dB7CzqC8J9aADEMRauRKBdNwpisuyIL0j+aSc4dj DKIiKk+lEJ99ityaeSIv2rHTVg+Ci8hV2MpAaAOHWbnIOAAntH8jf/h/qTCLWM2uZbI5 pjWGUftjmVh4glKMB8t7bFIEZYUcmIj3MztEuS47R8j7gDQA2An12IQaTJeRWylwKbdG e9QQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=0g1/EcXrWfzlu6dFXFwPJ34Xnq9GCNFuM6Gf8l29vM8=; b=hQbo6Pf/GPu84pNi7c72ZnkbGp277CjF7ZkeZo4b1Wo3ppooZiOmX8QbBZRDi0fBr2 6oqAcAbNu0wvazjDAF0+JvbMFELw1oLAe8MjLuvR72mEJppsO72EZgBQj2e0YPMOHhVw dnPc9LKaIbJ19ZMEg7AfuTTrB3EyOyD4Pge2221sByCX4WwmpYp8620giWR6KFR61r1h 7lTxGCqD7xL4TrmvMV/XSthnbB26+6S4HxvtiOQ2owx9Rd+SzpaSYGC5pdEzFxFK9b+o JxYoUy38wxJsMuE5lJ+I8T95gntmHx0Boiv9csciq2/OiSuOqLTP+qwD7rj/xCcAP0x7 KgAA== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e125si13953491pfe.14.2018.12.18.08.25.30; Tue, 18 Dec 2018 08:25:46 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727244AbeLRQXS (ORCPT + 99 others); Tue, 18 Dec 2018 11:23:18 -0500 Received: from mail-ed1-f66.google.com ([209.85.208.66]:40019 "EHLO mail-ed1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726611AbeLRQXR (ORCPT ); Tue, 18 Dec 2018 11:23:17 -0500 Received: by mail-ed1-f66.google.com with SMTP id g22so8335920edr.7 for ; Tue, 18 Dec 2018 08:23:16 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=0g1/EcXrWfzlu6dFXFwPJ34Xnq9GCNFuM6Gf8l29vM8=; b=ecebYUIt2sCAMqs4qrRVQi7ZUZM94PBexWnaLuadSjSdSDjf2PToEtouJNBD/FlQCX RM166TJP34pqrB5vR5JD543T4PpBbM3zYVK5f6HiJ1ETiuUHRGwgnhHgCzA0sWmqsSr1 OKgVNgsAA3J1XionkZoXhBTSsr0QUCi6uzVzk+72MZkyBqQbRORdHpXSdH6An1tq4N3e viL6KjvByXVkIcPyclcVDB5kZyh+5/DH93prDIwabXBN4W+nX3O0o+Sw/GW1WYFM7BHa KrYbAfvJznw/zPvOHnydMyl5mal59bJTL+PxvOY5BBQALU+B68IvdibGB4NIsXh605o+ o9cw== X-Gm-Message-State: AA+aEWa8souZBVKOSRas1U/XEVJDo3e3ftDUmH4RFAP1cytDJcYoMuoa tS5Smdo6ROh4f8Kq8U8lMK8= X-Received: by 2002:a17:906:a301:: with SMTP id j1-v6mr13505963ejz.188.1545150196012; Tue, 18 Dec 2018 08:23:16 -0800 (PST) Received: from tiehlicka.suse.cz (prg-ext-pat.suse.com. [213.151.95.130]) by smtp.gmail.com with ESMTPSA id q16sm4538203eds.60.2018.12.18.08.23.14 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 18 Dec 2018 08:23:15 -0800 (PST) From: Michal Hocko To: Andrew Morton Cc: Pavel Tatashin , , LKML , Michal Hocko Subject: [PATCH] memory_hotplug: add missing newlines to debugging output Date: Tue, 18 Dec 2018 17:23:07 +0100 Message-Id: <20181218162307.10518-1-mhocko@kernel.org> X-Mailer: git-send-email 2.19.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- 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