From patchwork Sun Feb 4 13:12:26 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 196496 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:168b:b0:106:860b:bbdd with SMTP id ma11csp343734dyb; Sun, 4 Feb 2024 05:13:09 -0800 (PST) X-Google-Smtp-Source: AGHT+IEzb6YzuA+2UFa9wOn/0GETMGZsNNBU/W74TzGX8tnwXuCZdEuW4zno8AKO+idBQhBWWmnl X-Received: by 2002:a05:6402:60b:b0:55f:d6b9:5a9 with SMTP id n11-20020a056402060b00b0055fd6b905a9mr2719281edv.24.1707052389523; Sun, 04 Feb 2024 05:13:09 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707052389; cv=pass; d=google.com; s=arc-20160816; b=PT8kSfWZTT7o9Q9QAShdfizSEiCLbYE9C8Y89UEadad+orGOOwbyJR/HOfruu9fcir J1x6C0Fw3NE0S9KfJaieF385kIElD/aZ1wBkbRbdCzMPnQkgRKSUlGhuB3KEAs6sMHvd fEw42ZX1muxoWXMz+yn7NX3av1RInaCjujhh6V/XFWdQ1ThyR7Ht/rjrH5OT3RFNikpw GyVy8z5zkFmqQASLj82Vs46BPO+bqesid44AvovzxWZP6753z2St9RwAw+kyqteIeZmT HDxgMpr1J1fVU1Qln/aaIiql3A9QoH11o9D9QO+/UL9r7Mys0bI+84OPiIHY7cocjIwl dwFQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=qoHPQVtpOBGAxSY4OLIvLInhdwYyw/2YrGX1xkX0qcM=; fh=/FIO5z98255+Hb0ATz/jV4pZQLcAdvhflPqJl9AJ4ZQ=; b=LOrEzTBvUTqN2syaFE/4fYZU3Rj57d9epLgFr3F3wede2EWBYCi4q46xPSGsmbpyaf NNkqtmDa21q3JZo2WbzR6pk7UisWI5a0GqhX1KQC4FBDNmFk7uEaI3Ifet2xau26ZttG oBowOTArz/LLauSReR6Lcb3suOp7bO8PCA++7HDneyV+vro2eFS900uwiVPQFQq4vvRq PPG/OWhtr+sCdAWWlOn3cnfX0W3ZfYu9nyQFG3fpfOHn3g53If2R8WBWIxDz+kB45suy tfS9OB0h3O/BYSO8pIvlJdk6KPQTxrPzdV3yG/D75W49pudqUgoLpTd1b+Gt/MQ6a+I0 rx+w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=VIaceN9s; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-51659-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-51659-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org X-Forwarded-Encrypted: i=1; AJvYcCU86gBu+0SUwZdeChf90T1Xii+CDa88r4u3iXwKNjN99YN7i6m5E6HLaRqCz6xG9+1OcjFNEHRAq/hLx+H81m3M09zjvQ== Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id n11-20020a50934b000000b0055f0099f907si2872024eda.165.2024.02.04.05.13.09 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 04 Feb 2024 05:13:09 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-51659-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=VIaceN9s; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-51659-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-51659-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=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 am.mirrors.kernel.org (Postfix) with ESMTPS id 09DBF1F236BC for ; Sun, 4 Feb 2024 13:13:09 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 99F3D225B2; Sun, 4 Feb 2024 13:12:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="VIaceN9s" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 EA1F0224CF; Sun, 4 Feb 2024 13:12:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707052366; cv=none; b=grW3OP+93LqH3VxzCOWC8+ah85EyXXHHWOmb3x+7Hf7wEp96mpcEJqahwghyRngEYwPvWBu6BaE88NB6Yz4VGxRqstvdDB4bChUWnx/hBxxeLLdzqAr84e3AmhDkQiWltLBnjF/VqCKPxCzPCJbSYba9nAaaw0h9Bp6sBSdXE38= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707052366; c=relaxed/simple; bh=nH3NzbqLBwHOgGrDWdI4FNLuMls7cfEBPoA/IJE2soY=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=OTt+mEtlFrSCqVJyZHb6RHcMZN8MMg06gWoVvVX34N5gekTPIIpexrgADxe3+/3jBPB5crIFEbesm4tLqhY7nNtv5+A8TJc4Z/6oz7bICT+MBYK5CiRvNkVDqyngCKHaLUuubh+wEy0f5nqK5HUxzFn9mVu+Zlf5n9iLQun/u68= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=VIaceN9s; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id A993CC433C7; Sun, 4 Feb 2024 13:12:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1707052365; bh=nH3NzbqLBwHOgGrDWdI4FNLuMls7cfEBPoA/IJE2soY=; h=From:To:Cc:Subject:Date:From; b=VIaceN9sj2XJBTxfjnVqZxm5olOLj0i7ar4eoSRTRAIuViaqWfQOLqrLWvfMQg8s1 OEGpICA3DP8Ba/xWdNlk9E3/XCFmeRXTKz7i0FfGO05apbv7/sEl9LpGL0j5XtvV2T VUCQPHsrn59POjCDRhvbL29sRQa4O3Wnn0e6Vl7MpKqtJ+5cS5q+YGw/FMbnwqX+vk YWQEuvl2dz0rvIlmcv7kAohq2ekpg8Sgwddk+d6hJEYyBGFGEkZ72nLndtq/77LaDB 42cnySgcEcPEnHoHar85Rq0AV8tMD2dLMoWcwm0er+8TFdigEss1EmULJNxvfZ8OEd 8d1Kjb4zxUpew== From: Masahiro Yamada To: "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , netdev@vger.kernel.org Cc: Masahiro Yamada , Jon Maloy , Ying Xue , linux-kernel@vger.kernel.org, tipc-discussion@lists.sourceforge.net Subject: [PATCH] net: tipc: remove redundant 'bool' from CONFIG_TIPC_{MEDIA_UDP,CRYPTO} Date: Sun, 4 Feb 2024 22:12:26 +0900 Message-Id: <20240204131226.57865-1-masahiroy@kernel.org> X-Mailer: git-send-email 2.40.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1789974166581185679 X-GMAIL-MSGID: 1789974166581185679 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 Reviewed-by: Simon Horman --- 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"