From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pg1-f178.google.com (mail-pg1-f178.google.com [209.85.215.178]) (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 E82C1303C97 for ; Thu, 19 Feb 2026 14:41:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.215.178 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771512085; cv=none; b=Zkb4GTwVzGMZ4Ziht4mPeh1cUgvgonu4SjyhmcFxhZVhfTSDwkxHZe1wDdQcnSVDj2ICLJiTTLikgONfboJD6TQtQChk5RZwPChW5EYYdgQeuofkx9iYsS3fBdHsJO0/xrq3fdE+OG79SbBrQU4KSyaGCeJ8RMG54JzB+OcO0bw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771512085; c=relaxed/simple; bh=d44/DGh8AsutKWpuyf5eYwKVg3TNfJLP/1qwWcNrbUE=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=GTvKTXbbgsiJzcaI9ePKEXHULje4SfyB5Vkt0fPBARVA93NOhXnecRIfbLmfywilkjBuJQ0ZZzbfHOTgiHeE7jsozAyZuvtRCdTWK4oT+OMoG4VDCUhjW7GI0LzV8pU09GFbEfAq5IdW3YQB5G3ZPfKFyasQWrZjQYPw1NprvFc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=chrisdown.name; spf=pass smtp.mailfrom=chrisdown.name; dkim=pass (1024-bit key) header.d=chrisdown.name header.i=@chrisdown.name header.b=WSP11RqA; arc=none smtp.client-ip=209.85.215.178 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=chrisdown.name Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=chrisdown.name Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=chrisdown.name header.i=@chrisdown.name header.b="WSP11RqA" Received: by mail-pg1-f178.google.com with SMTP id 41be03b00d2f7-c06cb8004e8so473311a12.0 for ; Thu, 19 Feb 2026 06:41:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chrisdown.name; s=google; t=1771512083; x=1772116883; darn=vger.kernel.org; h=user-agent: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=d44/DGh8AsutKWpuyf5eYwKVg3TNfJLP/1qwWcNrbUE=; b=WSP11RqAoaB7zjS0j+N8fwEFIbFMICcEJWCJGXYRFK1i4MAc8pnAxW8yRl99gZC3wP MEaDTqfwB1aSS9iId3Tlzw9DKYiTDABApUIEliFTUmX/R2Qv9Hq9v+H9XhXA3TYvfeJZ Ojhg1t7VSs3nkxsh/8SrgsjPUBuO51Rfh4ckk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1771512083; x=1772116883; h=user-agent: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=d44/DGh8AsutKWpuyf5eYwKVg3TNfJLP/1qwWcNrbUE=; b=FaALquDX5QClUMOr1IKy2iaC7zyAY6tRbPqEkTl/50juALkXZ1kNJNyAkeKZGLSoKJ BldVBJEsoBf0m2QCYO7LzjSfkgZCHiEGUkMD5KElOUwQYvs3qZ7r7JNGph8twx95TYRH kHon3v2qUGzpOOUuN0j4+wLsZUuLxkOD8QpBARnALxHpM9ivvb0+GYAsf7apg8Q8+nGJ /nE/ADZfIAWa1/Yu+bJRXIB0LrpxaYWRGToUrlDtfrWa40SwJngIM8xF3S20sm6uKO2y dbHTJa1SzJf4PdDPxSpoydKqiCT3HYBTvgPygcngDnHIrt9asqYSPpFWhS81DKtN1Zn2 2DGg== X-Forwarded-Encrypted: i=1; AJvYcCVObJ8dDYyDdGOP64cclKt6mcHXmp18dCXLeOdYgZ3EEkrj1XUwZXd0NdNCBdnimhuO+83lorU6zmgDe0Q=@vger.kernel.org X-Gm-Message-State: AOJu0YwTc16/4bJ6l09ItLkZt40Nc/aAI5sei2MSD4NmRuIDJOuhV6Th wLVFNZiIv2j3WMo1ag2RW6fAiHQXWVfGVFxtD+2/1Z0wlO3kgRIIW3b3YgnpYC38bM4= X-Gm-Gg: AZuq6aLnsJVk+mWagrk6GV7btWyzC/CaCKHdT6GYGrkSNFV/+Q2or1B3ETlGOExxk0T UmOPEgTCFEOUYSLglP6JV43julnH9ju5aWLltLG8Oo6Bti4Nzsh6Ea1lTOA8GxZ1QU47PaHUIn1 GT8cMDQEF+Lzg+TuxTQhx0ayseF1f7MFvWFMg9HNKt1gz8XU2o5W/r7DrAQQJclJcPzv8SHpmhX Dp8AtboVg8SUx69BCL/O+3Jor5iZYaOZzgEym+SITYJ/bwNrg7iUH1dmq6wSmAtNLYkbFmIxut+ S2FK6/zm2WN6key+VWWTvvP97EXoZ85MPS9ieIGHYYuJuWIRySF3JtfqT2zG8nhuAHGHcETl2Yr 51khRH5+tf/Sirs93jLwblAUa2QmR7eD6/YmTMK1B+5SS5Sn+k/8TJOicaTMdSb51urRnV5fQyH 7PIbgvXICzuTushDU96c7a X-Received: by 2002:a17:903:2f0c:b0:2a7:3dae:de9b with SMTP id d9443c01a7336-2ab505e8319mr195966035ad.44.1771512083239; Thu, 19 Feb 2026 06:41:23 -0800 (PST) Received: from localhost ([175.139.248.66]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-2ad1aadc7f8sm163662275ad.66.2026.02.19.06.41.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Feb 2026 06:41:22 -0800 (PST) Date: Thu, 19 Feb 2026 22:41:20 +0800 From: Chris Down To: Petr Mladek Cc: John Ogness , Sergey Senozhatsky , Steven Rostedt , Marcos Paulo de Souza , linux-kernel@vger.kernel.org Subject: Re: [PATCH 2/8] printk: Rename preferred_console to preferred_dev_console Message-ID: References: <20260206165002.496724-1-pmladek@suse.com> <20260206165002.496724-3-pmladek@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; format=flowed Content-Disposition: inline In-Reply-To: <20260206165002.496724-3-pmladek@suse.com> User-Agent: Mutt/2.2.15 (2b349c5e) (2025-10-02) Petr Mladek writes: >The preferred_consoles[] array stores information about consoles requested >via the command line, SPCR, Device Tree, or platform-specific code. >Within this array, the 'preferred_console' variable tracks the specific >index that should be associated with /dev/console (typically the last >non-braille console defined). > >The current name "preferred_console" is ambiguous and leads to confusion. >It does not clearly communicate why one console is "more preferred" than >others in the array. Furthermore, entries for Braille consoles can exist >within the preferred_consoles[] array, yet they are never associated with >/dev/console and do not receive standard printk() output. Consequently, >the 'preferred_console' index must skip these entries, which is not >immediately obvious from the name. > >Rename the variable to 'preferred_dev_console' to explicitly clarify its >role in identifying which entry is linked to /dev/console. > >Signed-off-by: Petr Mladek Acked-by: Chris Down