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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 8570FC4332F for ; Thu, 10 Nov 2022 15:06:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=miaTBMJj0stIIKKt3LJ633Ll3RC42s7W0BJdavjm8u8=; b=YhrpGMb2cSjJ5h BS9/5MH5RBBwJLLBJ5dUBHw47yz4qJloYxUcOiLp95+G1/ddgWT9s2H4kI2zr6Br1Razv00zWoU8C ACYHbtEPXfVDZx/F3jjRkFDlkbci/eOZq4LlDtZwKMtDrcvDf79iD3UXoUwTik0uEilEnKWe/PfSF B1vzC5fGzjrRol39yi4O0olonCzG9lXOCsmohRZhlMM+6mzKXo7geJ9TWXOvZFE2/s0UqTNqTpIQb qDsQpvH0StmARlrQA+AO1kg2r4462oABc+aqA2zmoAKMm+ffLB7/3enG22L+lWKM/Tt4pNuh2HfZS tNVBbUR2SXERray7dK3g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ot96Q-006aZ0-99; Thu, 10 Nov 2022 15:04:26 +0000 Received: from smtp-out2.suse.de ([2001:67c:2178:6::1d]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ot96N-006aVh-Bk for linux-arm-kernel@lists.infradead.org; Thu, 10 Nov 2022 15:04:24 +0000 Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out2.suse.de (Postfix) with ESMTP id ABEFE1FD5C; Thu, 10 Nov 2022 15:04:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1668092659; 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=lJrwd8t/UAEeuREQtjH/QfS6kAN/cP46SbcGQcuaJHE=; b=Y3WSyMTIwuaRKm0dSjBratZi+dxLnpNyxQuXk9TrEzU+uHVhLGf4Lyc6xJ7Sn83FdsSJoV MvsTdwHZ8ndLlM2GjOEN0IqUTHc8H/94MIVZ2wr0MvNdJNnk6zsf2ZvCmcxFms0R8Uhjed YgjWu4AdzFRCMXaTvjoT8rkPCZpET0g= 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 6AC252C141; Thu, 10 Nov 2022 15:04:19 +0000 (UTC) Date: Thu, 10 Nov 2022 16:04:19 +0100 From: Petr Mladek To: John Ogness Cc: Sergey Senozhatsky , Steven Rostedt , Thomas Gleixner , linux-kernel@vger.kernel.org, Greg Kroah-Hartman , Jiri Slaby , Michal Simek , linux-serial@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH printk v3 30/40] tty: serial: xilinx_uartps: use console_is_registered() Message-ID: References: <20221107141638.3790965-1-john.ogness@linutronix.de> <20221107141638.3790965-31-john.ogness@linutronix.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20221107141638.3790965-31-john.ogness@linutronix.de> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221110_070423_589262_23AB876E X-CRM114-Status: UNSURE ( 9.96 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Mon 2022-11-07 15:22:28, 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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel