From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id CACE0C432C0 for ; Wed, 20 Nov 2019 17:02:49 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 993982088F for ; Wed, 20 Nov 2019 17:02:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732998AbfKTRCs (ORCPT ); Wed, 20 Nov 2019 12:02:48 -0500 Received: from smtprelay0128.hostedemail.com ([216.40.44.128]:39082 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728134AbfKTRCr (ORCPT ); Wed, 20 Nov 2019 12:02:47 -0500 Received: from filter.hostedemail.com (clb03-v110.bra.tucows.net [216.40.38.60]) by smtprelay08.hostedemail.com (Postfix) with ESMTP id A23C6182CED5B; Wed, 20 Nov 2019 17:02:46 +0000 (UTC) X-Session-Marker: 6A6F6540706572636865732E636F6D X-HE-Tag: dolls67_351a93e0e3454 X-Filterd-Recvd-Size: 1742 Received: from XPS-9350.home (unknown [47.151.135.224]) (Authenticated sender: joe@perches.com) by omf18.hostedemail.com (Postfix) with ESMTPA; Wed, 20 Nov 2019 17:02:44 +0000 (UTC) Message-ID: Subject: Re: [PATCH] ASoC: Fix Kconfig indentation From: Joe Perches To: Pierre-Louis Bossart , Krzysztof Kozlowski , linux-kernel@vger.kernel.org Cc: Cezary Rojewski , Liam Girdwood , Jie Yang , Mark Brown , Jaroslav Kysela , Takashi Iwai , alsa-devel@alsa-project.org Date: Wed, 20 Nov 2019 09:02:22 -0800 In-Reply-To: References: <20191120133252.6365-1-krzk@kernel.org> Content-Type: text/plain; charset="ISO-8859-1" User-Agent: Evolution 3.34.1-2 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 2019-11-20 at 09:02 -0600, Pierre-Louis Bossart wrote: > > On 11/20/19 7:32 AM, Krzysztof Kozlowski wrote: > > Adjust indentation from spaces to tab (+optional two spaces) as in > > coding style with command like: > > $ sed -e 's/^ /\t/' -i */Kconfig > Thanks for the changes, is there a way for checkpatch.pl or some tool to > detect this? Sure, if you want to stick a Kconfig grammar parser into checkpatch and validate any Kconfig file content. Otherwise, maybe improve scripts/kconfig/lexer.l and (optionally?) emit a message whenever the line's content doesn't fit some preferred style.