Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp985198ybi; Fri, 21 Jun 2019 11:33:54 -0700 (PDT) X-Google-Smtp-Source: APXvYqyEoWZo+6DV911d017000xm6oH6vhjkawQEY6vMxxpJzlQS0IZVXaUo+jrfAmwcgkHTVBQW X-Received: by 2002:a63:6146:: with SMTP id v67mr14800096pgb.116.1561142033928; Fri, 21 Jun 2019 11:33:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561142033; cv=none; d=google.com; s=arc-20160816; b=aLEQe04NcNf8HBniycKJZ3yUqv362j2URT41Ho+zaHCF92+1knFawbOqbhSZEoJrMu 2n1qCx3EbpRfuN7aTplo8ZqDtk+swlH5ZvA1mB2KXgdzE5ymUkjp8OflO2hYeutWPDqa dEJh/FZ14qpMI7CTe06H7ZHcdROVPz7uCqc/vkgRDAO1qJ79HZ9kj2ppY7tI/zIyOLPj uH9dTuMk6BfrLQsoNPbVKjg9emlzkrhe2TelSj2NM9TiUxon6cG3m6ZBRiXktNdIjTF5 wfn+vOC+iGIs6QQFGnID2K4WiNwWNdimi4y7IAw8dgkYbUIUAwR5Y+DHkqbSrPIWpUa1 T7yA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id; bh=tInJvskWYCDlNZPc7DuC88E3vLSsnsi5dk8b8iOrot0=; b=akO7w4zt2n/A+oEjb5P/M+607mi/2wuD/YLmPlRDMQfefle5l8Qn9NMRTdK+ouqBRV h+5tPaOnbwT5KBt49TD1Mi2sY5sl7SQ+XX6On6l3Rvr0AXHXMlPv4IZS5PqGxTCgEiBj JrapMBu9toiSUeLjeTokyuHSIBMUAWbT3gxy63ZC+KS0LpTn0mZY86YsE63bcOkr823e mOQ0Gz2WdE1rAMVOwwsnJI9JrXG6wcMtllgwoDCTwVDkqKClU8/zM4XBsJRf5K6+UysG suWjC5AWmw0mw5OfLTnYZL2IQJw6BslMBO1FN/ouDELnq0xhLioF9xS+gGczaF1L48+B tqcQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l125si3296831pgl.63.2019.06.21.11.33.36; Fri, 21 Jun 2019 11:33:53 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726424AbfFUSdc (ORCPT + 99 others); Fri, 21 Jun 2019 14:33:32 -0400 Received: from smtprelay0111.hostedemail.com ([216.40.44.111]:43146 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726032AbfFUSdc (ORCPT ); Fri, 21 Jun 2019 14:33:32 -0400 Received: from filter.hostedemail.com (clb03-v110.bra.tucows.net [216.40.38.60]) by smtprelay03.hostedemail.com (Postfix) with ESMTP id 3DF02837F24D; Fri, 21 Jun 2019 18:33:30 +0000 (UTC) X-Session-Marker: 6A6F6540706572636865732E636F6D X-Spam-Summary: 2,0,0,,d41d8cd98f00b204,joe@perches.com,:::::::::::::::::::,RULES_HIT:41:355:379:599:800:960:973:982:988:989:1260:1277:1311:1313:1314:1345:1359:1437:1515:1516:1518:1534:1541:1593:1594:1711:1730:1747:1777:1792:1978:1981:2194:2199:2393:2553:2559:2562:2736:2828:3138:3139:3140:3141:3142:3353:3622:3865:3866:3867:3868:3870:3871:3872:3873:3874:4321:5007:6119:7903:9010:9108:10004:10400:10471:10848:11232:11658:11914:12050:12257:12297:12663:12740:12760:12895:13069:13071:13255:13311:13357:13439:14096:14097:14180:14181:14659:14721:21060:21080:21451:21627:30054:30060:30070:30090:30091,0,RBL:23.242.196.136:@perches.com:.lbl8.mailshell.net-62.8.0.180 64.201.201.201,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:fn,MSBL:0,DNSBL:neutral,Custom_rules:0:0:0,LFtime:30,LUA_SUMMARY:none X-HE-Tag: value78_13e1d23df325 X-Filterd-Recvd-Size: 3044 Received: from XPS-9350.home (cpe-23-242-196-136.socal.res.rr.com [23.242.196.136]) (Authenticated sender: joe@perches.com) by omf03.hostedemail.com (Postfix) with ESMTPA; Fri, 21 Jun 2019 18:33:28 +0000 (UTC) Message-ID: <838b8e84523151418ab8cda4abdbb114ce24a497.camel@perches.com> Subject: Re: [PATCH 0/3] net: ethernet: atheros: atlx: Use PCI generic definitions instead of private duplicates From: Joe Perches To: Bjorn Helgaas Cc: Puranjay Mohan , Jay Cliburn , Chris Snook , Shuah Khan , Bjorn Helgaas , netdev , Linux Kernel Mailing List , linux-kernel-mentees@lists.linuxfoundation.org, Linux PCI Date: Fri, 21 Jun 2019 11:33:27 -0700 In-Reply-To: References: <20190621163921.26188-1-puranjay12@gmail.com> <698d3e3614ae903ae9582547d64c6a9846629e57.camel@perches.com> Content-Type: text/plain; charset="ISO-8859-1" User-Agent: Evolution 3.30.5-0ubuntu0.18.10.1 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 2019-06-21 at 13:12 -0500, Bjorn Helgaas wrote: > On Fri, Jun 21, 2019 at 12:27 PM Joe Perches wrote: [] > > Subsystem specific local PCI #defines without generic > > naming is poor style and makes treewide grep and > > refactoring much more difficult. > > Don't worry, we have the same objectives. I totally agree that local > #defines are a bad thing, which is why I proposed this project in the > first place. Hi again Bjorn. I didn't know that was your idea. Good idea. > I'm just saying that this is a "first-patch" sort of learning project > and I think it'll avoid some list spamming and discouragement if we > can figure out the scope and shake out some of the teething problems > ahead of time. I don't want to end up with multiple versions of > dozens of little 2-3 patch series posted every week or two. Great, that's sensible. > I'd rather be able to deal with a whole block of them at one time. Also very sensible. > > 2: Show that you compiled the object files and verified > > where possible that there are no object file changes. > > Do you have any pointers for the best way to do this? Is it as simple > as comparing output of "objdump -d"? Generically, yes. I have a little script that does the equivalent of: make mv .old patch -P1 < make mv .new diff -urN <(objdump -d .old) <(objdump -d .new) But it's not foolproof as gcc does not guarantee compilation repeatability. And some subsystems Makefiles do not allow per-file compilation.