get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

GET /api/patches/58627/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 58627,
    "url": "https://patches.dpdk.org/api/patches/58627/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20190905093239.27187-3-amo@semihalf.com/",
    "project": {
        "id": 1,
        "url": "https://patches.dpdk.org/api/projects/1/?format=api",
        "name": "DPDK",
        "link_name": "dpdk",
        "list_id": "dev.dpdk.org",
        "list_email": "dev@dpdk.org",
        "web_url": "http://core.dpdk.org",
        "scm_url": "git://dpdk.org/dpdk",
        "webscm_url": "http://git.dpdk.org/dpdk",
        "list_archive_url": "https://inbox.dpdk.org/dev",
        "list_archive_url_format": "https://inbox.dpdk.org/dev/{}",
        "commit_url_format": ""
    },
    "msgid": "<20190905093239.27187-3-amo@semihalf.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20190905093239.27187-3-amo@semihalf.com",
    "date": "2019-09-05T09:32:31",
    "name": "[02/10] eventdev: fix possible use of uninitialized var",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "7936c9a780da613bbe43bbf18c91062ece58f082",
    "submitter": {
        "id": 1112,
        "url": "https://patches.dpdk.org/api/people/1112/?format=api",
        "name": "Andrzej Ostruszka",
        "email": "amo@semihalf.com"
    },
    "delegate": {
        "id": 1,
        "url": "https://patches.dpdk.org/api/users/1/?format=api",
        "username": "tmonjalo",
        "first_name": "Thomas",
        "last_name": "Monjalon",
        "email": "thomas@monjalon.net"
    },
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/20190905093239.27187-3-amo@semihalf.com/mbox/",
    "series": [
        {
            "id": 6250,
            "url": "https://patches.dpdk.org/api/series/6250/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=6250",
            "date": "2019-09-05T09:32:29",
            "name": "Add an option to use LTO for DPDK build",
            "version": 1,
            "mbox": "https://patches.dpdk.org/series/6250/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/58627/comments/",
    "check": "warning",
    "checks": "https://patches.dpdk.org/api/patches/58627/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<dev-bounces@dpdk.org>",
        "X-Original-To": "patchwork@dpdk.org",
        "Delivered-To": "patchwork@dpdk.org",
        "Received": [
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 532101EE1A;\n\tThu,  5 Sep 2019 11:32:47 +0200 (CEST)",
            "from mail-lf1-f67.google.com (mail-lf1-f67.google.com\n\t[209.85.167.67]) by dpdk.org (Postfix) with ESMTP id 9D1891EDA9\n\tfor <dev@dpdk.org>; Thu,  5 Sep 2019 11:32:42 +0200 (CEST)",
            "by mail-lf1-f67.google.com with SMTP id j4so1406167lfh.8\n\tfor <dev@dpdk.org>; Thu, 05 Sep 2019 02:32:42 -0700 (PDT)",
            "from localhost.localdomain (31-172-191-173.noc.fibertech.net.pl.\n\t[31.172.191.173]) by smtp.googlemail.com with ESMTPSA id\n\tb25sm363060lfa.90.2019.09.05.02.32.41\n\t(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n\tThu, 05 Sep 2019 02:32:41 -0700 (PDT)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=semihalf-com.20150623.gappssmtp.com; s=20150623;\n\th=from:to:cc:subject:date:message-id:in-reply-to:references;\n\tbh=NmBqw+BMLzZ/8Flgo8FLKyEvK1Io2QD3hAZums/97J4=;\n\tb=keqD3UUJ3TaOPTt26W1YdHED9zKHEa4w+XzsKZ1YjORbMq9SiR+e/LJo7qN/jxutwI\n\t5hCfIilDLngtj92V7dR9N0HZ9Dd/FOYBPmFkEIgiNuXT97CXGj8alOxAVaZdZZ+GF9P2\n\t6Al5L5IsnbRqTGptwyrNYdlRv26miKmtEZ9GA4xtmMqJSzLYPfW76GpoSRolIg7SXlv/\n\tGMM7t1UxTKvm4V+6cIeMvwfdVpmDTxJ8sgiArLd22/kEHOyhjGA/PtZWLcaq4Bw8K6+b\n\tQxiMcN95h6nPrJBg/+J4iM2eU4sjkiT3f2pdRGMq2/I+iffjscW3PFrbSNWHvNMDg2Bb\n\tyxHQ==",
        "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;\n\tbh=NmBqw+BMLzZ/8Flgo8FLKyEvK1Io2QD3hAZums/97J4=;\n\tb=SZhJ3b8VeGv7kipISq7R3A2pDHxjZZQiieuuMfaiIx5t2Whx+dOkLZzfni9vRiwvu5\n\tR5VrxJ9k/2i1PMe4OOC5xwq7XgDNEwyUR6DVfoFLBz1mwJkx07U9Nhk1UAkPJFlONyml\n\tCkTnJbiiL7R0HAGej75WTJYFUly0ngegizSwXAbAsGzIQcWCtTemVB7Yl+qjY/PAPGxx\n\tbWJ/zimergc4FuaWDQ/yUMxa0Wwh4rtrkPnOKhhMon/+Ro29nxiS+sCQ0W2rXMEpmubF\n\tFf6Cm+rgu2XupNfDNiepKXDonl3d5JYMqL9M+SsMUIayqO/FsI3N9jG0xpEFwLckF3by\n\t7bxA==",
        "X-Gm-Message-State": "APjAAAUzzJbKtQIdd8ufcEJ3k41yadTQv296zG4RtLDMwQ+clMGZlV0Z\n\tidzbe3Yg2HYFZ2Vp+CvrFkkl1wcTUYCk0A==",
        "X-Google-Smtp-Source": "APXvYqyLSWt9VYxPqB+WPzE9CUXBMq91eDE2OEg/v/ZkuuKR+Ez9NCW6UgZ+QHv4koz6CUPay3Uejg==",
        "X-Received": "by 2002:ac2:52b6:: with SMTP id r22mr1718085lfm.19.1567675962106;\n\tThu, 05 Sep 2019 02:32:42 -0700 (PDT)",
        "From": "Andrzej Ostruszka <amo@semihalf.com>",
        "To": "dev@dpdk.org",
        "Cc": "Andrzej Ostruszka <aostruszka@marvell.com>",
        "Date": "Thu,  5 Sep 2019 11:32:31 +0200",
        "Message-Id": "<20190905093239.27187-3-amo@semihalf.com>",
        "X-Mailer": "git-send-email 2.17.1",
        "In-Reply-To": "<20190905093239.27187-1-amo@semihalf.com>",
        "References": "<20190905093239.27187-1-amo@semihalf.com>",
        "Subject": "[dpdk-dev] [PATCH 02/10] eventdev: fix possible use of\n\tuninitialized var",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.15",
        "Precedence": "list",
        "List-Id": "DPDK patches and discussions <dev.dpdk.org>",
        "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "List-Archive": "<http://mails.dpdk.org/archives/dev/>",
        "List-Post": "<mailto:dev@dpdk.org>",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "Fix the logic for the case of event queue allowing all schedule types.\n\nSigned-off-by: Andrzej Ostruszka <aostruszka@marvell.com>\n---\n lib/librte_eventdev/rte_event_timer_adapter.c | 8 ++++----\n 1 file changed, 4 insertions(+), 4 deletions(-)",
    "diff": "diff --git a/lib/librte_eventdev/rte_event_timer_adapter.c b/lib/librte_eventdev/rte_event_timer_adapter.c\nindex 5ce399eca..161e21a68 100644\n--- a/lib/librte_eventdev/rte_event_timer_adapter.c\n+++ b/lib/librte_eventdev/rte_event_timer_adapter.c\n@@ -706,11 +706,11 @@ check_destination_event_queue(struct rte_event_timer *evtim,\n \t\t\t\t       RTE_EVENT_QUEUE_ATTR_SCHEDULE_TYPE,\n \t\t\t\t       &sched_type);\n \n-\tif ((ret < 0 && ret != -EOVERFLOW) ||\n-\t    evtim->ev.sched_type != sched_type)\n-\t\treturn -1;\n+\tif ((ret == 0 && evtim->ev.sched_type == sched_type) ||\n+\t    ret == -EOVERFLOW)\n+\t\treturn 0;\n \n-\treturn 0;\n+\treturn -1;\n }\n \n static int\n",
    "prefixes": [
        "02/10"
    ]
}