Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/808006/?format=api
{ "id": 808006, "url": "http://patchwork.ozlabs.org/api/patches/808006/?format=api", "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/patch/20170831035306.29170-3-f4bug@amsat.org/", "project": { "id": 14, "url": "http://patchwork.ozlabs.org/api/projects/14/?format=api", "name": "QEMU Development", "link_name": "qemu-devel", "list_id": "qemu-devel.nongnu.org", "list_email": "qemu-devel@nongnu.org", "web_url": "", "scm_url": "", "webscm_url": "", "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<20170831035306.29170-3-f4bug@amsat.org>", "list_archive_url": null, "date": "2017-08-31T03:53:01", "name": "[2/7] serial: use serial_chr_nonnull() in serial_mm_init()", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "45c6b40845ffe8417204be9662fbc1e7e286d162", "submitter": { "id": 70924, "url": "http://patchwork.ozlabs.org/api/people/70924/?format=api", "name": "Philippe Mathieu-Daudé", "email": "f4bug@amsat.org" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/qemu-devel/patch/20170831035306.29170-3-f4bug@amsat.org/mbox/", "series": [ { "id": 736, "url": "http://patchwork.ozlabs.org/api/series/736/?format=api", "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/list/?series=736", "date": "2017-08-31T03:52:59", "name": "serial: add serial_chr_nonnull()", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/736/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/808006/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/808006/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>", "X-Original-To": "incoming@patchwork.ozlabs.org", "Delivered-To": "patchwork-incoming@bilbo.ozlabs.org", "Authentication-Results": [ "ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=nongnu.org\n\t(client-ip=2001:4830:134:3::11; helo=lists.gnu.org;\n\tenvelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org;\n\treceiver=<UNKNOWN>)", "ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (2048-bit key;\n\tunprotected) header.d=gmail.com header.i=@gmail.com\n\theader.b=\"J2q57TqR\"; dkim-atps=neutral" ], "Received": [ "from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11])\n\t(using TLSv1 with cipher AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3xjT7s6DS7z9s3w\n\tfor <incoming@patchwork.ozlabs.org>;\n\tThu, 31 Aug 2017 13:56:25 +1000 (AEST)", "from localhost ([::1]:53795 helo=lists.gnu.org)\n\tby lists.gnu.org with esmtp (Exim 4.71) (envelope-from\n\t<qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>)\n\tid 1dnGae-000357-0p\n\tfor incoming@patchwork.ozlabs.org; Wed, 30 Aug 2017 23:56:24 -0400", "from eggs.gnu.org ([2001:4830:134:3::10]:55530)\n\tby lists.gnu.org with esmtp (Exim 4.71)\n\t(envelope-from <philippe.mathieu.daude@gmail.com>)\n\tid 1dnGXh-0000eB-IS\n\tfor qemu-devel@nongnu.org; Wed, 30 Aug 2017 23:53:22 -0400", "from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)\n\t(envelope-from <philippe.mathieu.daude@gmail.com>)\n\tid 1dnGXg-0006Yr-QU\n\tfor qemu-devel@nongnu.org; Wed, 30 Aug 2017 23:53:21 -0400", "from mail-qt0-x244.google.com ([2607:f8b0:400d:c0d::244]:35343)\n\tby eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)\n\t(Exim 4.71) (envelope-from <philippe.mathieu.daude@gmail.com>)\n\tid 1dnGXg-0006Ye-MV\n\tfor qemu-devel@nongnu.org; Wed, 30 Aug 2017 23:53:20 -0400", "by mail-qt0-x244.google.com with SMTP id u11so6733763qtu.2\n\tfor <qemu-devel@nongnu.org>; Wed, 30 Aug 2017 20:53:20 -0700 (PDT)", "from yoga.offpageads.com ([181.93.89.178])\n\tby smtp.gmail.com with ESMTPSA id\n\tx20sm5072398qtb.5.2017.08.30.20.53.17\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\n\tWed, 30 Aug 2017 20:53:19 -0700 (PDT)" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;\n\th=sender:from:to:cc:subject:date:message-id:in-reply-to:references\n\t:mime-version:content-transfer-encoding;\n\tbh=fozbPzCoeQcIPahCw/iaBKzzN4VMrhFuXj6ZFHmqJEE=;\n\tb=J2q57TqRTnjvDWV55ft3iYFwI34F3ZyyPdIYZ8NvIaLfj0Gh6hAm4YxmyopVmSntYi\n\tLOI2NuCprqNtTLku6lg1mUQSA6KJaVrUMI/CxltqCAWeWcK0L5dysae1IEjCEWx4tF8v\n\timiy64kFsY7yhkl4+qAwsyhGLIj1AJvKBGPoKBlu3ZLbRDRvRXQT4i5yUETX/SAj4CAh\n\ta4l3UtFtGhI9Raihl+W8RWIJfkiFbzcMGkGOfBj9lSioSQ3YY/fVbS4edaq6RDGuwjc1\n\tTf9qxudHcIekQQW+11sw5lySbRSurS7aGPWHGsaDCmzrMstlzpPtJ3k3mT3B9+rmHXwA\n\tYurg==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:sender:from:to:cc:subject:date:message-id\n\t:in-reply-to:references:mime-version:content-transfer-encoding;\n\tbh=fozbPzCoeQcIPahCw/iaBKzzN4VMrhFuXj6ZFHmqJEE=;\n\tb=S808wTZDXQVh1YvJye8lyfdnao5WjCO2u0uKab/hPSiqjx+6pVjN5mPxx2e7HuhM96\n\tVvnn3yItYRV56JMwKnILXLE2So3lGxCYk3TAwro6h6fL9PbFe2LPRjRi4mGmnREag+4n\n\tngq50BDKhtGIz7qfm1hAX3rH/p3EqvNqr8lWDaz9nEBHLNaK/c9F/P/C/v0iHzIDZEFl\n\tosn4O3ITlqjD7YyvWlWLnYs1ElLahAroBYwIY+5aCR4a2T4dJLAI0bUAu/zWEd7zeZEv\n\tMirHC0YnwGxWd/Fcoz33dFCqeSca0FWU1Jf6mTRnwzVvDPDsNA+U//t7tmaC364qSiNS\n\tF8VQ==", "X-Gm-Message-State": "AHPjjUjTMdLfKK0ZAxx7QTrRKRfgrZhm4DQVPtWjGJuXSC7OLkNn0wq0\n\tCqPQf1ICvr2imw==", "X-Received": "by 10.200.40.82 with SMTP id 18mr5118194qtr.152.1504151600164;\n\tWed, 30 Aug 2017 20:53:20 -0700 (PDT)", "From": "=?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= <f4bug@amsat.org>", "To": "Paolo Bonzini <pbonzini@redhat.com>, Peter Maydell\n\t<peter.maydell@linaro.org>, =?utf-8?q?Marc-Andr=C3=A9_Lureau?=\n\t<marcandre.lureau@redhat.com>, \tThomas Huth <thuth@redhat.com>", "Date": "Thu, 31 Aug 2017 00:53:01 -0300", "Message-Id": "<20170831035306.29170-3-f4bug@amsat.org>", "X-Mailer": "git-send-email 2.14.1", "In-Reply-To": "<20170831035306.29170-1-f4bug@amsat.org>", "References": "<20170831035306.29170-1-f4bug@amsat.org>", "MIME-Version": "1.0", "Content-Type": "text/plain; charset=UTF-8", "Content-Transfer-Encoding": "8bit", "X-detected-operating-system": "by eggs.gnu.org: Genre and OS details not\n\trecognized.", "X-Received-From": "2607:f8b0:400d:c0d::244", "Subject": "[Qemu-devel] [PATCH 2/7] serial: use serial_chr_nonnull() in\n\tserial_mm_init()", "X-BeenThere": "qemu-devel@nongnu.org", "X-Mailman-Version": "2.1.21", "Precedence": "list", "List-Id": "<qemu-devel.nongnu.org>", "List-Unsubscribe": "<https://lists.nongnu.org/mailman/options/qemu-devel>,\n\t<mailto:qemu-devel-request@nongnu.org?subject=unsubscribe>", "List-Archive": "<http://lists.nongnu.org/archive/html/qemu-devel/>", "List-Post": "<mailto:qemu-devel@nongnu.org>", "List-Help": "<mailto:qemu-devel-request@nongnu.org?subject=help>", "List-Subscribe": "<https://lists.nongnu.org/mailman/listinfo/qemu-devel>,\n\t<mailto:qemu-devel-request@nongnu.org?subject=subscribe>", "Cc": "\"Michael S. Tsirkin\" <mst@redhat.com>, =?utf-8?q?Philippe_Mathieu-Daud?=\n\t=?utf-8?b?w6k=?= <f4bug@amsat.org>, \tqemu-devel@nongnu.org", "Errors-To": "qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org", "Sender": "\"Qemu-devel\"\n\t<qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>" }, "content": "Suggested-by: Peter Maydell <peter.maydell@linaro.org>\nSigned-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>\n---\n hw/char/serial.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)", "diff": "diff --git a/hw/char/serial.c b/hw/char/serial.c\nindex e4c38dc250..57e89468b4 100644\n--- a/hw/char/serial.c\n+++ b/hw/char/serial.c\n@@ -1050,7 +1050,7 @@ SerialState *serial_mm_init(MemoryRegion *address_space,\n s->it_shift = it_shift;\n s->irq = irq;\n s->baudbase = baudbase;\n- qemu_chr_fe_init(&s->chr, chr, &error_abort);\n+ qemu_chr_fe_init(&s->chr, serial_chr_nonnull(chr), &error_abort);\n \n serial_realize_core(s, &error_fatal);\n vmstate_register(NULL, base, &vmstate_serial, s);\n", "prefixes": [ "2/7" ] }