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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 708B4FA373D for ; Tue, 25 Oct 2022 01:16:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231411AbiJYBQi (ORCPT ); Mon, 24 Oct 2022 21:16:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42606 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231485AbiJYBQP (ORCPT ); Mon, 24 Oct 2022 21:16:15 -0400 Received: from mail-ej1-x635.google.com (mail-ej1-x635.google.com [IPv6:2a00:1450:4864:20::635]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 61F0E50501 for ; Mon, 24 Oct 2022 17:34:17 -0700 (PDT) Received: by mail-ej1-x635.google.com with SMTP id 13so8824045ejn.3 for ; Mon, 24 Oct 2022 17:34:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=njSAeeEWS4YTFoFUiTIV452Wm8jZRn/VS5t9bD4jpSw=; b=Zs5ZG44XK6uYkMM2kvzLquvdTYQabPJs6GmRjz64lCMMjMcN4yFTyUa3U3l1zZlS/3 luA9yvHgX+ddv8Olw4MiBPEC0ZtCCkW/eddixOLkvRLZnFOOk84DafQ9XLq0O5QapXzn yYbWlG4Rc1xGqRYpgBcXZd9GP+hJg0pZWif6E= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=njSAeeEWS4YTFoFUiTIV452Wm8jZRn/VS5t9bD4jpSw=; b=2K0GgiSPBsPQCO5Ztcd3MtRwcdyTtEvpKdILEGiLnkj5xQXegj+ttp2dCpUW0OyjBK etHiV7W9uJqt4AbmgctkSbA4Lcui1dwySomZlptymbsY04Wx3xDzcubUUVTiYIGKimf6 VnikD8tcaLkXhd7g360gR3VGNVhhVID4gwHPRyPGbLOx4h6tmMPylF6nNCL98+1dhv9k mablx86BzAICLkybviF0DiEZhOMlsbbrnrHYDFlUyY1Pm7B5AGUMmyqBNOG5uMkMmQC1 7Ff0Ybnv/3Phygm/F2tvDUYInHF6C6nj9YcELw9WiJMP1zQHXYmPyzoTqLtE1n1fNPbb 7zIg== X-Gm-Message-State: ACrzQf3uw4LRIIaOipYF8MSe4KacJwniYyPE67wwul1QWoEMpLL2Ot1z IlK/uiQ5TEgDwGFoLzdxjY92/FvIUNWK1088 X-Google-Smtp-Source: AMsMyM7XwpLZrQ1qvtK1Wo+5WcChOIlX5ekmCvU4ItGidsijBJxUBGNZJkXY4NINBfYkRgM8HENPvg== X-Received: by 2002:a17:907:25c5:b0:783:f5df:900e with SMTP id ae5-20020a17090725c500b00783f5df900emr28995804ejc.491.1666658055424; Mon, 24 Oct 2022 17:34:15 -0700 (PDT) Received: from mail-wr1-f42.google.com (mail-wr1-f42.google.com. [209.85.221.42]) by smtp.gmail.com with ESMTPSA id 15-20020a170906328f00b007933047f930sm532915ejw.157.2022.10.24.17.34.13 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 24 Oct 2022 17:34:13 -0700 (PDT) Received: by mail-wr1-f42.google.com with SMTP id y16so8024826wrt.12 for ; Mon, 24 Oct 2022 17:34:13 -0700 (PDT) X-Received: by 2002:adf:f641:0:b0:236:737f:8e00 with SMTP id x1-20020adff641000000b00236737f8e00mr4369053wrp.659.1666658053078; Mon, 24 Oct 2022 17:34:13 -0700 (PDT) MIME-Version: 1.0 References: <20221019145600.1282823-1-john.ogness@linutronix.de> <20221019145600.1282823-20-john.ogness@linutronix.de> In-Reply-To: <20221019145600.1282823-20-john.ogness@linutronix.de> From: Doug Anderson Date: Mon, 24 Oct 2022 17:34:01 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH printk v2 19/38] kdb: kdb_io: use console_is_enabled() To: John Ogness Cc: Petr Mladek , Sergey Senozhatsky , Steven Rostedt , Thomas Gleixner , linux-kernel@vger.kernel.org, Jason Wessel , Daniel Thompson , Luis Chamberlain , Aaron Tomlin , kgdb-bugreport@lists.sourceforge.net Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On Wed, Oct 19, 2022 at 7:56 AM John Ogness wrote: > > Replace (console->flags & CON_ENABLED) usage with console_is_enabled(). > > Signed-off-by: John Ogness > --- > kernel/debug/kdb/kdb_io.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Reviewed-by: Douglas Anderson