get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 12905,
    "url": "https://patches.dpdk.org/api/patches/12905/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/1463679482-2312-1-git-send-email-thomas.monjalon@6wind.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": "<1463679482-2312-1-git-send-email-thomas.monjalon@6wind.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1463679482-2312-1-git-send-email-thomas.monjalon@6wind.com",
    "date": "2016-05-19T17:38:02",
    "name": "[dpdk-dev] qede: fix 32-bit build with debug enabled",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "5b1bcc4ac7f5275b4bf8fc3d35dfe18ff04a3c4a",
    "submitter": {
        "id": 1,
        "url": "https://patches.dpdk.org/api/people/1/?format=api",
        "name": "Thomas Monjalon",
        "email": "thomas.monjalon@6wind.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/1463679482-2312-1-git-send-email-thomas.monjalon@6wind.com/mbox/",
    "series": [],
    "comments": "https://patches.dpdk.org/api/patches/12905/comments/",
    "check": "pending",
    "checks": "https://patches.dpdk.org/api/patches/12905/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 [IPv6:::1])\n\tby dpdk.org (Postfix) with ESMTP id 03D47ADBC;\n\tThu, 19 May 2016 19:38:19 +0200 (CEST)",
            "from mail-wm0-f41.google.com (mail-wm0-f41.google.com\n\t[74.125.82.41]) by dpdk.org (Postfix) with ESMTP id B612FA251\n\tfor <dev@dpdk.org>; Thu, 19 May 2016 19:38:17 +0200 (CEST)",
            "by mail-wm0-f41.google.com with SMTP id a17so137062024wme.0\n\tfor <dev@dpdk.org>; Thu, 19 May 2016 10:38:17 -0700 (PDT)",
            "from XPS13.localdomain (111.202.154.77.rev.sfr.net.\n\t[77.154.202.111]) by smtp.gmail.com with ESMTPSA id\n\tu6sm284560wmd.21.2016.05.19.10.38.13\n\t(version=TLSv1/SSLv3 cipher=OTHER);\n\tThu, 19 May 2016 10:38:16 -0700 (PDT)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=6wind-com.20150623.gappssmtp.com; s=20150623;\n\th=from:to:cc:subject:date:message-id;\n\tbh=AyYsroniUPxWVFuzTDX6w6b6PTQsYNZxV92lfg8iu+E=;\n\tb=m1TaxDUXWwsKqA9I8Ubl93zxFTF+cqchMTdzOQpsl20bQx7ZRdCRl5xfdnJRmvdxmE\n\tUdQnzOzLDrF40fcEXPANYoYuRS1f8WnShJDFMLtBjPYJPXyliQMJInncpjHmG62RPCVH\n\tRJDwuhQB3FHrFfmRsfoAEgz85WdG2ZTBa2J2MIXAQbNNsOs3IR4iupNanlbmW999jYBy\n\tC6xUN9wVt6yR5L8288/Zn1eSF7TbdthRYlMBowUnU1F+admO6ZMQWndd1h06Am9HnzgY\n\tt67AAZ9LZoZha5asAwkcdns1rRdYWj8C1xVModHrqRRlSv5ipsFzf7plaAybrEU0qWvx\n\tKoDg==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20130820;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id;\n\tbh=AyYsroniUPxWVFuzTDX6w6b6PTQsYNZxV92lfg8iu+E=;\n\tb=l1GXXpDjTzZNIhcM3WoSYG/0kk1+402k8hUU7cLBoISFRPFZPWWkorWbAY4xNX+AN0\n\tKm7QVlsXrMV5PKm7BqCdYu6WZuJ0Reqr9diuM6NFxhM/a7uPW2FNArznMBvZpKInLOrM\n\tvofrM8nxmKTKMvxvq+S3uvZGutodDf3mrKXbC2N3rUWw4OsehbQ+5mFVP5r/QwhxvzTu\n\tgE6y6ycM9Vfq2Tk4W4l38RCRjJC4xsSy6A1rGhCWMurwxoW+o2qvVFCmy2A9ej/95p11\n\t5ubYp64x4TSa5s2qL+/cTl9FKv42hneyqqNH+BmQyuw4vY1PnFdfFGS09X6EG3eznh+4\n\t+jMQ==",
        "X-Gm-Message-State": "AOPr4FVNSrvQGEOsVeTs3eisFBbvVRgfArZ/2/eyqDMrZ2gztg3fqnqj2vF5NJf2PZEcH/xQ",
        "X-Received": "by 10.194.157.161 with SMTP id wn1mr9725749wjb.131.1463679497186;\n\tThu, 19 May 2016 10:38:17 -0700 (PDT)",
        "From": "Thomas Monjalon <thomas.monjalon@6wind.com>",
        "To": "Harish Patil <harish.patil@qlogic.com>,\n\tRasesh Mody <rasesh.mody@qlogic.com>,\n\tSony Chacko <sony.chacko@qlogic.com>",
        "Cc": "dev@dpdk.org",
        "Date": "Thu, 19 May 2016 19:38:02 +0200",
        "Message-Id": "<1463679482-2312-1-git-send-email-thomas.monjalon@6wind.com>",
        "X-Mailer": "git-send-email 2.7.0",
        "Subject": "[dpdk-dev] [PATCH] qede: fix 32-bit build with debug enabled",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.15",
        "Precedence": "list",
        "List-Id": "patches and discussions about DPDK <dev.dpdk.org>",
        "List-Unsubscribe": "<http://dpdk.org/ml/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "List-Archive": "<http://dpdk.org/ml/archives/dev/>",
        "List-Post": "<mailto:dev@dpdk.org>",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "List-Subscribe": "<http://dpdk.org/ml/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "Some 64-bit variables are printed for debug.\n%PRIx64 qualifier must be used because %lx is not long enough\non 32-bit systems\n\nSigned-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>\n---\n drivers/net/qede/base/bcm_osal.c    | 4 ++--\n drivers/net/qede/base/ecore_cxt.c   | 6 +++---\n drivers/net/qede/base/ecore_mcp.c   | 4 ++--\n drivers/net/qede/base/ecore_sriov.c | 8 ++++----\n drivers/net/qede/base/ecore_vf.c    | 6 +++---\n 5 files changed, 14 insertions(+), 14 deletions(-)",
    "diff": "diff --git a/drivers/net/qede/base/bcm_osal.c b/drivers/net/qede/base/bcm_osal.c\nindex 9540c4b..ae5a8bc 100644\n--- a/drivers/net/qede/base/bcm_osal.c\n+++ b/drivers/net/qede/base/bcm_osal.c\n@@ -115,7 +115,7 @@ void *osal_dma_alloc_coherent(struct ecore_dev *p_dev,\n \t}\n \t*phys = mz->phys_addr;\n \tDP_VERBOSE(p_dev, ECORE_MSG_PROBE,\n-\t\t   \"size=%zu phys=0x%lx virt=%p on socket=%u\\n\",\n+\t\t   \"size=%zu phys=0x%\" PRIx64 \" virt=%p on socket=%u\\n\",\n \t\t   mz->len, mz->phys_addr, mz->addr, socket_id);\n \treturn mz->addr;\n }\n@@ -144,7 +144,7 @@ void *osal_dma_alloc_coherent_aligned(struct ecore_dev *p_dev,\n \t}\n \t*phys = mz->phys_addr;\n \tDP_VERBOSE(p_dev, ECORE_MSG_PROBE,\n-\t\t   \"aligned memory size=%zu phys=0x%lx virt=%p core=%d\\n\",\n+\t\t   \"aligned memory size=%zu phys=0x%\" PRIx64 \" virt=%p core=%d\\n\",\n \t\t   mz->len, mz->phys_addr, mz->addr, core_id);\n \treturn mz->addr;\n }\ndiff --git a/drivers/net/qede/base/ecore_cxt.c b/drivers/net/qede/base/ecore_cxt.c\nindex 8436621..1201c1a 100644\n--- a/drivers/net/qede/base/ecore_cxt.c\n+++ b/drivers/net/qede/base/ecore_cxt.c\n@@ -876,8 +876,8 @@ ecore_ilt_blk_alloc(struct ecore_hwfn *p_hwfn,\n \t\tilt_shadow[line].size = size;\n \n \t\tDP_VERBOSE(p_hwfn, ECORE_MSG_ILT,\n-\t\t\t   \"ILT shadow: Line [%d] Physical 0x%lx \"\n-\t\t\t   \"Virtual %p Size %d\\n\",\n+\t\t\t   \"ILT shadow: Line [%d] Physical 0x%\" PRIx64\n+\t\t\t   \" Virtual %p Size %d\\n\",\n \t\t\t   line, (u64)p_phys, p_virt, size);\n \n \t\tsz_left -= size;\n@@ -1474,7 +1474,7 @@ static void ecore_ilt_init_pf(struct ecore_hwfn *p_hwfn)\n \t\t\t\tDP_VERBOSE(p_hwfn, ECORE_MSG_ILT,\n \t\t\t\t\t\"Setting RT[0x%08x] from\"\n \t\t\t\t\t\" ILT[0x%08x] [Client is %d] to\"\n-\t\t\t\t\t\" Physical addr: 0x%lx\\n\",\n+\t\t\t\t\t\" Physical addr: 0x%\" PRIx64 \"\\n\",\n \t\t\t\t\trt_offst, line, i,\n \t\t\t\t\t(u64)(p_shdw[line].p_phys >> 12));\n \t\t\t}\ndiff --git a/drivers/net/qede/base/ecore_mcp.c b/drivers/net/qede/base/ecore_mcp.c\nindex bdc6a5e..9dd2eed 100644\n--- a/drivers/net/qede/base/ecore_mcp.c\n+++ b/drivers/net/qede/base/ecore_mcp.c\n@@ -1197,8 +1197,8 @@ enum _ecore_status_t ecore_mcp_fill_shmem_func_info(struct ecore_hwfn *p_hwfn,\n \tDP_VERBOSE(p_hwfn, (ECORE_MSG_SP | ECORE_MSG_IFUP),\n \t\t   \"Read configuration from shmem: pause_on_host %02x\"\n \t\t    \" protocol %02x BW [%02x - %02x]\"\n-\t\t    \" MAC %02x:%02x:%02x:%02x:%02x:%02x wwn port %lx\"\n-\t\t    \" node %lx ovlan %04x\\n\",\n+\t\t    \" MAC %02x:%02x:%02x:%02x:%02x:%02x wwn port %\" PRIx64\n+\t\t    \" node %\" PRIx64 \" ovlan %04x\\n\",\n \t\t   info->pause_on_host, info->protocol,\n \t\t   info->bandwidth_min, info->bandwidth_max,\n \t\t   info->mac[0], info->mac[1], info->mac[2],\ndiff --git a/drivers/net/qede/base/ecore_sriov.c b/drivers/net/qede/base/ecore_sriov.c\nindex 7cd48ea..1b3119d 100644\n--- a/drivers/net/qede/base/ecore_sriov.c\n+++ b/drivers/net/qede/base/ecore_sriov.c\n@@ -297,9 +297,9 @@ static enum _ecore_status_t ecore_iov_allocate_vfdb(struct ecore_hwfn *p_hwfn)\n \t\treturn ECORE_NOMEM;\n \n \tDP_VERBOSE(p_hwfn, ECORE_MSG_IOV,\n-\t\t   \"PF's Requests mailbox [%p virt 0x%lx phys],  Response\"\n-\t\t   \" mailbox [%p virt 0x%lx phys] Bulletins\"\n-\t\t   \" [%p virt 0x%lx phys]\\n\",\n+\t\t   \"PF's Requests mailbox [%p virt 0x%\" PRIx64 \" phys], \"\n+\t\t   \"Response mailbox [%p virt 0x%\" PRIx64 \" phys] Bulletins\"\n+\t\t   \" [%p virt 0x%\" PRIx64 \" phys]\\n\",\n \t\t   p_iov_info->mbx_msg_virt_addr,\n \t\t   (u64)p_iov_info->mbx_msg_phys_addr,\n \t\t   p_iov_info->mbx_reply_virt_addr,\n@@ -1250,7 +1250,7 @@ static void ecore_iov_vf_mbx_acquire(struct ecore_hwfn *p_hwfn,\n \n \tDP_VERBOSE(p_hwfn, ECORE_MSG_IOV,\n \t\t   \"VF[%d] ACQUIRE_RESPONSE: pfdev_info- chip_num=0x%x,\"\n-\t\t   \" db_size=%d, idx_per_sb=%d, pf_cap=0x%lx\\n\"\n+\t\t   \" db_size=%d, idx_per_sb=%d, pf_cap=0x%\" PRIx64 \"\\n\"\n \t\t   \"resources- n_rxq-%d, n_txq-%d, n_sbs-%d, n_macs-%d,\"\n \t\t   \" n_vlans-%d, n_mcs-%d\\n\",\n \t\t   vf->abs_vf_id, resp->pfdev_info.chip_num,\ndiff --git a/drivers/net/qede/base/ecore_vf.c b/drivers/net/qede/base/ecore_vf.c\nindex 4073aaf..d32fb35 100644\n--- a/drivers/net/qede/base/ecore_vf.c\n+++ b/drivers/net/qede/base/ecore_vf.c\n@@ -325,8 +325,8 @@ enum _ecore_status_t ecore_vf_hw_prepare(struct ecore_dev *p_dev)\n \t}\n \n \tDP_VERBOSE(p_hwfn, ECORE_MSG_IOV,\n-\t\t   \"VF's Request mailbox [%p virt 0x%lx phys], Response\"\n-\t\t   \" mailbox [%p virt 0x%lx phys]\\n\",\n+\t\t   \"VF's Request mailbox [%p virt 0x%\" PRIx64 \" phys], \"\n+\t\t   \"Response mailbox [%p virt 0x%\" PRIx64 \" phys]\\n\",\n \t\t   p_sriov->vf2pf_request,\n \t\t   (u64)p_sriov->vf2pf_request_phys,\n \t\t   p_sriov->pf2vf_reply, (u64)p_sriov->pf2vf_reply_phys);\n@@ -339,7 +339,7 @@ enum _ecore_status_t ecore_vf_hw_prepare(struct ecore_dev *p_dev)\n \t\t\t\t\t\t\t   p_sriov->bulletin.\n \t\t\t\t\t\t\t   size);\n \tDP_VERBOSE(p_hwfn, ECORE_MSG_IOV,\n-\t\t   \"VF's bulletin Board [%p virt 0x%lx phys 0x%08x bytes]\\n\",\n+\t\t   \"VF's bulletin Board [%p virt 0x%\" PRIx64 \" phys 0x%08x bytes]\\n\",\n \t\t   p_sriov->bulletin.p_virt, (u64)p_sriov->bulletin.phys,\n \t\t   p_sriov->bulletin.size);\n \n",
    "prefixes": [
        "dpdk-dev"
    ]
}