Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/1.2/patches/203292/?format=api
{ "id": 203292, "url": "http://patchwork.ozlabs.org/api/1.2/patches/203292/?format=api", "web_url": "http://patchwork.ozlabs.org/project/rtc-linux/patch/1354513427-21266-1-git-send-email-qingx@marvell.com/", "project": { "id": 9, "url": "http://patchwork.ozlabs.org/api/1.2/projects/9/?format=api", "name": "Linux RTC development", "link_name": "rtc-linux", "list_id": "linux-rtc.vger.kernel.org", "list_email": "linux-rtc@vger.kernel.org", "web_url": "", "scm_url": "", "webscm_url": "", "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<1354513427-21266-1-git-send-email-qingx@marvell.com>", "list_archive_url": null, "date": "2012-12-03T05:43:47", "name": "[4/4] rtc: 88pm80x: update irq base", "commit_ref": null, "pull_url": null, "state": "rejected", "archived": false, "hash": "69c24ee5eed3139e4836d1951c102c2e06571e54", "submitter": { "id": 19693, "url": "http://patchwork.ozlabs.org/api/1.2/people/19693/?format=api", "name": "Qing Xu", "email": "qingx@marvell.com" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/rtc-linux/patch/1354513427-21266-1-git-send-email-qingx@marvell.com/mbox/", "series": [], "comments": "http://patchwork.ozlabs.org/api/patches/203292/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/203292/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<rtc-linux+bncBAABBGPY6CCQKGQEIGMYMWY@googlegroups.com>", "X-Original-To": "incoming@patchwork.ozlabs.org", "Delivered-To": "patchwork-incoming@bilbo.ozlabs.org", "Received": [ "from mail-da0-f64.google.com (mail-da0-f64.google.com\n\t[209.85.210.64])\n\t(using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits))\n\t(Client CN \"smtp.gmail.com\",\n\tIssuer \"Google Internet Authority\" (not verified))\n\tby ozlabs.org (Postfix) with ESMTPS id 091752C0098\n\tfor <incoming@patchwork.ozlabs.org>;\n\tMon, 3 Dec 2012 16:43:57 +1100 (EST)", "by mail-da0-f64.google.com with SMTP id r6sf2042268dad.9\n\tfor <incoming@patchwork.ozlabs.org>;\n\tSun, 02 Dec 2012 21:43:55 -0800 (PST)", "by 10.50.91.165 with SMTP id cf5mr1596919igb.4.1354513434166;\n\tSun, 02 Dec 2012 21:43:54 -0800 (PST)", "by 10.50.40.134 with SMTP id x6ls1378066igk.21.canary; Sun, 02 Dec\n\t2012 21:43:53 -0800 (PST)", "by 10.66.86.6 with SMTP id l6mr1980841paz.11.1354513433622;\n\tSun, 02 Dec 2012 21:43:53 -0800 (PST)", "by 10.66.86.6 with SMTP id l6mr1980840paz.11.1354513433612;\n\tSun, 02 Dec 2012 21:43:53 -0800 (PST)", "from na3sys009aog108.obsmtp.com (na3sys009aog108.obsmtp.com\n\t[74.125.149.199]) by gmr-mx.google.com with SMTP id\n\tuz6si2252740pbc.0.2012.12.02.21.43.44\n\t(version=TLSv1/SSLv3 cipher=OTHER);\n\tSun, 02 Dec 2012 21:43:53 -0800 (PST)", "from MSI-MTA.marvell.com ([65.219.4.132]) (using TLSv1) by\n\tna3sys009aob108.postini.com ([74.125.148.12]) with SMTP\n\tID DSNKULw8EHCBgwA/dt7zYqqyWaduIQNIWDbn@postini.com;\n\tSun, 02 Dec 2012 21:43:53 PST", "from maili.marvell.com ([10.68.76.210]) by MSI-MTA.marvell.com\n\twith Microsoft SMTPSVC(6.0.3790.3959); \n\tSun, 2 Dec 2012 21:43:43 -0800", "from localhost (unknown [10.38.36.185])\n\tby maili.marvell.com (Postfix) with ESMTP id 912D54E510;\n\tSun, 2 Dec 2012 21:43:43 -0800 (PST)" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=googlegroups.com; s=20120806;\n\th=mime-version:x-beenthere:received-spf:from:to:subject:date\n\t:message-id:x-mailer:x-originalarrivaltime:x-original-sender\n\t:x-original-authentication-results:reply-to:precedence:mailing-list\n\t:list-id:x-google-group-id:list-post:list-help:list-archive:sender\n\t:list-subscribe:list-unsubscribe:content-type;\n\tbh=HsVOffxm8f1dDq3cAXCp6dP6rbTPxqBCjF9thOvpTrY=;\n\tb=tKLwDBWNJDIh/4eBXbHTMDm/RCwkqMg+19wV1eQlEX70bdVLfUjCxeJVsruC20EXSC\n\tR5iYgUidFRVOuE4qSk+juKzfYKDe3HpoEQnPqhePD6+bfTHQAPAupqegbMOTefC9XkjV\n\t7+I6K+D/IrqU2FRxkTGhPVVNCJe/uhF7ib7c80rsJSZyaJT8Zm083CoO95hmJaZtZbE1\n\tL6vjIan80N6VSUOI/kKHUe0MBS+UL3VTnvoCajaE3c/L7sKqMr0vHprujbCkPRifu6z0\n\t8TWu3BV5ynUbgFXQCa7x9qOVDiorRpQS+vKN/CerQg7wiew43aYy5/bTgnsS9z1ggrKh\n\tMd3Q==", "MIME-Version": "1.0", "X-BeenThere": "rtc-linux@googlegroups.com", "Received-SPF": "neutral (google.com: 74.125.149.199 is neither permitted nor\n\tdenied by best guess record for domain of qingx@marvell.com)\n\tclient-ip=74.125.149.199; ", "From": "Qing Xu <qingx@marvell.com>", "To": "a.zummo@towertech.it, qingx@marvell.com, zhouqiao@marvell.com,\n\tsameo@linux.intel.com, cxie4@marvell.com,\n\tlinux-kernel@vger.kernel.org, rtc-linux@googlegroups.com", "Subject": "[rtc-linux] [PATCH 4/4] rtc: 88pm80x: update irq base", "Date": "Mon, 3 Dec 2012 13:43:47 +0800", "Message-Id": "<1354513427-21266-1-git-send-email-qingx@marvell.com>", "X-Mailer": "git-send-email 1.7.0.4", "X-OriginalArrivalTime": "03 Dec 2012 05:43:43.0678 (UTC)\n\tFILETIME=[27DCC5E0:01CDD119]", "X-Original-Sender": "qingx@marvell.com", "X-Original-Authentication-Results": "gmr-mx.google.com;\n\tspf=neutral (google.com:\n\t74.125.149.199 is neither permitted nor denied by best guess record\n\tfor\n\tdomain of qingx@marvell.com) smtp.mail=qingx@marvell.com", "Reply-To": "rtc-linux@googlegroups.com", "Precedence": "list", "Mailing-list": "list rtc-linux@googlegroups.com;\n\tcontact rtc-linux+owners@googlegroups.com", "List-ID": "<rtc-linux.googlegroups.com>", "X-Google-Group-Id": "712029733259", "List-Post": "<http://groups.google.com/group/rtc-linux/post?hl=en_US>,\n\t<mailto:rtc-linux@googlegroups.com>", "List-Help": "<http://groups.google.com/support/?hl=en_US>,\n\t<mailto:rtc-linux+help@googlegroups.com>", "List-Archive": "<http://groups.google.com/group/rtc-linux?hl=en_US>", "Sender": "rtc-linux@googlegroups.com", "List-Subscribe": "<http://groups.google.com/group/rtc-linux/subscribe?hl=en_US>,\n\t<mailto:rtc-linux+subscribe@googlegroups.com>", "List-Unsubscribe": "<http://groups.google.com/group/rtc-linux/subscribe?hl=en_US>,\n\t<mailto:googlegroups-manage+712029733259+unsubscribe@googlegroups.com>", "Content-Type": "text/plain; charset=ISO-8859-1" }, "content": "From: Qing Xu <qingx@marvell.com>\n\nirq base is stored in 88pm80x's drv data, we need to add irq\nbase to get the correct irq num\n\nSigned-off-by: Qiao Zhou <zhouqiao@marvell.com>\nSigned-off-by: Qing Xu <qingx@marvell.com>\n---\n drivers/rtc/rtc-88pm80x.c | 7 ++++---\n 1 files changed, 4 insertions(+), 3 deletions(-)", "diff": "diff --git a/drivers/rtc/rtc-88pm80x.c b/drivers/rtc/rtc-88pm80x.c\nindex 6367984..7c3a264 100644\n--- a/drivers/rtc/rtc-88pm80x.c\n+++ b/drivers/rtc/rtc-88pm80x.c\n@@ -256,7 +256,7 @@ static int __devinit pm80x_rtc_probe(struct platform_device *pdev)\n \tstruct pm80x_rtc_info *info;\n \tstruct rtc_time tm;\n \tunsigned long ticks = 0;\n-\tint ret;\n+\tint irq, ret;\n \n \tpdata = pdev->dev.platform_data;\n \tif (pdata == NULL)\n@@ -266,12 +266,13 @@ static int __devinit pm80x_rtc_probe(struct platform_device *pdev)\n \t devm_kzalloc(&pdev->dev, sizeof(struct pm80x_rtc_info), GFP_KERNEL);\n \tif (!info)\n \t\treturn -ENOMEM;\n-\tinfo->irq = platform_get_irq(pdev, 0);\n-\tif (info->irq < 0) {\n+\tirq = platform_get_irq(pdev, 0);\n+\tif (irq < 0) {\n \t\tdev_err(&pdev->dev, \"No IRQ resource!\\n\");\n \t\tret = -EINVAL;\n \t\tgoto out;\n \t}\n+\tinfo->irq = irq + chip->irq_base;\n \n \tinfo->chip = chip;\n \tinfo->map = chip->regmap;\n", "prefixes": [ "4/4" ] }