Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/234/?format=api
{ "id": 234, "url": "http://patchwork.ozlabs.org/api/patches/234/?format=api", "web_url": "http://patchwork.ozlabs.org/project/cbe-oss-dev/patch/48C8771A.2000806@am.sony.com/", "project": { "id": 1, "url": "http://patchwork.ozlabs.org/api/projects/1/?format=api", "name": "Cell Broadband Engine development", "link_name": "cbe-oss-dev", "list_id": "cbe-oss-dev.ozlabs.org", "list_email": "cbe-oss-dev@ozlabs.org", "web_url": null, "scm_url": null, "webscm_url": null, "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<48C8771A.2000806@am.sony.com>", "list_archive_url": null, "date": "2008-09-11T01:40:42", "name": "Fix build warnings", "commit_ref": null, "pull_url": null, "state": "not-applicable", "archived": false, "hash": "63763e941ad0eb28627dc4644aea01bdc6c2b1d2", "submitter": { "id": 34, "url": "http://patchwork.ozlabs.org/api/people/34/?format=api", "name": "Geoff Levand", "email": "geoffrey.levand@am.sony.com" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/cbe-oss-dev/patch/48C8771A.2000806@am.sony.com/mbox/", "series": [], "comments": "http://patchwork.ozlabs.org/api/patches/234/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/234/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<cbe-oss-dev-bounces+patchwork=ozlabs.org@ozlabs.org>", "X-Original-To": [ "patchwork@ozlabs.org", "cbe-oss-dev@ozlabs.org" ], "Delivered-To": [ "patchwork@ozlabs.org", "cbe-oss-dev@ozlabs.org" ], "Received": [ "from ozlabs.org (localhost [127.0.0.1])\n\tby ozlabs.org (Postfix) with ESMTP id DFCE9DE155\n\tfor <patchwork@ozlabs.org>; Thu, 11 Sep 2008 11:41:13 +1000 (EST)", "from WA4EHSOBE006.bigfish.com (outbound-wa4.frontbridge.com\n\t[216.32.181.16]) by ozlabs.org (Postfix) with ESMTP id ABC39DDFF7\n\tfor <cbe-oss-dev@ozlabs.org>; Thu, 11 Sep 2008 11:40:48 +1000 (EST)", "from mail207-wa4-R.bigfish.com (10.8.14.246) by\n\tWA4EHSOBE006.bigfish.com (10.8.40.26) with Microsoft SMTP Server id\n\t8.1.291.1; Thu, 11 Sep 2008 01:40:45 +0000", "from mail207-wa4 (localhost.localdomain [127.0.0.1])\tby\n\tmail207-wa4-R.bigfish.com (Postfix) with ESMTP id 611C9898585;\n\tThu, 11 Sep 2008 01:40:45 +0000 (UTC)", "by mail207-wa4 (MessageSwitch) id 1221097243986264_13881; Thu, 11\n\tSep 2008 01:40:43 +0000 (UCT)", "from mail8.fw-sd.sony.com (mail8.fw-sd.sony.com [160.33.66.75])\tby\n\tmail207-wa4.bigfish.com (Postfix) with ESMTP id BB2D7448074;\n\tThu, 11 Sep 2008 01:40:43 +0000 (UTC)", "from mail3.sjc.in.sel.sony.com (mail3.sjc.in.sel.sony.com\n\t[43.134.1.211])\tby mail8.fw-sd.sony.com (8.14.2/8.14.2) with ESMTP id\n\tm8B1ehhh001524;\tThu, 11 Sep 2008 01:40:43 GMT", "from USSDIXIM01.am.sony.com (ussdixim01.am.sony.com\n\t[43.130.140.33])\n\tby mail3.sjc.in.sel.sony.com (8.12.11/8.12.11) with ESMTP id\n\tm8B1ehBi001777; Thu, 11 Sep 2008 01:40:43 GMT", "from ussdixms03.am.sony.com ([43.130.140.23]) by\n\tUSSDIXIM01.am.sony.com with Microsoft SMTPSVC(5.0.2195.6713);\n\tWed, 10 Sep 2008 18:40:42 -0700", "from [192.168.1.10] ([43.135.148.226]) by ussdixms03.am.sony.com\n\twith Microsoft SMTPSVC(5.0.2195.6713); Wed, 10 Sep 2008 18:40:42 -0700" ], "X-BigFish": "VPS1(zzzz10d3izzz2fh6bh61h)", "X-Spam-TCS-SCL": "0:0", "X-FB-SS": "5,", "Message-ID": "<48C8771A.2000806@am.sony.com>", "Date": "Wed, 10 Sep 2008 18:40:42 -0700", "From": "Geoff Levand <geoffrey.levand@am.sony.com>", "User-Agent": "Thunderbird 2.0.0.16 (X11/20080723)", "MIME-Version": "1.0", "To": "horms@verge.net.au", "X-Enigmail-Version": "0.95.7", "X-OriginalArrivalTime": "11 Sep 2008 01:40:42.0573 (UTC)\n\tFILETIME=[670AB7D0:01C913AF]", "X-SEL-encryption-scan": "scanned", "Cc": "kexec@lists.infradead.org,\n\tCell Broadband Engine OSS Development <cbe-oss-dev@ozlabs.org>", "Subject": "[Cbe-oss-dev] [kexec patch 1/2] Fix build warnings", "X-BeenThere": "cbe-oss-dev@ozlabs.org", "X-Mailman-Version": "2.1.11", "Precedence": "list", "List-Id": "Discussion about Open Source Software for the Cell Broadband Engine\n\t<cbe-oss-dev.ozlabs.org>", "List-Unsubscribe": "<https://ozlabs.org/mailman/options/cbe-oss-dev>,\n\t<mailto:cbe-oss-dev-request@ozlabs.org?subject=unsubscribe>", "List-Archive": "<http://ozlabs.org/pipermail/cbe-oss-dev>", "List-Post": "<mailto:cbe-oss-dev@ozlabs.org>", "List-Help": "<mailto:cbe-oss-dev-request@ozlabs.org?subject=help>", "List-Subscribe": "<https://ozlabs.org/mailman/listinfo/cbe-oss-dev>,\n\t<mailto:cbe-oss-dev-request@ozlabs.org?subject=subscribe>", "Content-Type": "text/plain; charset=\"us-ascii\"", "Content-Transfer-Encoding": "7bit", "Sender": "cbe-oss-dev-bounces+patchwork=ozlabs.org@ozlabs.org", "Errors-To": "cbe-oss-dev-bounces+patchwork=ozlabs.org@ozlabs.org" }, "content": "Fix these 64 bit build warnings:\n\n kexec/firmware_memmap.c:241: warning: format '%d' expects type 'int', but argument 3 has type 'size_t'\n kexec/crashdump-elf.c:160: warning: format '%llx' expects type 'long long unsigned int', but argument 4 has type 'Elf64_Off'\n kexec/crashdump-elf.c:160: warning: format '%llx' expects type 'long long unsigned int', but argument 5 has type 'Elf64_Addr'\n kexec/crashdump-elf.c:160: warning: format '%llx' expects type 'long long unsigned int', but argument 6 has type 'Elf64_Addr'\n kexec/crashdump-elf.c:160: warning: format '%llx' expects type 'long long unsigned int', but argument 7 has type 'Elf64_Xword'\n kexec/crashdump-elf.c:160: warning: format '%llx' expects type 'long long unsigned int', but argument 8 has type 'Elf64_Xword'\n\nTested on PS3 (ppc64) with 32 and 64 bit builds. \n\nSigned-off-by: Geoff Levand <geoffrey.levand@am.sony.com>", "diff": "--- a/kexec/crashdump-elf.c\n+++ b/kexec/crashdump-elf.c\n@@ -8,8 +8,12 @@\n do {\t\t\t\t\t\t\t\t\t\t\\\n \tdbgprintf(\"%s: p_type = %u, p_offset = 0x%llx p_paddr = 0x%llx \"\t\\\n \t\t\"p_vaddr = 0x%llx p_filesz = 0x%llx p_memsz = 0x%llx\\n\",\t\\\n-\t\t(prefix), (phdr)->p_type, (phdr)->p_offset, (phdr)->p_paddr, \t\\\n-\t\t(phdr)->p_vaddr, (phdr)->p_filesz, (phdr)->p_memsz);\t\t\\\n+\t\t(prefix), (phdr)->p_type,\t\t\t\t\t\\\n+\t\t(unsigned long long)((phdr)->p_offset),\t\t\t\t\\\n+\t\t(unsigned long long)((phdr)->p_paddr),\t\t\t\t\\\n+\t\t(unsigned long long)((phdr)->p_vaddr),\t\t\t\t\\\n+\t\t(unsigned long long)((phdr)->p_filesz),\t\t\t\t\\\n+\t\t(unsigned long long)((phdr)->p_memsz));\t\t\t\t\\\n } while(0)\n #else\n #define dbgprintf_phdr(prefix, phdr)\t\t\t\t\t\\\n--- a/kexec/firmware_memmap.c\n+++ b/kexec/firmware_memmap.c\n@@ -237,7 +237,7 @@ int get_firmware_memmap_ranges(struct me\n \t\t/* array overflow check */\n \t\tif ((size_t)i >= *ranges) {\n \t\t\tfprintf(stderr, \"The firmware provides more entries \"\n-\t\t\t\t\"allowed (%d). Please report that as bug.\\n\",\n+\t\t\t\t\"allowed (%zd). Please report that as bug.\\n\",\n \t\t\t\t*ranges);\n \t\t\tgoto error;\n \t\t}\n", "prefixes": [] }