Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp5416621yba; Wed, 8 May 2019 13:01:00 -0700 (PDT) X-Google-Smtp-Source: APXvYqxGRysFFL/BJhorhv4zUu+yVd5UvNGIn+vysbR1pOSdNZzJG3YZ9nrLO7Mo1hYEUYKD1NhN X-Received: by 2002:a65:60c7:: with SMTP id r7mr22445pgv.22.1557345660468; Wed, 08 May 2019 13:01:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557345660; cv=none; d=google.com; s=arc-20160816; b=s0+6CA8lO8leDNupNzGPCLP1BGdEEFOheegwSc0AuUs+3/J+C38EOUNAYMHf0exqPC AoU8gZ67yxrnETP8AOh/7gvwotbz7qZ4SGz9QbHfzBYcF6D1zDQaA0s5cobyJLUd7g1w 61OSF5FCrGnbSgK5S+0budTvol1UgvtB+58qFyi4TnCtKD3ql957i6DQ28u6r+RAQwng DnC91paUC/5TOYB9P6SD8/VX0RFUbwgevCdm4d76vx1mA6mzR68YjW2LoegKcwhwPxtf mNuITQlGVjtYQ0NU3HaTl4oohJGBY0a8lL+gX3f6gxDo/ahF/35a3P43unYnr/oS2cOz /+oA== 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; bh=j1WmOHHPEdJ3yi2p5J+Oh8mr/EtgaDeprnRifRsdYb8=; b=xO5+ut6m8ImBR4ccJbz6SmWfn5rxN5V7D7ID8Qh4YVUClCmOdZErU90Qls0fMVSUQC NUBEhFSqXVGKntVQJ1G+oqMcy4yR2j+c7IvpOyhIfMFwQCyhcgGI67Ywi74v9u91SA4j HgjxmL8Z1oujMxjBZ7cyrLhgsias0qDZcOrq1y3QRuw1bSUSNnmQHHq5HSxSri5WN87h C6jKOcKIsUZdeaWhcwTXai+nTRzWfLcUrOIVQTPYUbGVHFZlIW5eG8XBuMhiO5ziKJNZ JB310AZMaO659Q4QQ/g8GyTCwuPnxy/guyvv01UAQum5CiiMlKzgriaZLsrDTb9L0Q8M YUAQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=oy7PTsrG; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m21si24827926pls.121.2019.05.08.13.00.43; Wed, 08 May 2019 13:01:00 -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=@gmail.com header.s=20161025 header.b=oy7PTsrG; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727969AbfEHSUF (ORCPT + 99 others); Wed, 8 May 2019 14:20:05 -0400 Received: from mail-lf1-f65.google.com ([209.85.167.65]:45000 "EHLO mail-lf1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727352AbfEHSUF (ORCPT ); Wed, 8 May 2019 14:20:05 -0400 Received: by mail-lf1-f65.google.com with SMTP id n134so13414021lfn.11 for ; Wed, 08 May 2019 11:20:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=j1WmOHHPEdJ3yi2p5J+Oh8mr/EtgaDeprnRifRsdYb8=; b=oy7PTsrGWxgx4kbV0MYFtgfgxmTytAoHH7E1+r/ZLaAnp73jKA+ExWmgHyQcnGvZ+8 aZf0ZReKWnTZoN6ettL98+v3Bl4zG4B5BHQnbVzfwtGip97b0bXQEY7gG+SLsUvvnArA glPMTIBT9k1FZ8AHue8U2u8RfkhUOtSFJk+yO/IaZdtU2RD+sJPfMuFv+0dbVp6F0/b0 sFIS/Lj0X1pjDeppEo/1H3ryYslYR/sL7LIpv5HulSUQeXtJh60e6rBU9Ehgj4HpeXUh 8LvFcCZZD/Rtjuo0AK57FwTf1AlpJToHW58kyAsW98/o/nslJz/b7S677ZIz3NdBT1Xs 1eZg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=j1WmOHHPEdJ3yi2p5J+Oh8mr/EtgaDeprnRifRsdYb8=; b=B/WD1kHbmxxgsNs3jLSLxDHIq5UXYjQRTXjVWGmubUsUOHW2pf4FBQAbY26bkYRPeJ l94FN3BYgG1pmM71v5IBwElpdVQlTmGWI2B8VbgWH7xIsZz/F6EhLSF69p9XCIAdLprF PZ7AsyRRvMJM1OjqYhAq5ynep8aip2yJ52e8nW9itOPu8t7i73Cr0UDlIEhfevWKK1WP g6546b+5XNRuWfS7xLoG0g/cNIFz68rjvODcvWva80XoPe/7S6Z8+lP7Y6731noXV+5t 3t9NkELQLweqjYPp7idYVWK20jddaai06Ftr9V7vwN+WJEj0y0++CNVxiHrygkNMZ7DP Y/Dw== X-Gm-Message-State: APjAAAU2N7ZhOxL2Cl+y2Wgizq5Ja0sqXuvk5sMCJ8NJVh88pe3ZpEez +8eEIzQ/fcG6Gs2XEV0HfeKPUyJIOytuynSq+Sg= X-Received: by 2002:a19:6b03:: with SMTP id d3mr14380616lfa.137.1557339602914; Wed, 08 May 2019 11:20:02 -0700 (PDT) MIME-Version: 1.0 References: <20190508174356.13952-1-borneo.antonio@gmail.com> In-Reply-To: From: Antonio Borneo Date: Wed, 8 May 2019 20:19:41 +0200 Message-ID: Subject: Re: [PATCH v2] checkpatch: add command-line option for TAB size To: Joe Perches Cc: Andy Whitcroft , linux-kernel@vger.kernel.org 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 Wed, May 8, 2019 at 7:56 PM Joe Perches wrote: > > On Wed, 2019-05-08 at 19:43 +0200, Antonio Borneo wrote: > > The size of 8 characters used for both TAB and indentation is > > embedded as magic value allover the checkpatch script, and this > > makes the script less readable. > > I doubt this bit of the commit message is proper. > > Tabs _are_ 8 in the linux-kernel sources and checkpatch > was written for the linux-kernel. > > Using a variable _could_ reasonably be described as an > improvement, but readability wasn't and isn't really an > issue here. Well, it depends on own skill with regular expressions in perl :-) I will change the commit message focusing on the new command line flag and drop this part. Thanks Antonio