Received: by 2002:a89:288:0:b0:1f7:eeee:6653 with SMTP id j8csp375198lqh; Tue, 7 May 2024 01:36:51 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUJuaHSea1MQpiMAssleI+rt18Ejbg3SDw76et8Ci9o+x5URFZcyw632L14Q8DXTrfvOn+DT/NVWbOLwqaR6GCo8OLfnJjpxBptSOK6xQ== X-Google-Smtp-Source: AGHT+IHK/bT3Ghwhq3W3avvW1kcIWb5uAgwHSTl5M+vHJt0PKO8b8aRW0oBhuoEiWvAIMRMtpuII X-Received: by 2002:a05:6a00:4b08:b0:6ed:caf6:6e54 with SMTP id kq8-20020a056a004b0800b006edcaf66e54mr12748797pfb.28.1715071011104; Tue, 07 May 2024 01:36:51 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715071011; cv=pass; d=google.com; s=arc-20160816; b=sEKc4nbcaTBT1SiXYfGrV83sCM8EXYhj+Gg+Sfr4toIbfbzCKfdzo2Wg1+JUOdzxu0 9EitpYZpZVsTehIWI9Y5m73OluhQWEJ2L4Y97QdeTBVd0fQwA5ugw83NABL3yhci/3Qz zWgIVWS1saQhsQbSJN2Bx9NJ353x6+dUkcP7ln6wnbo23/TTHcwQYLOD8yANF+sWWzNX bbVie6JHzdL2wAw0huI2LmhEoQvNZHsGg/g4mxJUZZ8yyOFInuXexqkr8EBEejbl3gWY lUrFanI+F1uxM6MglcRDkEJ+fykauJ5KD2EgaxC1wqLNXtUSUrP45kjSiof0O3hCjR6k bZMg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=zSBKOMbRiVbRV3cBdVLR0xOKgEKQl0liO6ki8QtObXM=; fh=yiW3EPRLLi2aQoT1Ejjhw+u6/QMiLDw63wGXSHEfVk8=; b=K+0vxEBTPrb2OKA0quHxljFVIGSjG5d9ARA5im4+MWYV1rIZ7TnbT1Lh6kjlnLa3zi quzufQTIoqe4dw22cdITtonGQwPIaQL2knxpowICKikIewYxxjYseD+XiGCOVc1Q9Wy4 u04wnndpve8THofCD1HgFliHiUMPiq4yAor/I4dAS6c22RS2iGFXhChBBmPhAuzqmrl8 R9+CK95ZpaSH1qjlwszmOV0Cf6KZCaZ+N/K3wLioPL8lStWp6E5tlRADRYzzEsHE0RAY 0HqyiLQcW0ScKb6JEvhAIf+1jT21XmAf3BAi8XvYJ440PyWyeQW9v0wtX1Ss9meoTTrh kY+g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@avm.de header.s=mail header.b=wz+oXJ81; arc=pass (i=1 spf=pass spfdomain=avm.de dkim=pass dkdomain=avm.de dmarc=pass fromdomain=avm.de); spf=pass (google.com: domain of linux-kernel+bounces-170878-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-170878-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=avm.de Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id n34-20020a635922000000b0061cde830d09si8446048pgb.840.2024.05.07.01.36.50 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 May 2024 01:36:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-170878-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@avm.de header.s=mail header.b=wz+oXJ81; arc=pass (i=1 spf=pass spfdomain=avm.de dkim=pass dkdomain=avm.de dmarc=pass fromdomain=avm.de); spf=pass (google.com: domain of linux-kernel+bounces-170878-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-170878-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=avm.de Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 5E9432849E4 for ; Tue, 7 May 2024 08:36:50 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 991CA14D2A3; Tue, 7 May 2024 08:36:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=avm.de header.i=@avm.de header.b="wz+oXJ81" Received: from mail.avm.de (mail.avm.de [212.42.244.119]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 44F36197; Tue, 7 May 2024 08:36:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=212.42.244.119 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715071004; cv=none; b=UraTjdnxKFnt1PTS89yeSs1T/GRtigNXhzhDusJmgYhJnKhJdR8uaDXq6Ts05evNEJVniKSS/xFfgOwedWv3eV6t1akVyJT8yyXPmi/fNxDC4XNpRioKWHtsRfD2AjaswkLI/6wejPhL0LmFeyvIoDWFpfTdPODK5uzWFQeYMrA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715071004; c=relaxed/simple; bh=sZS4MN5xnifmnLSkaYI1Llu+jnyg2fYDwfngQe1qpnE=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=R/1n34Xmtw8VDd8WEr0MvqdFePdRKS+ndzD4ThN29pB6AR8bb5tUCK72+ZO9sGXut/i+CnOc+kE3Ukz7pBVIiVAN/wb99JuzuRGVeC7W4Z/v1dFhl/sWJp2eiw6YpGhFvXE4z7u6j9iIMxsds399t2pU0W51IEydU0R2Ka2mv6w= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=avm.de; spf=pass smtp.mailfrom=avm.de; dkim=pass (1024-bit key) header.d=avm.de header.i=@avm.de header.b=wz+oXJ81; arc=none smtp.client-ip=212.42.244.119 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=avm.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=avm.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=avm.de; s=mail; t=1715070655; bh=sZS4MN5xnifmnLSkaYI1Llu+jnyg2fYDwfngQe1qpnE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=wz+oXJ81r4WEnyfs98d9WGOi2aktrZTBTJm6wy5XLHwI/prbStLyIiAPK9oPvX5OT udYjS7M6sJZx6ejERAUq49LyiTl5VSJsMIA2LcaDVCcnfGNGzEGsGI+gYhJquWBJRu zSUG7s5KbPHRBt8+MUoPnbUCKH40axgq0iZVeyGs= Received: from mail-auth.avm.de (dovecot-mx-01.avm.de [212.42.244.71]) by mail.avm.de (Postfix) with ESMTPS; Tue, 7 May 2024 10:30:55 +0200 (CEST) Received: from buildd.core.avm.de (buildd-sv-01.avm.de [172.16.0.225]) by mail-auth.avm.de (Postfix) with ESMTPA id 32455806B0; Tue, 7 May 2024 10:30:55 +0200 (CEST) Received: by buildd.core.avm.de (Postfix, from userid 1000) id 25ACE181070; Tue, 7 May 2024 10:30:55 +0200 (CEST) Date: Tue, 7 May 2024 10:30:55 +0200 From: Nicolas Schier To: Masahiro Yamada Cc: linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, Matt Porter , Alexandre Bounine Subject: Re: [PATCH 1/2] rapidio: specify the type for tristate choice explicitly Message-ID: References: <20240427104231.2728905-1-masahiroy@kernel.org> <20240427104231.2728905-2-masahiroy@kernel.org> 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=utf-8 Content-Disposition: inline In-Reply-To: <20240427104231.2728905-2-masahiroy@kernel.org> X-purgate-ID: 149429::1715070655-A65A22A6-CAA48F91/0/0 X-purgate-type: clean X-purgate-size: 697 X-purgate-Ad: Categorized by eleven eXpurgate (R) http://www.eleven.de X-purgate: This mail is considered clean (visit http://www.eleven.de for further information) X-purgate: clean On Sat, Apr 27, 2024 at 07:42:30PM +0900, Masahiro Yamada wrote: > If the type of choice is not specified, it is implied by the first > entry within the choice block. > > In this case, the first (and only) entry, RAPIDIO_ENUM_BASIC, is > tristate, hence this choice behaves as tristate. > > Kconfig will stop this implication because it has a bug, and 99% of > choice use cases are bool. In fact, this is the only instance of > tristate choice in the kernel. > > Before transitioning the default choice type to 'bool', specify the > type explicitly for this case. > > Signed-off-by: Masahiro Yamada > --- Reviewed-by: Nicolas Schier