Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp790748rwb; Thu, 10 Nov 2022 07:28:10 -0800 (PST) X-Google-Smtp-Source: AMsMyM4oPUq79LDp1rqa+MHCV3pLg0di8sxRs6eoAJt8T2VFaJP1O6N84EyanRFeAPFZ6r53EF0h X-Received: by 2002:a17:907:c27:b0:7ad:be77:561e with SMTP id ga39-20020a1709070c2700b007adbe77561emr53841825ejc.314.1668094090694; Thu, 10 Nov 2022 07:28:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668094090; cv=none; d=google.com; s=arc-20160816; b=hohmU8EqqX+WrXEOUKc7v4ckz+2CSE+LnKisiIcY0oQGN/Y9e22zYDR56GSGsb1izH M4NPJGmONGq1DZJdQ9FCP8fFW8lPRt6ZHU4xYVz7jXI1pS93nYF1hExg85wCBdR7O6w7 OtV6vWaQibdMaZ1iWnEkAZkDFfft7oSgxL4jwmfVEDLmdeX+02Y4IHm22YETO1B/9/NR C/W/kXAIiLZuF2P0oA/3UFLQaz+mFzww+MkzUFZZxX7tR9/P4vC7Uy8EFfsHwJbzN4SM P5wE+ka4awNIEg4a9sBr1Iui6lY/aE+KJ3quY335XshUB75gKRd2iE/4rUnQLp+Ta5dP IecA== 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=FGAJ3kGAx9OCuMsDUI3cZV1jrujznV8zB1qxjRcC7lU=; b=kJE8egQVFbxBkAOg6T3xC9o0MJeFRx9Se9tCwtgsTgTFkf0FBHWwc+53pEWe2tV/lV JIBImY3JDGNYEFF2g03WqnTforEANF/MZHTycjgotgiPT9YTnqOJ5/v9C3SGstMeBYRH pz0ZT+k8Dw/YFW2qnnS7tqK6dVQAtMH1Ia7da76xx6PnscEMYImfzrbcX/0ckUnF2YCw UuJ09wI6DBUixFPmwmnNvVtFA+qunpJDtgr2zzNbm8L0AzxDU7ny3GVsK2oxosbwXlL6 rtBITFm3FkWES9nCkHxp/PRfczFBs0hlPXtLq2IE/33fvYnBfq/s0CPj8b0vrnaCz6uk OSqw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b=UIYdGp+5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=suse.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id dn14-20020a17090794ce00b007ae61d89b28si16500623ejc.977.2022.11.10.07.27.47; Thu, 10 Nov 2022 07:28:10 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b=UIYdGp+5; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=suse.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230083AbiKJOwq (ORCPT + 92 others); Thu, 10 Nov 2022 09:52:46 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41202 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230020AbiKJOwn (ORCPT ); Thu, 10 Nov 2022 09:52:43 -0500 Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 42EB569DE1 for ; Thu, 10 Nov 2022 06:52:42 -0800 (PST) Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out1.suse.de (Postfix) with ESMTP id EDD102270F; Thu, 10 Nov 2022 14:52:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1668091960; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=FGAJ3kGAx9OCuMsDUI3cZV1jrujznV8zB1qxjRcC7lU=; b=UIYdGp+5XjqeIFOCBbLQeohlzryKD6iW0JXrdVdr66mpsU9YIK/QsB2kJzfPpzMp09O7GT 1Awb8s8n1l+I+NuOz1Qz2fujKH5NG4epOZvIfoF0V8YnZiaURLJQjqfMMrTuoaJbRgef6f 15tCfS+2EYQ++uXvrFm3ll9Uf6IvFIw= Received: from suse.cz (unknown [10.100.201.202]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by relay2.suse.de (Postfix) with ESMTPS id 35BD62C141; Thu, 10 Nov 2022 14:52:40 +0000 (UTC) Date: Thu, 10 Nov 2022 15:52:39 +0100 From: Petr Mladek To: John Ogness Cc: Sergey Senozhatsky , Steven Rostedt , Thomas Gleixner , linux-kernel@vger.kernel.org, Greg Kroah-Hartman , Jiri Slaby , linuxppc-dev@lists.ozlabs.org Subject: Re: [PATCH printk v3 26/40] tty: hvc: use console_is_registered() Message-ID: References: <20221107141638.3790965-1-john.ogness@linutronix.de> <20221107141638.3790965-27-john.ogness@linutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221107141638.3790965-27-john.ogness@linutronix.de> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon 2022-11-07 15:22:24, John Ogness wrote: > It is not reliable to check for CON_ENABLED in order to identify if a > console is registered. Use console_is_registered() instead. > > Signed-off-by: John Ogness Reviewed-by: Petr Mladek Best Regards, Petr