Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/1.1/patches/2225273/?format=api
{ "id": 2225273, "url": "http://patchwork.ozlabs.org/api/1.1/patches/2225273/?format=api", "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/patch/20260420191356.4439-1-farosas@suse.de/", "project": { "id": 14, "url": "http://patchwork.ozlabs.org/api/1.1/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": "" }, "msgid": "<20260420191356.4439-1-farosas@suse.de>", "date": "2026-04-20T19:13:56", "name": "[v1] checkpatch: Allow spaces after all coroutine annotations", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "01eef4f1ef0e33751ed106e9333742eaa593a389", "submitter": { "id": 85343, "url": "http://patchwork.ozlabs.org/api/1.1/people/85343/?format=api", "name": "Fabiano Rosas", "email": "farosas@suse.de" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/qemu-devel/patch/20260420191356.4439-1-farosas@suse.de/mbox/", "series": [ { "id": 500667, "url": "http://patchwork.ozlabs.org/api/1.1/series/500667/?format=api", "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/list/?series=500667", "date": "2026-04-20T19:13:56", "name": "[v1] checkpatch: Allow spaces after all coroutine annotations", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/500667/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/2225273/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2225273/checks/", "tags": {}, "headers": { "Return-Path": "<qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>", "X-Original-To": "incoming@patchwork.ozlabs.org", "Delivered-To": "patchwork-incoming@legolas.ozlabs.org", "Authentication-Results": [ "legolas.ozlabs.org;\n\tdkim=pass (1024-bit key;\n unprotected) header.d=suse.de header.i=@suse.de header.a=rsa-sha256\n header.s=susede2_rsa header.b=yBISvz2o;\n\tdkim=pass header.d=suse.de header.i=@suse.de header.a=ed25519-sha256\n header.s=susede2_ed25519 header.b=oYV812H1;\n\tdkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de\n header.a=rsa-sha256 header.s=susede2_rsa header.b=zA0T3Rw1;\n\tdkim=neutral header.d=suse.de header.i=@suse.de header.a=ed25519-sha256\n header.s=susede2_ed25519 header.b=ShsodDu/;\n\tdkim-atps=neutral", "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org\n (client-ip=209.51.188.17; helo=lists1p.gnu.org;\n envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org;\n receiver=patchwork.ozlabs.org)", "smtp-out2.suse.de;\n\tnone" ], "Received": [ "from lists1p.gnu.org (lists1p.gnu.org [209.51.188.17])\n\t(using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits))\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4fzwCy55FMz1yHB\n\tfor <incoming@patchwork.ozlabs.org>; Tue, 21 Apr 2026 05:14:53 +1000 (AEST)", "from localhost ([::1] helo=lists1p.gnu.org)\n\tby lists1p.gnu.org with esmtp (Exim 4.90_1)\n\t(envelope-from <qemu-devel-bounces@nongnu.org>)\n\tid 1wEu4P-00026Z-Eq; Mon, 20 Apr 2026 15:14:09 -0400", "from eggs.gnu.org ([2001:470:142:3::10])\n by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)\n (Exim 4.90_1) (envelope-from <farosas@suse.de>) id 1wEu4M-00026I-NR\n for qemu-devel@nongnu.org; Mon, 20 Apr 2026 15:14:06 -0400", "from smtp-out2.suse.de ([195.135.223.131])\n by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)\n (Exim 4.90_1) (envelope-from <farosas@suse.de>) id 1wEu4L-0005sI-3G\n for qemu-devel@nongnu.org; Mon, 20 Apr 2026 15:14:06 -0400", "from imap1.dmz-prg2.suse.org (unknown [10.150.64.97])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest\n SHA256)\n (No client certificate requested)\n by smtp-out2.suse.de (Postfix) with ESMTPS id 1BD7F5BCD5;\n Mon, 20 Apr 2026 19:14:00 +0000 (UTC)", "from imap1.dmz-prg2.suse.org (localhost [127.0.0.1])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest\n SHA256)\n (No client certificate requested)\n by imap1.dmz-prg2.suse.org (Postfix) with ESMTPS id 4C74D593AE;\n Mon, 20 Apr 2026 19:13:59 +0000 (UTC)", "from dovecot-director2.suse.de ([2a07:de40:b281:106:10:150:64:167])\n by imap1.dmz-prg2.suse.org with ESMTPSA id 2IpmAfd65mkgegAAD6G6ig\n (envelope-from <farosas@suse.de>); Mon, 20 Apr 2026 19:13:59 +0000" ], "DKIM-Signature": [ "v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de;\n s=susede2_rsa;\n t=1776712441;\n h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc:\n mime-version:mime-version:\n content-transfer-encoding:content-transfer-encoding;\n bh=2PDvKPJh+vw3yGeE4UxU8QHppQh3dAiLUVC5UZgsx68=;\n b=yBISvz2o/IFOuVhwx6Yqws+kgd7YhGd4nu2ZSojGwxPuIz44gA3bsTsL/warikhaHADUOH\n VQus4i+8ARDAYnh89zhCZrXpRZO+SvsrSyGAN1VwvuCPzxzw2E7zqoxBleTGfNNz37LZP/\n B0ljz5C0D7l41Sy4Q570EITwaq2WOYY=", "v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de;\n s=susede2_ed25519; t=1776712441;\n h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc:\n mime-version:mime-version:\n content-transfer-encoding:content-transfer-encoding;\n bh=2PDvKPJh+vw3yGeE4UxU8QHppQh3dAiLUVC5UZgsx68=;\n b=oYV812H1cj2sRmzHEglW+rfmiH5Rfs2yFaibBtU1xPUTTEuZTmBkDl6LrW0/9b6T4aBEwf\n YiNfaL6mn6SsK6BA==", "v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de;\n s=susede2_rsa;\n t=1776712440;\n h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc:\n mime-version:mime-version:\n content-transfer-encoding:content-transfer-encoding;\n bh=2PDvKPJh+vw3yGeE4UxU8QHppQh3dAiLUVC5UZgsx68=;\n b=zA0T3Rw1lkgtMuvbarLAvqiwjyhf1P5nNsMvPiXI/X1VuKcAkhBLevGIj2LOMVRRPoBkQz\n uylFv6JtPO2VE/G1JEdf6gDsndHlKxEYoV3/CghKMKEbl5L/C9vXV+MrIKmwNS0cqGHAuk\n TVap1rTfwB2Pe4aPUVcOP0qASYk4n1M=", "v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de;\n s=susede2_ed25519; t=1776712440;\n h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc:\n mime-version:mime-version:\n content-transfer-encoding:content-transfer-encoding;\n bh=2PDvKPJh+vw3yGeE4UxU8QHppQh3dAiLUVC5UZgsx68=;\n b=ShsodDu/x9n7+NnlAIAffueezxmP/pbKkBSD0inx4f7teGHDBHzxoA+CT6Lh432SYo+u9n\n mVkoILuNqXSiFsAw==" ], "From": "Fabiano Rosas <farosas@suse.de>", "To": "qemu-devel@nongnu.org", "Cc": "Kevin Wolf <kwolf@redhat.com>", "Subject": "[PATCH v1] checkpatch: Allow spaces after all coroutine annotations", "Date": "Mon, 20 Apr 2026 16:13:56 -0300", "Message-ID": "<20260420191356.4439-1-farosas@suse.de>", "X-Mailer": "git-send-email 2.51.0", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "X-Spamd-Result": "default: False [-2.80 / 50.00]; BAYES_HAM(-3.00)[99.99%];\n NEURAL_HAM_LONG(-1.00)[-1.000]; MID_CONTAINS_FROM(1.00)[];\n R_MISSING_CHARSET(0.50)[]; NEURAL_HAM_SHORT(-0.20)[-0.984];\n MIME_GOOD(-0.10)[text/plain]; TO_MATCH_ENVRCPT_ALL(0.00)[];\n ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[];\n FROM_HAS_DN(0.00)[]; MIME_TRACE(0.00)[0:+];\n DBL_BLOCKED_OPENRESOLVER(0.00)[suse.de:mid,suse.de:email,imap1.dmz-prg2.suse.org:helo];\n FUZZY_RATELIMITED(0.00)[rspamd.com]; RCPT_COUNT_TWO(0.00)[2];\n RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[];\n DKIM_SIGNED(0.00)[suse.de:s=susede2_rsa,suse.de:s=susede2_ed25519];\n TO_DN_SOME(0.00)[]; RCVD_TLS_ALL(0.00)[]", "X-Spam-Score": "-2.80", "Received-SPF": "pass client-ip=195.135.223.131; envelope-from=farosas@suse.de;\n helo=smtp-out2.suse.de", "X-Spam_score_int": "-43", "X-Spam_score": "-4.4", "X-Spam_bar": "----", "X-Spam_report": "(-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,\n DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,\n RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001,\n SPF_PASS=-0.001 autolearn=ham autolearn_force=no", "X-Spam_action": "no action", "X-BeenThere": "qemu-devel@nongnu.org", "X-Mailman-Version": "2.1.29", "Precedence": "list", "List-Id": "qemu development <qemu-devel.nongnu.org>", "List-Unsubscribe": "<https://lists.nongnu.org/mailman/options/qemu-devel>,\n <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe>", "List-Archive": "<https://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 <mailto:qemu-devel-request@nongnu.org?subject=subscribe>", "Errors-To": "qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org", "Sender": "qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org" }, "content": "The coroutine annotations may be used in the declaration of function\npointers, which triggers checkpatch due to the space before the\nparentheses. E.g:\n\n int coroutine_fn (*run)(Job *job, Error **errp);\n ^\nThe coroutine_fn annotation is already included in the list of terms\nwhere spaces are allowed. Add the other coroutine annotations:\ncoroutine_mixed_fn and no_coroutine_fn.\n\nSigned-off-by: Fabiano Rosas <farosas@suse.de>\n---\nthe next migration PR will trigger this\n---\n scripts/checkpatch.pl | 1 +\n 1 file changed, 1 insertion(+)", "diff": "diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl\nindex b77bd69328..e1cf2ff23b 100755\n--- a/scripts/checkpatch.pl\n+++ b/scripts/checkpatch.pl\n@@ -2441,6 +2441,7 @@ sub process {\n \t\t\tif ($name =~ /^(?:\n \t\t\t\tif|for|while|switch|return|case|\n \t\t\t\tvolatile|__volatile__|coroutine_fn|\n+\t\t\t\tcoroutine_mixed_fn|no_coroutine_fn|\n \t\t\t\t__attribute__|format|__extension__|\n \t\t\t\tasm|__asm__)$/x)\n \t\t\t{\n", "prefixes": [ "v1" ] }