From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wr1-f48.google.com (mail-wr1-f48.google.com [209.85.221.48]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7564231AF1A for ; Wed, 26 Nov 2025 13:22:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.48 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764163371; cv=none; b=bCvWb8L1I7hPMyci92okKq8serD4uvaEUP/AA/nd8GFHNxrqSRO5HFeQ1Zp1uNVXiCkpsmKMvArQzNmnUpzbIopsau3VX/U0C9cBTzzUZwL2T5Z98l+0Fu5tq4rOnN4kPokTdTTvWj1f2LXDfxvf59eCZzYnz2ytVbOP08Ma1EQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764163371; c=relaxed/simple; bh=rsQmV307FIzJtWZNxvKq2p6dQfgx6t5kUN2PBnuPCXQ=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=CObXVtfqoOnzIbTZFeJ/FaZ59xSmBvuodkM9IvXomBUHtUZT5DT9BkZepVRZLf5+BByynqgwm8QcHX/dNFxan+E7Dk+ETNbTNg5xS/Zl/pWzPiIs+01gzGAh/7eOO4+hgrmf8Qfou2Rpkq/zlpFZ59lVIZzbhCvfFIGM12kX7yY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=suse.com; spf=pass smtp.mailfrom=suse.com; dkim=pass (2048-bit key) header.d=suse.com header.i=@suse.com header.b=Ii/Wma8i; arc=none smtp.client-ip=209.85.221.48 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=suse.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=suse.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=suse.com header.i=@suse.com header.b="Ii/Wma8i" Received: by mail-wr1-f48.google.com with SMTP id ffacd0b85a97d-42b2e9ac45aso4023536f8f.0 for ; Wed, 26 Nov 2025 05:22:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=google; t=1764163368; x=1764768168; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=I+mhDkufW6jQ5YRScCzzhwHbJH9j3fMQKiq5R61ePjI=; b=Ii/Wma8iVR3tH0x8Xq4ZzD5zCOxdsUK6hrSvGVpSKyYeQFyTJoAutP5+9XjbTHLpjD kf+mauA1wv2fA/1fvNlx/a75g6AXKnmPZii2f3gADpKrTXHSZqxgitYdMfzz9estN/ny JJ/ZWe0XkLhSCoYhohY+pRfRI6trJv5Ihn4yZ4GaB1apUDJeYZ/a/cZYXN89yYoQu5R5 zRnKr8rK1atNDAYlH4SE/Xo8BUtquA+bfU1EJgfAvfjIoX2ZuEoTaz3IIuwkzN2JBFoS KNDikXBKx3UR9iHZVuvSNfF+JaeFUo3I8mW6t0bIpyomDNGLgmSd2aajYwGYmTgwqDi/ erFw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1764163368; x=1764768168; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-gg:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=I+mhDkufW6jQ5YRScCzzhwHbJH9j3fMQKiq5R61ePjI=; b=orhKf3g5cmqRLEtqjJmvhC+Vg4HJVzCnkD+08l/hWaqJQrtOmH7hDY3yZdtF0PxBa8 t9ii2VsxLPkjr4+KCV9pMSsZ5xSlBFvEMoq4eAHbKa9snpI07isKuFbmGyeJ2nVE6J/7 HZEAOtzh5bE4jsqq+W/FLPAUtcGAaFc8KS41454wu5/XhRBAy5c2kaqDp6ftiIpzf9Vp na1Ev7WKE+JRjEmKN7DV2BorapocyPBzPYWYJ494KZLss8bw3ewQQdlL2hzU/NFJw3ka pidIrd2Jxd2ODl45t0vG8N4SQsnvhdZpZCq8+euIffItE6XDkbayGnEHwoKMw8W6vzCb GtpQ== X-Forwarded-Encrypted: i=1; AJvYcCXJtlB9EFVFrouyhIDzUTPIiGWxG3F115udgV0M4fHpoHB7xjD3LVA/xhgdKlCl97hQKmxIOuv2haaRWW4=@vger.kernel.org X-Gm-Message-State: AOJu0YwKWOJN0ViiT3VK4cOBt/F/lAyqkVZLUjZY650EPXM0uGqVRvtV SH4UkSvX2H56XQyaWj2PxXQM6obNr1xsFEK8ZtGtAY+fZF2/dvnTwJ+GPT6yERmyQdg= X-Gm-Gg: ASbGncucDqJaRHvrB0VZYpNrMncw4UHq3lArcuXDCu7RDZm8HzgJQxcyfk2M0vhoguU 5N/IBhUPQ5DyWL0vTe6f7t3szFLcMozpLKhNFpjNK/hyvGcEFNWIXKVLcQoscdiKXV+MlJYVQSP XPIgK4bxfhFxSpEdKUGcprEoChVYvKqTxOcrN0cFu32JS1G5RA0VWkM8w7jbwpnJndLRTAubGTI 8zP7rIK5lQlnO4RHlJap0zkO5hoLMWE1S2J6y5IGm98ixHnAYws4kgAO3sRJ4HVD2mEmeoS3uX/ quPV4qkncKPrdwRai2kp7DXbww3ye2PjgFV1476wcC2k9cUkjINQzwRAOP++Tmx8BUoW1ntvwxT dMpq3/mqDZSnbNWWVGPKROmnhhmq/R4OBg/V9iNBn7eyvX9MdNOfFC1rBmLBARuOB+QPXLU+vR+ 623VFg0ObUtk0zZg== X-Google-Smtp-Source: AGHT+IGJcihhcxfNfd8mIQtL0Z/0hLrPGwpypQO8Ri9oGZbHR7NXbvwNhm6TwKmffccOm4pb+YONkw== X-Received: by 2002:a05:6000:2288:b0:429:c4bb:fbbb with SMTP id ffacd0b85a97d-42e0f2129cemr6983138f8f.13.1764163367783; Wed, 26 Nov 2025 05:22:47 -0800 (PST) Received: from pathway.suse.cz ([176.114.240.130]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-42cb7fa3a81sm41314165f8f.26.2025.11.26.05.22.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Nov 2025 05:22:47 -0800 (PST) Date: Wed, 26 Nov 2025 14:22:44 +0100 From: Petr Mladek To: Marcos Paulo de Souza Cc: Steven Rostedt , John Ogness , Sergey Senozhatsky , Greg Kroah-Hartman , Jiri Slaby , Jason Wessel , Daniel Thompson , Douglas Anderson , Richard Weinberger , Anton Ivanov , Johannes Berg , linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org, kgdb-bugreport@lists.sourceforge.net, linux-um@lists.infradead.org Subject: Re: [PATCH v2 2/4] arch: um: kmsg_dump: Use console_is_usable Message-ID: References: <20251121-printk-cleanup-part2-v2-0-57b8b78647f4@suse.com> <20251121-printk-cleanup-part2-v2-2-57b8b78647f4@suse.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20251121-printk-cleanup-part2-v2-2-57b8b78647f4@suse.com> On Fri 2025-11-21 15:50:34, Marcos Paulo de Souza wrote: > All consoles found on for_each_console are registered, meaning that all > of them have the CON_ENABLED flag set. Since NBCON was introduced it's > important to check if a given console also implements the NBCON callbacks. > The function console_is_usable does exactly that. > > Signed-off-by: Marcos Paulo de Souza Makes sense: Reviewed-by: Petr Mladek Best Regards, Petr