Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp1356029imm; Wed, 10 Oct 2018 13:12:58 -0700 (PDT) X-Google-Smtp-Source: ACcGV61M/Gb53Q6Vi3EQYk0Ddq52WKhFrPI9YgBdiukoZPIegZhzK2JkKNaOrIRcXWRr4uC+0Woa X-Received: by 2002:a17:902:5a45:: with SMTP id f5-v6mr34887204plm.26.1539202378416; Wed, 10 Oct 2018 13:12:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539202378; cv=none; d=google.com; s=arc-20160816; b=LpqNVnDPblec8N5ex++9U9DaAAc0vDo+D8qU6DazELME743MvC6ZqHrGuUGTuDVUQ+ yMt8siNMgnvMdNa/f8hdH9PlxKbDAGxLAMP9+9k22IWakJvOpqLb6Po9Qt6tNxqbvzQc tw4oJgw115AfuH/bDZmNU0PHIDAkXeeLTNQPefkoTgpSMd42Od+eJcquWs0p7q/BLLr5 djyvpiSf2uNVS/aYnXe0gWtHqj6t+h58A4FUdxXowzq9FRMsCeyknE4xFRhGcp5Bi15R hAZp+XH0qftRj7jThh6erTNBuyXgjxBqoKkQR0dnHS7+uUCe2wnZ00AGuOlNXrrlMiV5 feVQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=EeBbVTJVZnu/jiKwND/aEh5gYqIiDOixB6ngm5Yr7js=; b=FtaU+qENTu4BN3JvvtqMAFcS6pnE7gR1v5UQ+WpfRsJx3OsyFCfCqSLqWrhSsJ4q3Q ojsMo49AmyaXn+IEqbxiyP/00LeE1krBj+4OkZOHJpfSDpc1gg8suIvRaMjv1ipWTNag kD2NOT7xl+VYYpvP8WeaEr/iQR5DujLI4KKP3+w72l9s/99aDtukMdIWXPUUuQyjtjmi 8hmOmdhRbesyhfBSIX6VnJEgVAThy2sUmadnHt0kqt6TsZP6MIHkevfBAGJSzeaTCXbZ KpYIgsA5FxLYXJRP48grb9VoLeKc4+oCGUnGdwbyoijyD9McjFlXPzsxRh31vZ70dFk0 0rgQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel-dk.20150623.gappssmtp.com header.s=20150623 header.b=aHvT7zUM; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a94-v6si27506488pla.123.2018.10.10.13.12.43; Wed, 10 Oct 2018 13:12:58 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel-dk.20150623.gappssmtp.com header.s=20150623 header.b=aHvT7zUM; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727852AbeJKDfw (ORCPT + 99 others); Wed, 10 Oct 2018 23:35:52 -0400 Received: from mail-it1-f196.google.com ([209.85.166.196]:52732 "EHLO mail-it1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727790AbeJKDfw (ORCPT ); Wed, 10 Oct 2018 23:35:52 -0400 Received: by mail-it1-f196.google.com with SMTP id 134-v6so10048545itz.2 for ; Wed, 10 Oct 2018 13:12:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel-dk.20150623.gappssmtp.com; s=20150623; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=EeBbVTJVZnu/jiKwND/aEh5gYqIiDOixB6ngm5Yr7js=; b=aHvT7zUMa2IyrhE6zdBe7YRC+x8GRBlJND440dLSnsiEsA6ctfVdgU691WDsdpFMU0 zUwaU9xPzrQqh/R6u1kOl3/46nQyLyuJiCRAyFo02moZgcpMBW+4BWIPUTB1Lg5GJlX5 qmJCqSaNNcKq+xkTpg2J1nYbhAsNLxwKSmheB1pFd/lBU2kHnD3oigR/1+mlvFJjnHff MRqt1H8VbGBpLuQOI0SGLzrGE17i+CUYZ3oWJOl07SdWLx7LgcutID2A2rbKrWoUSFjx LUBznR8709GHsAkoe2XWG9JUy5R8BTeEMzorGzabaSQKM69Rq9oH9228+sjNGo7pjeAu ApdA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=EeBbVTJVZnu/jiKwND/aEh5gYqIiDOixB6ngm5Yr7js=; b=nTjk4gBIoupeH4MqT4XJ6SI3xiM4LCTesS2p7sQ3aopCUnE56aQ1M/Is72TxcKVlED z4PcqJxkxZCkyEU68OprjBfpyXLGz5GInaT7XlglJuJenS4731euUwbZbz/hyrlEygV+ 7vWgmscWm1UF6sPzLP/hkDSlORbP0nJWTes11d28QCK41vKMzeLEIm8KhqKDK/QfCoIY m3sZZldYN/B9LusLlGSykcVT8xiTRR35bCHWzj2MZFrp53k+hyfAfLbRqv2X9NJ+XY1v JwQiXgqrZ0OhR7bwL1AKK2xYbuF8mZfodJIHuI9M+fdy8MmLM2DIZEY8qkGpERVzYcqz mvIA== X-Gm-Message-State: ABuFfojgUiBTHJjXt/4O3qDVEsfJgE9eMB2mCRnSIi/9I+RnFUoZEbPz rbq2uelTWl/wRcvNI16qwMKFkkyvHFk= X-Received: by 2002:a24:4795:: with SMTP id t143-v6mr1944422itb.78.1539202326680; Wed, 10 Oct 2018 13:12:06 -0700 (PDT) Received: from [192.168.1.56] ([216.160.245.98]) by smtp.gmail.com with ESMTPSA id q185-v6sm7088591itc.30.2018.10.10.13.12.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 10 Oct 2018 13:12:05 -0700 (PDT) Subject: Re: [PATCH] drivers/block: remove redundant 'default n' from Kconfig-s To: Bartlomiej Zolnierkiewicz Cc: Philipp Reisner , Lars Ellenberg , drbd-dev@lists.linbit.com, Minchan Kim , Nitin Gupta , Sergey Senozhatsky , linux-block@vger.kernel.org, linux-kernel@vger.kernel.org References: <20181009144103eucas1p1dbf48b04c923877cdbdcf2197725ccd1~b97cjWjY10058900589eucas1p1n@eucas1p1.samsung.com> From: Jens Axboe Message-ID: Date: Wed, 10 Oct 2018 14:12:02 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.0 MIME-Version: 1.0 In-Reply-To: <20181009144103eucas1p1dbf48b04c923877cdbdcf2197725ccd1~b97cjWjY10058900589eucas1p1n@eucas1p1.samsung.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/9/18 8:41 AM, Bartlomiej Zolnierkiewicz wrote: > 'default n' is the default value for any bool or tristate Kconfig > setting so there is no need to write it explicitly. > > Also since commit f467c5640c29 ("kconfig: only write '# CONFIG_FOO > is not set' for visible symbols") the Kconfig behavior is the same > regardless of 'default n' being present or not: > > ... > One side effect of (and the main motivation for) this change is making > the following two definitions behave exactly the same: > > config FOO > bool > > config FOO > bool > default n > > With this change, neither of these will generate a > '# CONFIG_FOO is not set' line (assuming FOO isn't selected/implied). > That might make it clearer to people that a bare 'default n' is > redundant. > ... Applied, thanks. -- Jens Axboe