Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/660215/?format=api
{ "id": 660215, "url": "http://patchwork.ozlabs.org/api/patches/660215/?format=api", "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/2fcd71eb8b18415a020509e3ce116e3affa590b5.1471430183.git.joe@perches.com/", "project": { "id": 46, "url": "http://patchwork.ozlabs.org/api/projects/46/?format=api", "name": "Intel Wired Ethernet development", "link_name": "intel-wired-lan", "list_id": "intel-wired-lan.osuosl.org", "list_email": "intel-wired-lan@osuosl.org", "web_url": "", "scm_url": "", "webscm_url": "", "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<2fcd71eb8b18415a020509e3ce116e3affa590b5.1471430183.git.joe@perches.com>", "list_archive_url": null, "date": "2016-08-17T10:37:31", "name": "i40e: Remove XSTRINGIFY macro definitions and uses", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": false, "hash": "0ec3a7a418d6ef6b1242dc716c0647f3bd0fb439", "submitter": { "id": 771, "url": "http://patchwork.ozlabs.org/api/people/771/?format=api", "name": "Joe Perches", "email": "joe@perches.com" }, "delegate": { "id": 68, "url": "http://patchwork.ozlabs.org/api/users/68/?format=api", "username": "jtkirshe", "first_name": "Jeff", "last_name": "Kirsher", "email": "jeffrey.t.kirsher@intel.com" }, "mbox": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/2fcd71eb8b18415a020509e3ce116e3affa590b5.1471430183.git.joe@perches.com/mbox/", "series": [], "comments": "http://patchwork.ozlabs.org/api/patches/660215/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/660215/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<intel-wired-lan-bounces@lists.osuosl.org>", "X-Original-To": [ "incoming@patchwork.ozlabs.org", "intel-wired-lan@lists.osuosl.org" ], "Delivered-To": [ "patchwork-incoming@bilbo.ozlabs.org", "intel-wired-lan@lists.osuosl.org" ], "Received": [ "from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138])\n\t(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3sDxTW6Gtgz9t2L\n\tfor <incoming@patchwork.ozlabs.org>;\n\tThu, 18 Aug 2016 03:45:34 +1000 (AEST)", "from localhost (localhost [127.0.0.1])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id 56F1B8AA7C;\n\tWed, 17 Aug 2016 17:45:33 +0000 (UTC)", "from whitealder.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id VTmtaMGI6Rzh; Wed, 17 Aug 2016 17:45:31 +0000 (UTC)", "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id D6FD78A919;\n\tWed, 17 Aug 2016 17:45:31 +0000 (UTC)", "from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138])\n\tby ash.osuosl.org (Postfix) with ESMTP id 4F5341C220E\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tWed, 17 Aug 2016 17:45:31 +0000 (UTC)", "from localhost (localhost [127.0.0.1])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id 4AAD78A919\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tWed, 17 Aug 2016 17:45:31 +0000 (UTC)", "from whitealder.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id sp7dHaxPxPc1 for <intel-wired-lan@lists.osuosl.org>;\n\tWed, 17 Aug 2016 17:45:30 +0000 (UTC)", "from smtprelay.hostedemail.com (smtprelay0056.hostedemail.com\n\t[216.40.44.56])\n\tby whitealder.osuosl.org (Postfix) with ESMTPS id 421868A572\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tWed, 17 Aug 2016 17:45:30 +0000 (UTC)", "from smtprelay.hostedemail.com (10.5.19.251.rfc1918.com\n\t[10.5.19.251])\n\tby smtpgrave05.hostedemail.com (Postfix) with ESMTP id A1AF81840DA\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tWed, 17 Aug 2016 10:37:37 +0000 (UTC)", "from filter.hostedemail.com (unknown [216.40.38.60])\n\tby smtprelay04.hostedemail.com (Postfix) with ESMTP id 01929352039;\n\tWed, 17 Aug 2016 10:37:35 +0000 (UTC)", "from joe-laptop.perches.com (unknown [96.251.125.34])\n\t(Authenticated sender: joe@perches.com)\n\tby omf10.hostedemail.com (Postfix) with ESMTPA;\n\tWed, 17 Aug 2016 10:37:33 +0000 (UTC)" ], "X-Virus-Scanned": [ "amavisd-new at osuosl.org", "amavisd-new at osuosl.org" ], "X-Greylist": "delayed 06:30:05 by SQLgrey-1.7.6", "X-Session-Marker": "6A6F6540706572636865732E636F6D", "X-Spam-Summary": "2, 0, 0, , d41d8cd98f00b204, joe@perches.com, :::::::,\n\tRULES_HIT:41:355:379:541:800:960:973:988:989:1260:1345:1437:1534:1541:1711:1730:1747:1777:1792:2194:2199:2393:2559:2562:3138:3139:3140:3141:3142:3352:3876:3877:4321:4605:5007:6114:6261:6642:9592:10004:10848:11026:11232:11473:11657:11658:11914:12043:12438:12517:12519:12555:13069:13311:13357:14181:14384:14394:14721:21060:21080:21451:30054:30055:30064,\n\t0, RBL:none, CacheIP:none, Bayesian:0.5, 0.5, 0.5, Netcheck:none,\n\tDomainCache:0, MSF:not bulk, SPF:fn, MSBL:0, DNSBL:none,\n\tCustom_rules:0:0:0, LFtime:2, LUA_SUMMARY:none", "X-HE-Tag": "unit55_24ecf351cb611", "X-Filterd-Recvd-Size": "2172", "From": "Joe Perches <joe@perches.com>", "To": "Jeff Kirsher <jeffrey.t.kirsher@intel.com>", "Date": "Wed, 17 Aug 2016 03:37:31 -0700", "Message-Id": "<2fcd71eb8b18415a020509e3ce116e3affa590b5.1471430183.git.joe@perches.com>", "X-Mailer": "git-send-email 2.8.0.rc4.16.g56331f8", "Cc": "netdev@vger.kernel.org, intel-wired-lan@lists.osuosl.org,\n\tlinux-kernel@vger.kernel.org", "Subject": "[Intel-wired-lan] [PATCH] i40e: Remove XSTRINGIFY macro definitions\n\tand uses", "X-BeenThere": "intel-wired-lan@lists.osuosl.org", "X-Mailman-Version": "2.1.18-1", "Precedence": "list", "List-Id": "Intel Wired Ethernet Linux Kernel Driver Development\n\t<intel-wired-lan.lists.osuosl.org>", "List-Unsubscribe": "<http://lists.osuosl.org/mailman/options/intel-wired-lan>, \n\t<mailto:intel-wired-lan-request@lists.osuosl.org?subject=unsubscribe>", "List-Archive": "<http://lists.osuosl.org/pipermail/intel-wired-lan/>", "List-Post": "<mailto:intel-wired-lan@lists.osuosl.org>", "List-Help": "<mailto:intel-wired-lan-request@lists.osuosl.org?subject=help>", "List-Subscribe": "<http://lists.osuosl.org/mailman/listinfo/intel-wired-lan>, \n\t<mailto:intel-wired-lan-request@lists.osuosl.org?subject=subscribe>", "MIME-Version": "1.0", "Content-Type": "text/plain; charset=\"us-ascii\"", "Content-Transfer-Encoding": "7bit", "Errors-To": "intel-wired-lan-bounces@lists.osuosl.org", "Sender": "\"Intel-wired-lan\" <intel-wired-lan-bounces@lists.osuosl.org>" }, "content": "Use __stringify instead.\n\nSigned-off-by: Joe Perches <joe@perches.com>\n---\n drivers/net/ethernet/intel/i40e/i40e.h | 4 ----\n drivers/net/ethernet/intel/i40e/i40e_client.h | 6 +++---\n 2 files changed, 3 insertions(+), 7 deletions(-)", "diff": "diff --git a/drivers/net/ethernet/intel/i40e/i40e.h b/drivers/net/ethernet/intel/i40e/i40e.h\nindex 2a88291..9788981 100644\n--- a/drivers/net/ethernet/intel/i40e/i40e.h\n+++ b/drivers/net/ethernet/intel/i40e/i40e.h\n@@ -120,10 +120,6 @@\n #define I40E_CURRENT_NVM_VERSION_HI 0x2\n #define I40E_CURRENT_NVM_VERSION_LO 0x40\n \n-/* magic for getting defines into strings */\n-#define STRINGIFY(foo) #foo\n-#define XSTRINGIFY(bar) STRINGIFY(bar)\n-\n #define I40E_RX_DESC(R, i)\t\t\t\\\n \t(&(((union i40e_32byte_rx_desc *)((R)->desc))[i]))\n #define I40E_TX_DESC(R, i)\t\t\t\\\ndiff --git a/drivers/net/ethernet/intel/i40e/i40e_client.h b/drivers/net/ethernet/intel/i40e/i40e_client.h\nindex a4601d9..38a6c36 100644\n--- a/drivers/net/ethernet/intel/i40e/i40e_client.h\n+++ b/drivers/net/ethernet/intel/i40e/i40e_client.h\n@@ -36,9 +36,9 @@\n #define I40E_CLIENT_VERSION_MINOR 01\n #define I40E_CLIENT_VERSION_BUILD 00\n #define I40E_CLIENT_VERSION_STR \\\n-\tXSTRINGIFY(I40E_CLIENT_VERSION_MAJOR) \".\" \\\n-\tXSTRINGIFY(I40E_CLIENT_VERSION_MINOR) \".\" \\\n-\tXSTRINGIFY(I40E_CLIENT_VERSION_BUILD)\n+\t__stringify(I40E_CLIENT_VERSION_MAJOR) \".\" \\\n+\t__stringify(I40E_CLIENT_VERSION_MINOR) \".\" \\\n+\t__stringify(I40E_CLIENT_VERSION_BUILD)\n \n struct i40e_client_version {\n \tu8 major;\n", "prefixes": [] }