Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp2531390rwi; Tue, 11 Oct 2022 09:52:19 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6gyCAYJdpBzumuIwXGJu+iDSzNW1odC3vTtC7TX1MJov9kZY4/ULvYh7HbGzMHq/2fUevG X-Received: by 2002:a17:902:f602:b0:178:9818:48a4 with SMTP id n2-20020a170902f60200b00178981848a4mr24936013plg.148.1665507139428; Tue, 11 Oct 2022 09:52:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665507139; cv=none; d=google.com; s=arc-20160816; b=ksU7576d6BvMmWmFbXwDf60D+CTWi66/EIrZSQKNP2o1SC4Kv47r5WR54xtDqwdkPX 9QQLp6SDnPsPmQUoU4itEGKzGWqomcC5xSwZmycU6jqjUK4xfkHF+QCBIJzSWD/9cU9p pLWJskLpFcrBitzPIxWLXbrZnynjuNh23IXCAMAqQ/F+IZuaxOJgUJxBr1DQuikHync9 ihQMgKooOt0vktWUy/siQaLSQ21YGszaAdWfodNHU4WBhtVyO+vOlbCZ+TucLkM/7HVr mkE89feZoEyBNSjGZzzc9TJM2aGV2u268v6DANaNOYwZW+o98/2zEptmAr3zrHuRz/FD vNNg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:organization:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=eHTu+jpaYBMLUQabAnLsno2Wxt1SpeKJrEe3RVshSbc=; b=IxAXCARyW9pDaX3IdhwObz/O1CYvNi63k6wwVwgdzZrmB6GY5sOBV8MLhhIT+J1v7o d5kksK8ILg6p4bi+31ymNbjjrQEH/AEn+gfkGpxh+oXYF+NZXe6GQbQUc9FsMywDL3Ln PeBvX2ydVT7HuHzcNCVSJC2vR/LuNlGQysPXQ0UqOkpeBLcu8Xj+dJI0eoAK0nxqYRFy Z8rk3mrTWpdDdxecEC7imXOgy/RRfhc0Kk+ZdzE5obZSPVW3DsfsoS92+ag3MbZu9UMV JngSuY1SPoitIzVS5upifJpsIcJS6KCmFL/5DczZsr2ktgwQ+oTDhFPwcwWIBJCFFQM3 2pSA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=P+M2h2GA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v4-20020a056a00148400b005429324b543si15996906pfu.360.2022.10.11.09.52.06; Tue, 11 Oct 2022 09:52:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=P+M2h2GA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230147AbiJKPau (ORCPT + 99 others); Tue, 11 Oct 2022 11:30:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50446 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231750AbiJKPaS (ORCPT ); Tue, 11 Oct 2022 11:30:18 -0400 Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A329D8A1DC; Tue, 11 Oct 2022 08:20:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1665501629; x=1697037629; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=hq8H9GCveZZvFxxgF//YL8HEPEJFc1DXWo1WrcAUuRw=; b=P+M2h2GAqEQrORySnVPqKIJPcPtn61kSU+QCDHIASXORTqQKjC815oAY ZfVrVXOQC4ekWqSuabTR5OpzFwaJA+KJ75YpDrbaSqao0mKaSfo/VTUMU q5g+1C31tJKnR8SYPvCQlRJ0esXOdAWmRPf0r4/6UBrb3gJF8mkB38qlL oD2jCT01msFBRb0QvvKgRWbliYA412Yxln1d6nPflYabXvz2FyE445epq Td+Nhy2zFFjUZS7iVc7QXnXvMicuwi6JNVff5XaJA4OCQ60UPOXJcKkGt WAwXeWW5zUM3MmGaIZenInTF31t2ThsfMF6MMDNXUY22aqTxQM1QDllt9 Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10497"; a="291848461" X-IronPort-AV: E=Sophos;i="5.95,176,1661842800"; d="scan'208";a="291848461" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Oct 2022 08:19:20 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10497"; a="955372479" X-IronPort-AV: E=Sophos;i="5.95,176,1661842800"; d="scan'208";a="955372479" Received: from smile.fi.intel.com ([10.237.72.54]) by fmsmga005.fm.intel.com with ESMTP; 11 Oct 2022 08:19:15 -0700 Received: from andy by smile.fi.intel.com with local (Exim 4.96) (envelope-from ) id 1oiH2H-005NYA-25; Tue, 11 Oct 2022 18:19:13 +0300 Date: Tue, 11 Oct 2022 18:19:13 +0300 From: Andy Shevchenko To: Geert Uytterhoeven Cc: Kent Gibson , Bartosz Golaszewski , linux-gpio@vger.kernel.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-media@vger.kernel.org, linux-actions@lists.infradead.org, linux-aspeed@lists.ozlabs.org, openbmc@lists.ozlabs.org, linux-rpi-kernel@lists.infradead.org, alsa-devel@alsa-project.org, patches@opensource.cirrus.com, linux-mediatek@lists.infradead.org, linux-mips@vger.kernel.org, linux-riscv@lists.infradead.org, linux-omap@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, linux-arm-msm@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-samsung-soc@vger.kernel.org Subject: Re: [PATCH v2 02/36] gpiolib: cdev: Add missed header(s) Message-ID: References: <20221010201453.77401-1-andriy.shevchenko@linux.intel.com> <20221010201453.77401-3-andriy.shevchenko@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo X-Spam-Status: No, score=-4.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Oct 11, 2022 at 04:39:46PM +0200, Geert Uytterhoeven wrote: > On Tue, Oct 11, 2022 at 4:31 PM Andy Shevchenko > wrote: > > On Tue, Oct 11, 2022 at 10:13:02PM +0800, Kent Gibson wrote: > > > On Tue, Oct 11, 2022 at 04:48:17PM +0300, Andy Shevchenko wrote: > > > > On Tue, Oct 11, 2022 at 11:05:42AM +0300, Andy Shevchenko wrote: > > > > > On Tue, Oct 11, 2022 at 3:02 AM Kent Gibson wrote: > > > > > > On Mon, Oct 10, 2022 at 11:14:18PM +0300, Andy Shevchenko wrote: ... > > > > > > > -#include > > > > > > > #include > > > > > > > +#include > > > > > > > +#include > > > > > > > > > > > > Ok with the hte re-order. > > > > > > > > > > > > But moving the gpio subsystem header after the gpio/driver is not > > > > > > alphabetical ('.' precedes '/') and it read better and made more sense > > > > > > to me the way it was. > > > > > > > > > > I see, I guess this is vim sort vs shell sort. Strange, they should > > > > > follow the locale settings... > > > > > > > > I have checked, the shell and vim sort gave the same result as in this patch. > > > > > > > > > > The original order (sans hte.h) was done by VSCode Sort Lines Ascending, > > > and that still returns the same result. That matches what I would > > > expect to see given the content of the text. > > > > > > And for me vim also gives the original order. > > > > > > Just to confirm - is '.' 0x2e and '/' 0x2f in your universe? > > > > $ LC_COLLATE=C sort test1.txt > > #include > > #include > > > > $ LC_COLLATE= sort test1.txt > > #include > > #include > > > > I guess this explains the difference. Currently I have en_US.UTF-8. > > Throwing my can of paint into the mix... > > I think it is more logical to first include the general , > followed by whatever and , > irrespective of (language-specific or phonebook) sort order. > > Yeah, it sucks that this requires some manual work after running sort... It seems that kind of issue is in this patch only. -- With Best Regards, Andy Shevchenko