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 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 2F832C25B48 for ; Thu, 26 Oct 2023 22:33:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=4bmWaSeSaQgWtSbQVf2EzQKHJxMbXetKN1B/4yVmm4g=; b=3cHubxBFXz/vCT AVw4vAckmhzd5qzXGAQs17ewf0pcomnFDCPEG6cIjpnamAwYmG6TjHNFudvTMnaC+pUJIYFbBkAsK VkviGsPLEm1g/FkmuDbmIVlXT6yl1MyTyr0QfHbHtP4cPwtH/FLigql6VZP3zlBnQshQsGXrgc261 Wa+1qmmCgnNazBE7EFkcISFqN/weVN0gmNlabtmXzpNeJxIZKeiXP7GhE5dfg4ZNlDfwgy12YFmtS 7Mz2ztvQVoVAhDH72awAsxGOQiszLLMB0nG6c2iN5WGr01dVU2g+ybFa7Ay2Zz9LzPEOn18H7aVAh wnCebdgb3rF82TijllBQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qw8ug-00FGSR-0A; Thu, 26 Oct 2023 22:33:14 +0000 Received: from mail-lf1-x12d.google.com ([2a00:1450:4864:20::12d]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qw8ud-00FGRL-0b; Thu, 26 Oct 2023 22:33:12 +0000 Received: by mail-lf1-x12d.google.com with SMTP id 2adb3069b0e04-508126afc88so2178448e87.1; Thu, 26 Oct 2023 15:33:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1698359587; x=1698964387; darn=lists.infradead.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=4SxxJeIJ67UJRuWmX2lMM5UOUmBZb18yNZTZPQByIAc=; b=lAwMgoeoogNGew4kVLaE8qpIqo827f1N1mHAatu2h0A0S9AAA1bere1OpYktG+2ae2 HXNPt9+NXtH4FfBt5HUzZQ5xm2S3i25UUqYXPDeg0ttO4N1WwmgaIM1M0nRHtj5BcOUM H+B2+avtLm+65rRk+KmhKHnPxlIKCFOTokhVbYCqZRpNnXN4UyTcFbyNn1W49+y+AG6J 1edbwPf1r4clKLnJ1fNsK73UzUZ8TXRQMr4vpantOxVPES97eb9E4JXYZtiQGqxeth+z aAcVRCp80rVh/TzJ99mjs8Z0eOd7l7x/Rty2OmPNAt4dfI71yC9MvaxrM4mg0cSao53m ovgA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698359587; x=1698964387; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=4SxxJeIJ67UJRuWmX2lMM5UOUmBZb18yNZTZPQByIAc=; b=AC+vGblb2tNyQmC08Dv8JkrGe9RE65OMjUh9R/a1SHpLB9wfsOpI/foin4uMOlhVGq Q6nBvVeHYLB9600BekDb9bcyzpTnA1VyhTV8VTXPXNvN995UYAs8hjKTQMB5R9s6NhvY 6USGNzbVHFZwRm4OhsGSIjY6m46MVYPWJ6CceaVsBhTDcl+2rBOyMVrlcTdqxTuovDym E0VYEaV7SSqJChu/B+KsWqDbz4Q0ucg5bQldPK5jEp1nOrGpWiB4fh3zaE6lAk+NBPho 1T53dyc1m8qBFM9aUyjDlyJzDQGpYGovNqQw9RvPMdLyTdYPELHvahvX7/5T2tU3Gt/u iCgA== X-Gm-Message-State: AOJu0YyCPMqtHRMDmdJESYLLW7dkJkdH3gvolR/rKLBk28Nl8AbpfPnK 6kSM0fFCOql5dlk2WQk/oBg= X-Google-Smtp-Source: AGHT+IHiJGPvEvNoYxUZFXdVNhDBLZImmPXHiZgnA1Uzd3w0qnIN0A97ELhuaXAvDjdWP1gQ5bRUUw== X-Received: by 2002:ac2:4a64:0:b0:4ff:7004:545e with SMTP id q4-20020ac24a64000000b004ff7004545emr494644lfp.4.1698359586744; Thu, 26 Oct 2023 15:33:06 -0700 (PDT) Received: from skbuf ([188.26.57.160]) by smtp.gmail.com with ESMTPSA id f24-20020a1c6a18000000b004063977eccesm3534864wmc.42.2023.10.26.15.33.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Oct 2023 15:33:05 -0700 (PDT) Date: Fri, 27 Oct 2023 01:33:02 +0300 From: Vladimir Oltean To: Justin Stitt Cc: GR-Linux-NIC-Dev@marvell.com, UNGLinuxDriver@microchip.com, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, intel-wired-lan@lists.osuosl.org, oss-drivers@corigine.com, linux-hyperv@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, bpf@vger.kernel.org Subject: Re: [PATCH next v2 2/3] checkpatch: add ethtool_sprintf rules Message-ID: <20231026223302.4gjjeh7inn3a3llq@skbuf> References: <20231026-ethtool_puts_impl-v2-0-0d67cbdd0538@google.com> <20231026-ethtool_puts_impl-v2-2-0d67cbdd0538@google.com> <20231026221206.52oge3a5w4uxkkd5@skbuf> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231026_153311_226577_5B5A8D72 X-CRM114-Status: GOOD ( 10.92 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Thu, Oct 26, 2023 at 03:24:54PM -0700, Justin Stitt wrote: > There was some discussion here [1] but AFAICT I need to use EMACS > or configure my vim in a very particular way to get the same formatting > > But yeah, look around line 7000 -- lots of this pattern matching code is > pretty hard to read. Not sure there's much to be done as far as readability > is concerned. > > [1]: https://lore.kernel.org/all/137a309b313cc8a295f3affc704f0da049f233aa.camel@perches.com/ Hard to read because of pattern matching is one thing, but your indentation is unlike anything else in this file. There are inner curly brackets which are less indented than the outer curly brackets. I cannot read/review this, sorry, I hope somebody else can. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel