From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, UNPARSEABLE_RELAY autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2EEF2C433B4 for ; Fri, 14 May 2021 17:39:04 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 1277061444 for ; Fri, 14 May 2021 17:39:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235181AbhENRkO (ORCPT ); Fri, 14 May 2021 13:40:14 -0400 Received: from smtprelay0173.hostedemail.com ([216.40.44.173]:58652 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S230487AbhENRkN (ORCPT ); Fri, 14 May 2021 13:40:13 -0400 Received: from omf17.hostedemail.com (clb03-v110.bra.tucows.net [216.40.38.60]) by smtprelay01.hostedemail.com (Postfix) with ESMTP id 710E4100E7B42; Fri, 14 May 2021 17:39:01 +0000 (UTC) Received: from [HIDDEN] (Authenticated sender: joe@perches.com) by omf17.hostedemail.com (Postfix) with ESMTPA id D0AF127DD36; Fri, 14 May 2021 17:38:59 +0000 (UTC) Message-ID: <7cc30a8a6644bb60e5f3358e89253d9fc783fe54.camel@perches.com> Subject: Re: [PATCH 2/2] x86/e820: Use pr_debug to avoid spamming dmesg log with debug messages From: Joe Perches To: Jason Baron , Heiner Kallweit , Thomas Gleixner , Ingo Molnar , Borislav Petkov , x86@kernel.org, "H. Peter Anvin" Cc: Linux Kernel Mailing List Date: Fri, 14 May 2021 10:38:58 -0700 In-Reply-To: <5a416031-ddcd-7ef4-ec33-47134bf064bb@akamai.com> References: <6d55670d-2f06-d768-699f-5a79cece6ce0@gmail.com> <59985635-665b-773f-de8f-b15fe3f60196@gmail.com> <1789b1da-7a0f-9fc9-6ed2-ff68e2306342@akamai.com> <204a99e1-de7a-4434-0932-45f1b507e9ec@gmail.com> <5a416031-ddcd-7ef4-ec33-47134bf064bb@akamai.com> Content-Type: text/plain; charset="ISO-8859-1" User-Agent: Evolution 3.38.1-1 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Rspamd-Server: rspamout05 X-Rspamd-Queue-Id: D0AF127DD36 X-Stat-Signature: zncc8s658w5jrhh4wga878pkkrtggy83 X-Session-Marker: 6A6F6540706572636865732E636F6D X-Session-ID: U2FsdGVkX1+LWHGGfrT5j+QHl9ZY+J10lcSgt4UtBVI= X-HE-Tag: 1621013939-940429 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 2021-05-11 at 17:31 -0400, Jason Baron wrote: > That said, I do see the value in not having to open code the branch stuff, and > making pr_debug() consistent with printk which does return a value. So that > makes sense to me. IMO: printk should not return a value.