Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp1945334rdb; Sun, 4 Feb 2024 08:00:20 -0800 (PST) X-Google-Smtp-Source: AGHT+IFCmabE6FnJoUE/1Joq/xZnhdQdmdaznLIT+usigIn8XtatDDG7RyhK79WrBE2pYbU/9IIR X-Received: by 2002:a17:902:8ecc:b0:1d7:2645:147e with SMTP id x12-20020a1709028ecc00b001d72645147emr14710910plo.39.1707062420516; Sun, 04 Feb 2024 08:00:20 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707062420; cv=pass; d=google.com; s=arc-20160816; b=DW1yxYEq13z0n3TQlqaaU7T/smDLs1tL8YXczV/MXxv7YD2sJ4V9C9RP5wKMkl5BSd xr0aDiSO4ZNaPOdQuM4w/cCfD3I0R9L6sj9/NP80DDk8mYCWhBdhvVyAlByomwwAQ4Fx 7wSjPLZRMoxqwjRYuCxohUwztgQXvtHaUpeazdt+2HAbsS37rmAg6V4yguJ+K7385N9V GW8EkSjFRW9lz/miQnjb/1Vt1um7FYoDVAHFUa1aAXb2fKKWvTjMQDnOkRhqkA/t1mS3 sDFfzOm/TGaY/qpUa/6Smi4b8YjZKnmCyGhkHOhHcB1QNCFRMfACTbb4iRlnBO+FZKKu xh0A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=HPr856mnIn7UchtaSPmbDT13xvs3uix0kLrT0nAz+H8=; fh=5+xA+s80AlnLQEc3Nb78aY2oGFVRS6z5KA+oOwEhW1M=; b=DMmIP8BRTfn9fvXd9jZRcXhqfiHh8BOjz3TyEr5+FXIzM5cnGv59BqNQqeMT0LEQ72 XF+J2VzaVN8F5kla1vTfHcTdeqKhjbXSlH56juskxjUf8kgJ/Kz7XFr85PORiGAy0Jv5 bfD/XCv4uagPiXV//OknBa4451dJW5jIB73454Jezx9ozIHrHY0rxtt1QQCeIqr0Lgp1 UiXTHMm2WyE+eVKiUu6A76vNtGaGZ7dmXUQCKEVfk3E3NeARW2nzq2kN04Oeq9OvT1ac tu2HJeevYTvBAdAgqutqFEyHDaYY99FCZnVPwW0VEO7sz8hC+2gV5RiJlW49HDy4kTfA fw1Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=T+dbddqf; arc=pass (i=1 dkim=pass dkdomain=infradead.org); spf=pass (google.com: domain of linux-kernel+bounces-51756-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-51756-linux.lists.archive=gmail.com@vger.kernel.org" X-Forwarded-Encrypted: i=1; AJvYcCUmicgHjrMuvfad0h//u1+ia5TCHtkQbSZlt9pKzHePzoJYDMssOH6szxyDX5hguSG8WU/b2Bmzc4c6CLtW4LeYDXEMV0mqI+I534hgPQ== Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id c12-20020a17090a8d0c00b00295cd8cf1fasi3076391pjo.178.2024.02.04.08.00.20 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 04 Feb 2024 08:00:20 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-51756-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=T+dbddqf; arc=pass (i=1 dkim=pass dkdomain=infradead.org); spf=pass (google.com: domain of linux-kernel+bounces-51756-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-51756-linux.lists.archive=gmail.com@vger.kernel.org" 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 sy.mirrors.kernel.org (Postfix) with ESMTPS id E13E8B21D79 for ; Sun, 4 Feb 2024 15:43:48 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 58DAF2261D; Sun, 4 Feb 2024 15:43:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="T+dbddqf" 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.subspace.kernel.org (Postfix) with ESMTPS id 906F9225CE; Sun, 4 Feb 2024 15:43:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.137.202.133 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707061415; cv=none; b=acGXjvMVnQI8n/N+E1jmOcEUJouJm6VsAc1iqvrEEsy1HF7XVxiIMCxYK8kRGGI83bgwNZyEWWL1E3Ao2UdrA5WvI0bD9W4EVueGfgdUxyR7ty+CNfftm2/p1scJDWAV7R7ncMNEvA3r5Fxts38oKPIxNZX3uy8uzXRB1laekfY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707061415; c=relaxed/simple; bh=j8bT92korZPHKU9UJD58DKUuXoIYCuBG26pqbJmYj/Q=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=g+EntRXWg57nL484s8JnwcXqf/1STmddp1WedsB/gIp2or9grMtJdLQO6HzIVOG5JyvWFM8dJvV6IwP5pF/haHUa4jt9yUhUiLRdgHrLFXRX3xsFMrlhwIjRNcnp7JmlfLaaPZHFhZ2UHf09s2qpL+alqCOgGvWpLYZP214Tps0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org; spf=none smtp.mailfrom=infradead.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b=T+dbddqf; arc=none smtp.client-ip=198.137.202.133 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: Content-Type:In-Reply-To:From:References:Cc:To:Subject:MIME-Version:Date: Message-ID:Sender:Reply-To:Content-ID:Content-Description; bh=HPr856mnIn7UchtaSPmbDT13xvs3uix0kLrT0nAz+H8=; b=T+dbddqfIFAZ0ZeL3RVZjQnB4g ZNoTgQJSGq/5zCYsWqAPV1YQiYKCGpvkIXjV/SfBiWNVkZjfJP6/5iitKD5J83fwADBOY4voShV8d yHBHzQs0TtiDpGA97fs5S7Xq5H0UjOTW36fE05FeFh+EJTIJUT+Bo9DJxbzA0/uKcnaqGC9UQPvUO NbCmcoBvaZqUFB2Z+95BkqAZ5Bk9/+UCGq8FkRWbE9Hd3rxMCe3k43rncM1KXuqxY+9HGiUoEC7b8 Q39I9JMnH86N69gmICJTObM3/JLGwz2wiTgP18PmnR1N9mFCBhkpPg5PvjVzJkLauQLHJ4dZhhbLE x8+WXYMA==; Received: from [50.53.50.0] (helo=[192.168.254.15]) by bombadil.infradead.org with esmtpsa (Exim 4.97.1 #2 (Red Hat Linux)) id 1rWeeW-000000014T6-2LMA; Sun, 04 Feb 2024 15:43:29 +0000 Message-ID: Date: Sun, 4 Feb 2024 07:43:28 -0800 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] net: tipc: remove redundant 'bool' from CONFIG_TIPC_{MEDIA_UDP,CRYPTO} Content-Language: en-US To: Masahiro Yamada , "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , netdev@vger.kernel.org Cc: Jon Maloy , Ying Xue , linux-kernel@vger.kernel.org, tipc-discussion@lists.sourceforge.net References: <20240204131226.57865-1-masahiroy@kernel.org> From: Randy Dunlap In-Reply-To: <20240204131226.57865-1-masahiroy@kernel.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 2/4/24 05:12, Masahiro Yamada wrote: > The 'bool' is already specified for these options. > > The second 'bool' under the help message is redundant. > > While I am here, I moved 'default y' above, as it is common to place > the help text last. > > Signed-off-by: Masahiro Yamada Reviewed-by: Randy Dunlap Thanks. > --- > > net/tipc/Kconfig | 7 +++---- > 1 file changed, 3 insertions(+), 4 deletions(-) > > diff --git a/net/tipc/Kconfig b/net/tipc/Kconfig > index be1c4003d67d..bb0d71eb02a6 100644 > --- a/net/tipc/Kconfig > +++ b/net/tipc/Kconfig > @@ -32,16 +32,17 @@ config TIPC_MEDIA_UDP > bool "IP/UDP media type support" > depends on TIPC > select NET_UDP_TUNNEL > + default y > help > Saying Y here will enable support for running TIPC over IP/UDP > - bool > - default y > + > config TIPC_CRYPTO > bool "TIPC encryption support" > depends on TIPC > select CRYPTO > select CRYPTO_AES > select CRYPTO_GCM > + default y > help > Saying Y here will enable support for TIPC encryption. > All TIPC messages will be encrypted/decrypted by using the currently most > @@ -49,8 +50,6 @@ config TIPC_CRYPTO > entering the TIPC stack. > Key setting from user-space is performed via netlink by a user program > (e.g. the iproute2 'tipc' tool). > - bool > - default y > > config TIPC_DIAG > tristate "TIPC: socket monitoring interface" -- #Randy