{"id":806425,"url":"http://patchwork.ozlabs.org/api/1.0/patches/806425/?format=json","project":{"id":54,"url":"http://patchwork.ozlabs.org/api/1.0/projects/54/?format=json","name":"LEDE development","link_name":"lede","list_id":"lede-dev.lists.infradead.org","list_email":"lede-dev@lists.infradead.org","web_url":"http://lede-project.org/","scm_url":"","webscm_url":"http://git.lede-project.org/"},"msgid":"<20170828075744.24609-1-fe@dev.tdt.de>","date":"2017-08-28T07:57:43","name":"[LEDE-DEV,1/2] utils: rename function fw3_hotplug to fw3_hotplug_zone","commit_ref":null,"pull_url":null,"state":"changes-requested","archived":false,"hash":"e3fb92ce96485c99dd8d40c7ea41b3573ec89a73","submitter":{"id":72238,"url":"http://patchwork.ozlabs.org/api/1.0/people/72238/?format=json","name":"Florian Eckert","email":"fe@dev.tdt.de"},"delegate":null,"mbox":"http://patchwork.ozlabs.org/project/lede/patch/20170828075744.24609-1-fe@dev.tdt.de/mbox/","series":[{"id":96,"url":"http://patchwork.ozlabs.org/api/1.0/series/96/?format=json","date":"2017-08-28T07:57:43","name":"[LEDE-DEV,1/2] utils: rename function fw3_hotplug to fw3_hotplug_zone","version":1,"mbox":"http://patchwork.ozlabs.org/series/96/mbox/"}],"check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/806425/checks/","tags":{},"headers":{"Return-Path":"<lede-dev-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@bilbo.ozlabs.org","Authentication-Results":["ozlabs.org; spf=none (mailfrom)\n\tsmtp.mailfrom=lists.infradead.org (client-ip=65.50.211.133;\n\thelo=bombadil.infradead.org;\n\tenvelope-from=lede-dev-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org;\n\treceiver=<UNKNOWN>)","ozlabs.org; dkim=pass (2048-bit key;\n\tunprotected) header.d=lists.infradead.org\n\theader.i=@lists.infradead.org header.b=\"t1bFMBe5\"; \n\tdkim-atps=neutral"],"Received":["from bombadil.infradead.org (bombadil.infradead.org\n\t[65.50.211.133])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256\n\tbits)) (No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xgkg72PQ5z9sN5\n\tfor <incoming@patchwork.ozlabs.org>;\n\tMon, 28 Aug 2017 17:58:59 +1000 (AEST)","from localhost ([127.0.0.1] helo=bombadil.infradead.org)\n\tby bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux))\n\tid 1dmEwR-0007wy-V2; Mon, 28 Aug 2017 07:58:39 +0000","from ms.tdt.de ([195.243.126.94] helo=mail.dev.tdt.de)\n\tby bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux))\n\tid 1dmEw2-0007v9-86\n\tfor lede-dev@lists.infradead.org; Mon, 28 Aug 2017 07:58:16 +0000","from feckert01.dev.tdt.de (unknown [10.1.3.40])\n\tby mail.dev.tdt.de (Postfix) with ESMTPSA id ECAF92146D\n\tfor <lede-dev@lists.infradead.org>;\n\tMon, 28 Aug 2017 07:57:49 +0000 (UTC)"],"DKIM-Signature":"v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;\n\td=lists.infradead.org; s=bombadil.20170209; h=Sender:\n\tContent-Transfer-Encoding:Content-Type:MIME-Version:List-Subscribe:List-Help:\n\tList-Post:List-Archive:List-Unsubscribe:List-Id:Subject:Message-Id:Date:To:\n\tFrom:Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From:\n\tResent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:\n\tList-Owner; bh=7VLUcvUAYUcdX7u2UDWT+mJu4B7URGo94gcIMUWqKyg=;\n\tb=t1bFMBe5+kDA3G\n\tXL4/n0Xm5a6V1UXxx//xkcwyHxSu3Uc50KB22bCZttdsD/APusqhgH/7GYcFo7pE140WRTsWSqSi2\n\thl1MlOBM9EmTECOTVKTGsykFasmuxhkf0scMadPTzOZMtwmIEU/KVBaDH/3Zdi2LOqKtqonk9xRTz\n\tBBfOFhiNa7rKE8JBC+EhJFdxtd/pQvlF3KY/OUfNLARRSc2ji34/vVuVKTtc9CImtSQ7U0aoMSKgI\n\tqaBY3QmT+cKVbex4c0koDeRMOE5ymrH+g3/HwKqI6KtqO3r02BCLjtO5Dbp+clrxI+G4HgWayloCi\n\tWy3HzCNABgzGbsmQOpiw==;","From":"Florian Eckert <fe@dev.tdt.de>","To":"lede-dev@lists.infradead.org","Date":"Mon, 28 Aug 2017 09:57:43 +0200","Message-Id":"<20170828075744.24609-1-fe@dev.tdt.de>","X-Mailer":"git-send-email 2.11.0","X-Spam-Status":"No, score=-1.0 required=5.0 tests=ALL_TRUSTED,URIBL_BLOCKED\n\tautolearn=ham autolearn_force=no version=3.4.0","X-Spam-Checker-Version":"SpamAssassin 3.4.0 (2014-02-07) on mail.dev.tdt.de","X-CRM114-Version":"20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 ","X-CRM114-CacheID":"sfid-20170828_005814_467681_F7EE3DA3 ","X-CRM114-Status":"UNSURE (   7.41  )","X-CRM114-Notice":"Please train this message.","X-Spam-Score":"-1.9 (-)","X-Spam-Report":"SpamAssassin version 3.4.1 on bombadil.infradead.org summary:\n\tContent analysis details:   (-1.9 points)\n\tpts rule name              description\n\t---- ----------------------\n\t--------------------------------------------------\n\t-0.0 RP_MATCHES_RCVD Envelope sender domain matches handover relay\n\tdomain\n\t-1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%\n\t[score: 0.0000]","Subject":"[LEDE-DEV] [PATCH 1/2] utils: rename function fw3_hotplug to\n\tfw3_hotplug_zone","X-BeenThere":"lede-dev@lists.infradead.org","X-Mailman-Version":"2.1.21","Precedence":"list","List-Id":"<lede-dev.lists.infradead.org>","List-Unsubscribe":"<http://lists.infradead.org/mailman/options/lede-dev>,\n\t<mailto:lede-dev-request@lists.infradead.org?subject=unsubscribe>","List-Archive":"<http://lists.infradead.org/pipermail/lede-dev/>","List-Post":"<mailto:lede-dev@lists.infradead.org>","List-Help":"<mailto:lede-dev-request@lists.infradead.org?subject=help>","List-Subscribe":"<http://lists.infradead.org/mailman/listinfo/lede-dev>,\n\t<mailto:lede-dev-request@lists.infradead.org?subject=subscribe>","MIME-Version":"1.0","Content-Type":"text/plain; charset=\"us-ascii\"","Content-Transfer-Encoding":"7bit","Sender":"\"Lede-dev\" <lede-dev-bounces@lists.infradead.org>","Errors-To":"lede-dev-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org"},"content":"Rename fw3_hotplug function to fw3_hotplug_zone to use fw3_hotlpug for\ncommon hotplug events like start|stop|flush|reload|restart\n\nSigned-off-by: Florian Eckert <fe@dev.tdt.de>\n---\n utils.c | 2 +-\n utils.h | 2 +-\n zones.c | 2 +-\n 3 files changed, 3 insertions(+), 3 deletions(-)","diff":"diff --git a/utils.c b/utils.c\nindex 024f95e..f855840 100644\n--- a/utils.c\n+++ b/utils.c\n@@ -711,7 +711,7 @@ fw3_free_list(struct list_head *head)\n }\n \n bool\n-fw3_hotplug(bool add, void *zone, void *device)\n+fw3_hotplug_zone(bool add, void *zone, void *device)\n {\n \tstruct fw3_zone *z = zone;\n \tstruct fw3_device *d = device;\ndiff --git a/utils.h b/utils.h\nindex 9a716ae..9ad7b91 100644\n--- a/utils.h\n+++ b/utils.h\n@@ -106,7 +106,7 @@ void fw3_free_object(void *obj, const void *opts);\n \n void fw3_free_list(struct list_head *head);\n \n-bool fw3_hotplug(bool add, void *zone, void *device);\n+bool fw3_hotplug_zone(bool add, void *zone, void *device);\n \n int fw3_netmask2bitlen(int family, void *mask);\n \ndiff --git a/zones.c b/zones.c\nindex 2aa7473..0d663be 100644\n--- a/zones.c\n+++ b/zones.c\n@@ -703,7 +703,7 @@ fw3_hotplug_zones(struct fw3_state *state, bool add)\n \t\tif (add != fw3_hasbit(z->flags[0], FW3_FLAG_HOTPLUG))\n \t\t{\n \t\t\tlist_for_each_entry(d, &z->devices, list)\n-\t\t\t\tfw3_hotplug(add, z, d);\n+\t\t\t\tfw3_hotplug_zone(add, z, d);\n \n \t\t\tif (add)\n \t\t\t\tfw3_setbit(z->flags[0], FW3_FLAG_HOTPLUG);\n","prefixes":["LEDE-DEV","1/2"]}