Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/1191910/?format=api
{ "id": 1191910, "url": "http://patchwork.ozlabs.org/api/patches/1191910/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linuxppc-dev/patch/20191108130123.6839-20-linux@rasmusvillemoes.dk/", "project": { "id": 2, "url": "http://patchwork.ozlabs.org/api/projects/2/?format=api", "name": "Linux PPC development", "link_name": "linuxppc-dev", "list_id": "linuxppc-dev.lists.ozlabs.org", "list_email": "linuxppc-dev@lists.ozlabs.org", "web_url": "https://github.com/linuxppc/wiki/wiki", "scm_url": "https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git", "webscm_url": "https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git/", "list_archive_url": "https://lore.kernel.org/linuxppc-dev/", "list_archive_url_format": "https://lore.kernel.org/linuxppc-dev/{}/", "commit_url_format": "https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git/commit/?id={}" }, "msgid": "<20191108130123.6839-20-linux@rasmusvillemoes.dk>", "list_archive_url": "https://lore.kernel.org/linuxppc-dev/20191108130123.6839-20-linux@rasmusvillemoes.dk/", "date": "2019-11-08T13:00:55", "name": "[v4,19/47] soc: fsl: qe: make qe_ic_get_{low,high}_irq static", "commit_ref": null, "pull_url": null, "state": "not-applicable", "archived": false, "hash": "c92b2422819bb0da5f622ced39b8c0176478302d", "submitter": { "id": 27394, "url": "http://patchwork.ozlabs.org/api/people/27394/?format=api", "name": "Rasmus Villemoes", "email": "linux@rasmusvillemoes.dk" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/linuxppc-dev/patch/20191108130123.6839-20-linux@rasmusvillemoes.dk/mbox/", "series": [ { "id": 141654, "url": "http://patchwork.ozlabs.org/api/series/141654/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linuxppc-dev/list/?series=141654", "date": "2019-11-08T13:00:38", "name": "QUICC Engine support on ARM and ARM64", "version": 4, "mbox": "http://patchwork.ozlabs.org/series/141654/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/1191910/comments/", "check": "success", "checks": "http://patchwork.ozlabs.org/api/patches/1191910/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org>", "X-Original-To": [ "patchwork-incoming@ozlabs.org", "linuxppc-dev@lists.ozlabs.org" ], "Delivered-To": [ "patchwork-incoming@ozlabs.org", "linuxppc-dev@lists.ozlabs.org" ], "Received": [ "from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\tkey-exchange X25519 server-signature RSA-PSS (4096 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 478j3r47vDz9s4Y\n\tfor <patchwork-incoming@ozlabs.org>;\n\tSat, 9 Nov 2019 01:15:52 +1100 (AEDT)", "from bilbo.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3])\n\tby lists.ozlabs.org (Postfix) with ESMTP id 478j3r37DpzF7CG\n\tfor <patchwork-incoming@ozlabs.org>;\n\tSat, 9 Nov 2019 01:15:52 +1100 (AEDT)", "from mail-lj1-x243.google.com (mail-lj1-x243.google.com\n\t[IPv6:2a00:1450:4864:20::243])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\tkey-exchange X25519 server-signature RSA-PSS (2048 bits)\n\tserver-digest SHA256) (No client certificate requested)\n\tby lists.ozlabs.org (Postfix) with ESMTPS id 478gQX4t3hzF6vP\n\tfor <linuxppc-dev@lists.ozlabs.org>;\n\tSat, 9 Nov 2019 00:01:56 +1100 (AEDT)", "by mail-lj1-x243.google.com with SMTP id q2so6131506ljg.7\n\tfor <linuxppc-dev@lists.ozlabs.org>;\n\tFri, 08 Nov 2019 05:01:56 -0800 (PST)", "from prevas-ravi.prevas.se ([81.216.59.226])\n\tby smtp.gmail.com with ESMTPSA id\n\td28sm2454725lfn.33.2019.11.08.05.01.51\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tFri, 08 Nov 2019 05:01:52 -0800 (PST)" ], "Authentication-Results": [ "ozlabs.org; dmarc=none (p=none dis=none)\n\theader.from=rasmusvillemoes.dk", "ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n\tunprotected) header.d=rasmusvillemoes.dk header.i=@rasmusvillemoes.dk\n\theader.b=\"R9nDo10U\"; dkim-atps=neutral", "lists.ozlabs.org; spf=pass (sender SPF authorized)\n\tsmtp.mailfrom=rasmusvillemoes.dk (client-ip=2a00:1450:4864:20::243;\n\thelo=mail-lj1-x243.google.com; envelope-from=linux@rasmusvillemoes.dk;\n\treceiver=<UNKNOWN>)", "lists.ozlabs.org; dmarc=none (p=none dis=none)\n\theader.from=rasmusvillemoes.dk", "lists.ozlabs.org; dkim=pass (1024-bit key;\n\tunprotected) header.d=rasmusvillemoes.dk header.i=@rasmusvillemoes.dk\n\theader.b=\"R9nDo10U\"; dkim-atps=neutral" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=rasmusvillemoes.dk; s=google;\n\th=from:to:cc:subject:date:message-id:in-reply-to:references\n\t:mime-version:content-transfer-encoding;\n\tbh=6fFt1ZLVVia10843rsyK8F6LgIm9rFapqPGOb1a1zZs=;\n\tb=R9nDo10Ud+gNvAQJx2elWJ2ezKn4CYwaj9lzmRNdXz08cRh78MbVZXBE/b/1n9830H\n\tGTxAUYSWZutUrUKagsGjPC8/vcjW8kU/q7knuQiwKt2M/cK+vtRamqMJatpS1/Sa3gtc\n\tIR5Tc/3fEOCa/HsBcxU2W+UQQPA8VPCGGrF38=", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\n\t:references:mime-version:content-transfer-encoding;\n\tbh=6fFt1ZLVVia10843rsyK8F6LgIm9rFapqPGOb1a1zZs=;\n\tb=Eb7taqLPlHOtdxsn7+RiMwnMwaHkTwps3YyeiT7cjdC9PaMN5Ih09cFjzgE8kYwv1o\n\tLdELGk2COG98R3oqX3U70PaAwiWVK2NVZdFcA5exIb5dmhhzct/s038dxACSvPow9pKt\n\tQU621FWYOf/F9bwLbOL1IzwnDCdvfPlNVaUHN8xTXArQEiV5uqG6ue3tY7I4mnNfY7ip\n\t+oYnaq2KseOcrJvkdt62pxGr2srpWVq2SFHbhx5fmew77bSHOOQn2KTg7t6ebaUeCwJK\n\tQmnY3AZkGLJASw/dRc1cOv9/ziApgTj326QE56Y3v9/9wLm3V1+zt7ylM1v8Drs4P2Br\n\tc95w==", "X-Gm-Message-State": "APjAAAUtUV6ICltCRaJ9JnGVT+yPHA2gzkwkUB+Y+VAbmdTEzXlR7uXQ\n\tiOYTQyfEBW40DGgs0DuOxxRIUQ==", "X-Google-Smtp-Source": "APXvYqyWkJ61oVgQyRyaemn/tR7SOVb1MBntplV1X66lNyC26HdXxpXW75kbtcBgtV0gvTyUHsBN/g==", "X-Received": "by 2002:a2e:9119:: with SMTP id m25mr6925324ljg.24.1573218112597;\n\tFri, 08 Nov 2019 05:01:52 -0800 (PST)", "From": "Rasmus Villemoes <linux@rasmusvillemoes.dk>", "To": "Qiang Zhao <qiang.zhao@nxp.com>, Li Yang <leoyang.li@nxp.com>,\n\tChristophe Leroy <christophe.leroy@c-s.fr>", "Subject": "[PATCH v4 19/47] soc: fsl: qe: make qe_ic_get_{low, high}_irq static", "Date": "Fri, 8 Nov 2019 14:00:55 +0100", "Message-Id": "<20191108130123.6839-20-linux@rasmusvillemoes.dk>", "X-Mailer": "git-send-email 2.23.0", "In-Reply-To": "<20191108130123.6839-1-linux@rasmusvillemoes.dk>", "References": "<20191108130123.6839-1-linux@rasmusvillemoes.dk>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "X-BeenThere": "linuxppc-dev@lists.ozlabs.org", "X-Mailman-Version": "2.1.29", "Precedence": "list", "List-Id": "Linux on PowerPC Developers Mail List\n\t<linuxppc-dev.lists.ozlabs.org>", "List-Unsubscribe": "<https://lists.ozlabs.org/options/linuxppc-dev>,\n\t<mailto:linuxppc-dev-request@lists.ozlabs.org?subject=unsubscribe>", "List-Archive": "<http://lists.ozlabs.org/pipermail/linuxppc-dev/>", "List-Post": "<mailto:linuxppc-dev@lists.ozlabs.org>", "List-Help": "<mailto:linuxppc-dev-request@lists.ozlabs.org?subject=help>", "List-Subscribe": "<https://lists.ozlabs.org/listinfo/linuxppc-dev>,\n\t<mailto:linuxppc-dev-request@lists.ozlabs.org?subject=subscribe>", "Cc": "Scott Wood <oss@buserror.net>,\n\tRasmus Villemoes <linux@rasmusvillemoes.dk>, \n\tlinuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org,\n\tlinux-arm-kernel@lists.infradead.org", "Errors-To": "linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org", "Sender": "\"Linuxppc-dev\"\n\t<linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org>" }, "content": "These are only called from within qe_ic.c, so make them static.\n\nSigned-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>\n---\n drivers/soc/fsl/qe/qe_ic.c | 4 ++--\n include/soc/fsl/qe/qe_ic.h | 10 ----------\n 2 files changed, 2 insertions(+), 12 deletions(-)", "diff": "diff --git a/drivers/soc/fsl/qe/qe_ic.c b/drivers/soc/fsl/qe/qe_ic.c\nindex 8f74bc6efd5c..23b457e884d8 100644\n--- a/drivers/soc/fsl/qe/qe_ic.c\n+++ b/drivers/soc/fsl/qe/qe_ic.c\n@@ -283,7 +283,7 @@ static const struct irq_domain_ops qe_ic_host_ops = {\n };\n \n /* Return an interrupt vector or 0 if no interrupt is pending. */\n-unsigned int qe_ic_get_low_irq(struct qe_ic *qe_ic)\n+static unsigned int qe_ic_get_low_irq(struct qe_ic *qe_ic)\n {\n \tint irq;\n \n@@ -299,7 +299,7 @@ unsigned int qe_ic_get_low_irq(struct qe_ic *qe_ic)\n }\n \n /* Return an interrupt vector or 0 if no interrupt is pending. */\n-unsigned int qe_ic_get_high_irq(struct qe_ic *qe_ic)\n+static unsigned int qe_ic_get_high_irq(struct qe_ic *qe_ic)\n {\n \tint irq;\n \ndiff --git a/include/soc/fsl/qe/qe_ic.h b/include/soc/fsl/qe/qe_ic.h\nindex d47eb231519e..70bb5a0f6535 100644\n--- a/include/soc/fsl/qe/qe_ic.h\n+++ b/include/soc/fsl/qe/qe_ic.h\n@@ -53,14 +53,4 @@ enum qe_ic_grp_id {\n \tQE_IC_GRP_RISCB\t\t/* QE interrupt controller RISC group B */\n };\n \n-#ifdef CONFIG_QUICC_ENGINE\n-unsigned int qe_ic_get_low_irq(struct qe_ic *qe_ic);\n-unsigned int qe_ic_get_high_irq(struct qe_ic *qe_ic);\n-#else\n-static inline unsigned int qe_ic_get_low_irq(struct qe_ic *qe_ic)\n-{ return 0; }\n-static inline unsigned int qe_ic_get_high_irq(struct qe_ic *qe_ic)\n-{ return 0; }\n-#endif /* CONFIG_QUICC_ENGINE */\n-\n #endif /* _ASM_POWERPC_QE_IC_H */\n", "prefixes": [ "v4", "19/47" ] }