Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp225359rdh; Thu, 23 Nov 2023 02:07:47 -0800 (PST) X-Google-Smtp-Source: AGHT+IHpWj+72H65RYSjarK3ch58KcDxoZixE3QmnxL9oWqj05iOukOGXBIchclcjGAlFJFKPJkY X-Received: by 2002:a05:6e02:2187:b0:35a:b6ce:cedf with SMTP id j7-20020a056e02218700b0035ab6cecedfmr6493173ila.13.1700734067498; Thu, 23 Nov 2023 02:07:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700734067; cv=none; d=google.com; s=arc-20160816; b=yzEnQYMyo6NhOkcNxJ9tJOmvSyMhaeIAFE/Ow+m72zO+hDR4P3wnX6j8XniDUyZKYd SwINs5FoCUJV5YmY6S0XH6Kt4Qw5Qz7pwFML+59OVYBJwLzvBs3GRU5+2rcvGJmbN5bU c7vVKCxQHzQHj2kuLRdUweOiab5sY3tqetq7b1VBvMXX5lJ+3xV2PCEK5pAOOX0nE+SK ihx74Be/IdtO0ie8Snm55RDGVmkuDcQZzw5xk46Z7fGuCV9wV4dL1AdVZ6BXDHeTs1Pz R2IQUbplpA43l2yLSz4a8Nv0bAm1sM8FU9HRaBUBnV/reTK7TmCY9gV2/McwlbynAXWQ eHRg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=bE5Mk0rRNsSyL+xysoCOfeLauKnQnCQahMFj2FzmViM=; fh=qZ9e41FKcpZ3r58a+6luvssLnH2GL9t5GNQafeDgieM=; b=KUM9kT8Y3oSYUM7/B5Ratz7KCDrRCGTtXDXeN9bmAmw1B+OienrVevqrUE50jfeTX4 KRHv7plCkQzi05S5EzRU2qesZHzqaRePBXRsaIk1qmCXkyvYbT+Qfib/d+89Wak0LzBI 3DhhjWieMhW+XHo6TK4f7qya2YcrH7ASlF2cwVrHH9RPnQju/WpqCruNGvbwVq6yx5kw YTwcb+R1eLQ8eVrjvh6cke+K91LA43wgcNk/5mziEUvHzCtbuDFnbSb/xheBQVJfc70n Ri70n7kVWySOCWaXAtzRjyOwvY/fgMpcIKOJUmF85MrerL/e41cFgtfu816Wd1YdILEO jrPQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=VOskhRie; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 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 fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id 10-20020a63144a000000b00584b6af3b9fsi1000951pgu.524.2023.11.23.02.07.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Nov 2023 02:07:47 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=VOskhRie; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id CBB4E83C75A5; Thu, 23 Nov 2023 02:07:31 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235262AbjKWKG6 (ORCPT + 99 others); Thu, 23 Nov 2023 05:06:58 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32992 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235213AbjKWKGr (ORCPT ); Thu, 23 Nov 2023 05:06:47 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E0E6DD62 for ; Thu, 23 Nov 2023 02:06:53 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2358DC433C8; Thu, 23 Nov 2023 10:06:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1700734013; bh=hHlmaaenY3K3RyRqebqvCpM/Pdx7EFiDr57xLbhkwmU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=VOskhRiejjbd78wVpvIEcuUhnWfPA/pMYa8JaotvzigQozPtoR53EOFVp27EIjpJo 5NxxIBE0GcNP1T0HnntGtFY3PF4Ap0FNWwrKkqOr4kfGfMvhpnkcwWHVHH+hPHVfaO kB3uLYjpi6SzP/SH56dNJFAaM26cXAYy1kDjNJftAZRqetJDs/ZoY5Q3ikskMdSRQE GfR2ZbRFSW29XywgSoZH9cQJH0NWqBYwmBsxDSsboP2pwk0Ty49hLlCxYofICXQGUd 0Tz92uuuOIG7VDOYgkAHIs8lMY24XAR++o6Dcv6mXkoVjP2cob+/+CR401JTNq5S/2 QzGJOhC/pHYFA== Date: Thu, 23 Nov 2023 12:06:38 +0200 From: Mike Rapoport To: Serge Semin Cc: Thomas Bogendoerfer , Andrew Morton , Matthew Wilcox , Alexey Malahov , Arnd Bergmann , Aleksandar Rikalo , Aleksandar Rikalo , Dragan Mladjenovic , Chao-ying Fu , Jiaxun Yang , Yinglu Yang , Tiezhu Yang , Marc Zyngier , linux-mips@vger.kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 6/7] mm/mm_init.c: Append '\n' to the unavailable ranges log-message Message-ID: <20231123100638.GE636165@kernel.org> References: <20231122182419.30633-1-fancer.lancer@gmail.com> <20231122182419.30633-7-fancer.lancer@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231122182419.30633-7-fancer.lancer@gmail.com> X-Spam-Status: No, score=-1.3 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Thu, 23 Nov 2023 02:07:31 -0800 (PST) On Wed, Nov 22, 2023 at 09:24:04PM +0300, Serge Semin wrote: > Based on the init_unavailable_range() method and it's callee semantics no > multi-line info messages are intended to be printed to the console. Thus > append the '\n' symbol to the respective info string. > > Signed-off-by: Serge Semin Reviewed-by: Mike Rapoport (IBM) > --- > mm/mm_init.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/mm/mm_init.c b/mm/mm_init.c > index 3fa33e2d32ba..db8b91175834 100644 > --- a/mm/mm_init.c > +++ b/mm/mm_init.c > @@ -827,7 +827,7 @@ static void __init init_unavailable_range(unsigned long spfn, > } > > if (pgcnt) > - pr_info("On node %d, zone %s: %lld pages in unavailable ranges", > + pr_info("On node %d, zone %s: %lld pages in unavailable ranges\n", > node, zone_names[zone], pgcnt); > } > > -- > 2.42.1 > -- Sincerely yours, Mike.