Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp445133yba; Wed, 24 Apr 2019 04:09:56 -0700 (PDT) X-Google-Smtp-Source: APXvYqzW2UQt6zBW2uBxNJYZ29rSca7HrwINQgkNH0RXYpxojel0j3GyWFHjhExQFhaOfYfhtCeS X-Received: by 2002:a63:5c56:: with SMTP id n22mr30665300pgm.108.1556104196034; Wed, 24 Apr 2019 04:09:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556104196; cv=none; d=google.com; s=arc-20160816; b=XIjmrfywhe7Gh5hf3VzplcAEjUSrJWcPVAbDWMvSgzeX43KgkDzDKl+5LFuTCzI4OE 0iDQuN5YSQTkRcv5m5c/et6X1ZiCtmXAsG46QhgQIb6ovvuN02HeJYlykDO8o2c37913 Y5etdvUeqNg3icYrmBXGSko7CWIbMMT7DvFjhmunGqFpUMGWX1H9WskDpKNEzAZmz0ad y7RIzEXHSHkzBV9OXyEL9HFiu1LI6GB/UfDHY/1dVeXPPRq6gTVmIXBGMeHxgcNyLdYF M6vOiqBGHcSAHvibsntDIWuv/t6xL5YQ/ga/UGv+1ew247EU8V1p2QNtWkyWePbTfvsR Mx3w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature:dkim-filter; bh=fAHzJgmTpcgaeXli9t2VJI/ayV0hqVJGtbtoz1w6xmo=; b=gdm/vo18EPHsW0J5ytzyMmmgwh9p9MsK+J4eL24xTOhZxjKCydEEuLyLOXYJ4GwjUG JfnmM878nwZkT5eOxZUGBozjR3BS7JO1+KJS8M59tlbimxUfNQs1jUstRT/fuRTNQQuG 0iAhEqJH+yn6qECXr2vdvwBpdv5cYcJ6GmMWD9Vh9sDMCx0IhkEo4WEV3UxBiA4QlVUR xDPDpjEGzBaG7/uNCD8HgyhbB3TUp5bQfdajTF5DreT2i8VR76ooz55nuUkkrgj0Kdcq 49NxN9WVhAw9JPztjzd0XLdJWahbR/MMoFMgKRDsfx1IPCG/on5Na1DGrMJNWWOkoFLv nnow== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=EPucXkbw; 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 f20si18826885pfd.51.2019.04.24.04.09.40; Wed, 24 Apr 2019 04:09:56 -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=@nifty.com header.s=dec2015msa header.b=EPucXkbw; 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 S1728121AbfDXKKK (ORCPT + 99 others); Wed, 24 Apr 2019 06:10:10 -0400 Received: from conssluserg-03.nifty.com ([210.131.2.82]:40719 "EHLO conssluserg-03.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727568AbfDXKKK (ORCPT ); Wed, 24 Apr 2019 06:10:10 -0400 Received: from mail-vk1-f181.google.com (mail-vk1-f181.google.com [209.85.221.181]) (authenticated) by conssluserg-03.nifty.com with ESMTP id x3OAA3So029190; Wed, 24 Apr 2019 19:10:04 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-03.nifty.com x3OAA3So029190 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1556100604; bh=fAHzJgmTpcgaeXli9t2VJI/ayV0hqVJGtbtoz1w6xmo=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=EPucXkbwEJ/fJdTbzrdYoqhAf7FHeLqOYwyyEqdwKiYdXwJc14QEreqSPirZzKtyj ZUf4DwTBQKtBs6LUBjTvUsXkLIKRODpSFTgD766NTosA1+cr5l2pA8vB4lz+mSJ4Ab fzQu5WYno/CuQ3W7B7+ygbxQ01sTPq9wjBSfXOTptxPbnfOu8flUEsecL0/jizVZAR O9cwTgiJqlV+E2jymDAOkTeUuUJBUQWIc8WNvWt9K2zQXf/xX3wzsanoVaXURgyqPF 16ohXNhlsAKnGVu+KYAWMwk99DBBi2ZdgwEDTVEGDWTufWZANh/fqoH1cvvIepGFeT TF5+SH3zL7e8g== X-Nifty-SrcIP: [209.85.221.181] Received: by mail-vk1-f181.google.com with SMTP id f77so784169vke.8; Wed, 24 Apr 2019 03:10:03 -0700 (PDT) X-Gm-Message-State: APjAAAWNsQtEBCvIGP/DdsDNuWf3SvR8k7XoJzKeofsVWSM56fRimyq4 XGOk18QubtdTCnhdfcu3aV0bbL8DDyQaBU04iAg= X-Received: by 2002:a1f:b297:: with SMTP id b145mr16645284vkf.74.1556100602843; Wed, 24 Apr 2019 03:10:02 -0700 (PDT) MIME-Version: 1.0 References: <1555669773-9766-1-git-send-email-alex.popov@linux.com> In-Reply-To: <1555669773-9766-1-git-send-email-alex.popov@linux.com> From: Masahiro Yamada Date: Wed, 24 Apr 2019 19:09:26 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 1/1] kconfig: Terminate menu blocks with a newline in the generated config To: Alexander Popov Cc: Kees Cook , Michal Marek , Linux Kbuild mailing list , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Apr 20, 2019 at 4:12 AM Alexander Popov wrote: > > Currently menu blocks start with a pretty header but end with nothing in > the generated config. So next config options stick together with the > options from the menu block. > > Let's terminate menu blocks with a newline in the generated config. > > Signed-off-by: Alexander Popov The .config file is a flat list of CONFIG options. It does not represent menu structures at all. I tested "make allyesconfig" and the resulted outcome looks cheesy. [1] Two blank lines in a row ---------->8----------------- CONFIG_EFI_EARLYCON=y CONFIG_IMX_SCU=y CONFIG_IMX_SCU_PD=y # # Tegra firmware driver # CONFIG_HAVE_KVM=y CONFIG_HAVE_KVM_IRQCHIP=y CONFIG_HAVE_KVM_IRQFD=y --------->8------------------------ [2] Some blank lines appended at the end of file ----------->8------------- CONFIG_CPA_DEBUG=y CONFIG_OPTIMIZE_INLINING=y CONFIG_DEBUG_ENTRY=y CONFIG_DEBUG_NMI_SELFTEST=y CONFIG_X86_DEBUG_FPU=y CONFIG_PUNIT_ATOM_DEBUG=y CONFIG_UNWINDER_ORC=y # CONFIG_UNWINDER_FRAME_POINTER is not set ---------->8----------------- The readability of the .config could be improved somehow, but this patch is not the right one. -- Best Regards Masahiro Yamada