Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753957AbcC1DP7 (ORCPT ); Sun, 27 Mar 2016 23:15:59 -0400 Received: from smtprelay0126.hostedemail.com ([216.40.44.126]:37611 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753511AbcC1DP6 (ORCPT ); Sun, 27 Mar 2016 23:15:58 -0400 X-Session-Marker: 6A6F6540706572636865732E636F6D X-Spam-Summary: 2,0,0,,d41d8cd98f00b204,joe@perches.com,:::::::::::::,RULES_HIT:41:355:379:541:599:982:988:989:1260:1277:1311:1313:1314:1345:1359:1373:1437:1515:1516:1518:1534:1541:1593:1594:1711:1730:1747:1777:1792:2110:2393:2559:2562:2693:2828:2909:3138:3139:3140:3141:3142:3308:3352:3622:3865:3867:3868:3870:3871:3873:3874:4184:4250:4321:5007:6119:7903:7974:9010:10004:10400:10848:11232:11658:11914:12043:12048:12296:12517:12519:12740:13069:13071:13161:13229:13311:13357:13439:13894:14180:14659:14721:21060:21080:30016:30030:30054:30064:30091,0,RBL:none,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:fn,MSBL:0,DNSBL:none,Custom_rules:0:0:0,LFtime:1,LUA_SUMMARY:none X-HE-Tag: brain86_8b07e5698684e X-Filterd-Recvd-Size: 2379 Message-ID: <1459134954.25110.26.camel@perches.com> Subject: Re: [PATCH 01/30] ACPICA: Linuxize: reduce divergences for 20160212 release From: Joe Perches To: "Zheng, Lv" , "Wysocki, Rafael J" , "Rafael J. Wysocki" , "Brown, Len" Cc: Lv Zheng , "linux-kernel@vger.kernel.org" , "linux-acpi@vger.kernel.org" Date: Sun, 27 Mar 2016 20:15:54 -0700 In-Reply-To: <1AE640813FDE7649BE1B193DEA596E883BB655F7@SHSMSX101.ccr.corp.intel.com> References: <1458783966.1762.6.camel@perches.com> <1AE640813FDE7649BE1B193DEA596E883BB63FB7@SHSMSX101.ccr.corp.intel.com> <1458817225.1762.13.camel@perches.com> <1AE640813FDE7649BE1B193DEA596E883BB655F7@SHSMSX101.ccr.corp.intel.com> Content-Type: text/plain; charset="ISO-8859-1" X-Mailer: Evolution 3.18.5.2-0ubuntu1 Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 979 Lines: 29 On Mon, 2016-03-28 at 03:02 +0000, Zheng, Lv wrote: > Hi, Hello. > > So why not fix the process script first? > > Maybe add something like: > > $ grep -E "^typedef\s+\w+\s*\*?\s*acpi_\w+" include/acpi/actypes.h | \ > > ? grep -Eoh "\bacpi_\w+" > > > > to the acpi_types variable in the lindent_single function > [Lv Zheng]? > I don't think this can work given: > 1. we are not only dealing with typedefs, but structs, struct xxx will be converted into types during the release process. > 2. we have only upper cased type names in ACPICA upstream, but have the lower cased type names in Linux, and this doesn't solve that. > So I guess you didn't test your idea. Good guess. The "maybe add something like" should give you a clue. > You need to pull ACPICA repo and do the followings to confirm if this is working: No, I disagree. ?_I_ don't need to. ?You need to. You shouldn't have a process that generates defective patches and then sends them to the list. cheers, Joe