Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755098AbcCXGx5 (ORCPT ); Thu, 24 Mar 2016 02:53:57 -0400 Received: from mga09.intel.com ([134.134.136.24]:56003 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751132AbcCXGxl (ORCPT ); Thu, 24 Mar 2016 02:53:41 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.24,383,1455004800"; d="scan'208";a="917737962" From: "Zheng, Lv" To: "Brown, Len" , Joe Perches , "Wysocki, Rafael J" , "Rafael J. Wysocki" CC: Lv Zheng , "linux-kernel@vger.kernel.org" , "linux-acpi@vger.kernel.org" Subject: RE: [PATCH 01/30] ACPICA: Linuxize: reduce divergences for 20160212 release Thread-Topic: [PATCH 01/30] ACPICA: Linuxize: reduce divergences for 20160212 release Thread-Index: AQHRhW3jXQBF/uG0YUGAXuTrusea4Z9nTOQAgADPZkD//4GGAIAAiOkQ Date: Thu, 24 Mar 2016 06:53:30 +0000 Message-ID: <1AE640813FDE7649BE1B193DEA596E883BB64008@SHSMSX101.ccr.corp.intel.com> References: <1458783966.1762.6.camel@perches.com> <1AE640813FDE7649BE1B193DEA596E883BB63FB7@SHSMSX101.ccr.corp.intel.com> <1A7043D5F58CCB44A599DFD55ED4C94846A17FF0@fmsmsx115.amr.corp.intel.com> In-Reply-To: <1A7043D5F58CCB44A599DFD55ED4C94846A17FF0@fmsmsx115.amr.corp.intel.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiYTc4MjU0Y2YtN2VlMi00ZmViLTllNGItZTBjOWQxNmYxMWZlIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE1LjkuNi42IiwiVHJ1c3RlZExhYmVsSGFzaCI6ImJtTVNSQXRLbU9DQWNEM2xxU2ZaZlBmY0l4UkNodjN0RjRLMTc3T1RiSnM9In0= x-ctpclassification: CTP_IC x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by mail.home.local id u2O6s1CW025673 Content-Length: 2539 Lines: 59 Hi, > From: Brown, Len > Subject: RE: [PATCH 01/30] ACPICA: Linuxize: reduce divergences for 20160212 > release > > > > > > > > > -acpi_status acpi_hw_read(u32 *value, struct acpi_generic_address > > *reg) > > > > +acpi_status acpi_hw_read(u32 *value, struct acpi_generic_address * > > reg) > > > > > > The second argument * style appears the opposite of normal style > > > and a different style than the first argument * style. > > [Lv Zheng] > > The file is drivers/acpi/acpica/hwregs.c, which is coming from ACPICA > > upstream. > > So this is a result of "ACPICA release". > > In other words, this is a result of a "process". > > In order to fix this, things need to be done in "ACPICA release scripts". > > Which should be done in > > https://github.com/acpica/acpica/blob/master/generate/linux/libacpica.sh. > > Otherwise, "ACPICA release" process will require human intervention. > > > > So please leave this patch fragment as is. > > It will be automatically fixed if the "ACPICA release" process is fixed. > > And if you don't leave this fragment as is, the "ACPICA release" process > > will get hurt. > > I disagree. > > The patch should be correct when it hits the Linux kernel tree. [Lv Zheng] This has already been an agreement between Linux and ACPICA. We have 1 such kind of patch in each release cycle merged. > > If the process is broken, then fix the process and re-send > a fixed patch. Linux doesn't care if the process is a program > that runs with the click of a button, or the result of 1000 > engineering laboring day and night. Only the result matters, > the result should be correct, and this patch is not correct. [Lv Zheng] If we forced the rule you mentioned, then every release cycle would be blocked by strange reasons. It's worse than letting this pass. Normally, ACPICA release happens before the indent issue is identified. So the patch to fix the indent issue will be merged in ACPICA upstream after the release cycle. Then if we let the machine do this automatically, the fix will appear after the release cycle. Moreover, sometimes, such indent issue is not in the process itself. Though we use indent -linux, but indent doesn't work as our expectation to generate a patch that can pass checkpatch.pl. What should we do then? We are developing Linux kernel, not developing indent. So sometimes, such kind of issue is inevitable as long as we use "indent". It's useless to waste time working on correcting this. Which means humans are hired to do machine's job... Thanks and best regards -Lv