Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/1.0/patches/2175741/?format=api
{ "id": 2175741, "url": "http://patchwork.ozlabs.org/api/1.0/patches/2175741/?format=api", "project": { "id": 28, "url": "http://patchwork.ozlabs.org/api/1.0/projects/28/?format=api", "name": "Linux PCI development", "link_name": "linux-pci", "list_id": "linux-pci.vger.kernel.org", "list_email": "linux-pci@vger.kernel.org", "web_url": null, "scm_url": null, "webscm_url": null }, "msgid": "<2038315.PYKUYFuaPT@rafael.j.wysocki>", "date": "2025-12-18T20:37:36", "name": "[v1,5/8] ACPI: bus: Rename label and use ACPI_FREE() in acpi_run_osc()", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "2ddf83f8dde6a7dcfa4ce14aa7276989fa3a4c62", "submitter": { "id": 64267, "url": "http://patchwork.ozlabs.org/api/1.0/people/64267/?format=api", "name": "Rafael J. Wysocki", "email": "rafael@kernel.org" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/linux-pci/patch/2038315.PYKUYFuaPT@rafael.j.wysocki/mbox/", "series": [ { "id": 485914, "url": "http://patchwork.ozlabs.org/api/1.0/series/485914/?format=api", "date": "2025-12-18T20:37:36", "name": "ACPI: bus: Rework of the \\_SB._OSC handling", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/485914/mbox/" } ], "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2175741/checks/", "tags": {}, "headers": { "Return-Path": "\n <linux-pci+bounces-43330-incoming=patchwork.ozlabs.org@vger.kernel.org>", "X-Original-To": [ "incoming@patchwork.ozlabs.org", "linux-pci@vger.kernel.org" ], "Delivered-To": "patchwork-incoming@legolas.ozlabs.org", "Authentication-Results": [ "legolas.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256\n header.s=k20201202 header.b=bQTxlBwR;\n\tdkim-atps=neutral", "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org\n (client-ip=2600:3c09:e001:a7::12fc:5321; helo=sto.lore.kernel.org;\n envelope-from=linux-pci+bounces-43330-incoming=patchwork.ozlabs.org@vger.kernel.org;\n receiver=patchwork.ozlabs.org)", "smtp.subspace.kernel.org;\n\tdkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org\n header.b=\"bQTxlBwR\"", "smtp.subspace.kernel.org;\n arc=none smtp.client-ip=10.30.226.201" ], "Received": [ "from sto.lore.kernel.org (sto.lore.kernel.org\n [IPv6:2600:3c09:e001:a7::12fc:5321])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519 server-signature ECDSA (secp384r1) server-digest SHA384)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4dXNC04XCPz1xty\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 19 Dec 2025 07:52:12 +1100 (AEDT)", "from smtp.subspace.kernel.org (conduit.subspace.kernel.org\n [100.90.174.1])\n\tby sto.lore.kernel.org (Postfix) with ESMTP id 1B090305A4B9\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 18 Dec 2025 20:52:04 +0000 (UTC)", "from localhost.localdomain (localhost.localdomain [127.0.0.1])\n\tby smtp.subspace.kernel.org (Postfix) with ESMTP id 4C1FF347FEE;\n\tThu, 18 Dec 2025 20:43:20 +0000 (UTC)", "from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org\n [10.30.226.201])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))\n\t(No client certificate requested)\n\tby smtp.subspace.kernel.org (Postfix) with ESMTPS id 23370347FCC;\n\tThu, 18 Dec 2025 20:43:20 +0000 (UTC)", "by smtp.kernel.org (Postfix) with ESMTPSA id C3EEDC4CEFB;\n\tThu, 18 Dec 2025 20:43:18 +0000 (UTC)" ], "ARC-Seal": "i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;\n\tt=1766090600; cv=none;\n b=azcHcpplcupNCWR8ckBk/vP4mXQMYXbuNYqrGrh7RqVqNSt4lRF3dQsYj7uZKZFCKn3ET12fMNunZnjoYeiLsrJSD6vcgiN72Tg67EwJBS7zpfpJMDAWm3Q+Fe+90MqrW0CQ49aKag1Sepq/MGrbEyZv1mwpx65x2S6n+feEK8A=", "ARC-Message-Signature": "i=1; a=rsa-sha256; d=subspace.kernel.org;\n\ts=arc-20240116; t=1766090600; c=relaxed/simple;\n\tbh=TsxZK5bCnR6PZQC6R8dwLa7ysudei0fI1u09mPFxqBI=;\n\th=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References:\n\t MIME-Version:Content-Type;\n b=FzQynWfj8yelTt/PYb2T3AKiRHiaIrnium0JJzUJiE0UFza21R+hc/pbc2AD0n7jEOlgZdOyfO41qE4fa3fGqc0oZgb2uJn8OSy0mPGyP3jmqEK1CRy1DYQXTRzmAPSLkSFzp4aSdcHDX2xlSGQO5ZoxtJid0NUXC3Dc8TK3ufw=", "ARC-Authentication-Results": "i=1; smtp.subspace.kernel.org;\n dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org\n header.b=bQTxlBwR; arc=none smtp.client-ip=10.30.226.201", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org;\n\ts=k20201202; t=1766090600;\n\tbh=TsxZK5bCnR6PZQC6R8dwLa7ysudei0fI1u09mPFxqBI=;\n\th=From:To:Cc:Subject:Date:In-Reply-To:References:From;\n\tb=bQTxlBwRZ+IIvF4w2qBWfI5wbxrD5gD8G7TDJrZayTGJtEhguYs39KzEqkwk+vPfO\n\t EUV05mVsoKWwCL5Qo7jXI7ySRQT3W4g+KM2T7y3ZeGgsLrcCvo94JoBMzVWOtClttk\n\t +NSWv9v5ij6ExVNOcgaChIHoevnK2Tym/XA9SSvcrQKcQ160gE9qAN5CXyOoEUabJW\n\t ZBZR8tjUwprWrAlbRrxHoTU6knUJfpWafbJvQMXskkk4whknoF5KSyoUfA5B9XNG15\n\t MyYmLtoJv1fEGzHfQ78QGqczSMAcTRK65otgevWUPmb1G3LBS94zUbz+2Qa02NJKT7\n\t 4reVm89GtTMYQ==", "From": "\"Rafael J. Wysocki\" <rafael@kernel.org>", "To": "Linux ACPI <linux-acpi@vger.kernel.org>", "Cc": "LKML <linux-kernel@vger.kernel.org>,\n Linux PCI <linux-pci@vger.kernel.org>, Bjorn Helgaas <helgaas@kernel.org>,\n Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>,\n Hans de Goede <hansg@kernel.org>,\n Mario Limonciello <mario.limonciello@amd.com>", "Subject": "\n [PATCH v1 5/8] ACPI: bus: Rename label and use ACPI_FREE() in acpi_run_osc()", "Date": "Thu, 18 Dec 2025 21:37:36 +0100", "Message-ID": "<2038315.PYKUYFuaPT@rafael.j.wysocki>", "Organization": "Linux Kernel Development", "In-Reply-To": "<5049211.GXAFRqVoOG@rafael.j.wysocki>", "References": "<5049211.GXAFRqVoOG@rafael.j.wysocki>", "Precedence": "bulk", "X-Mailing-List": "linux-pci@vger.kernel.org", "List-Id": "<linux-pci.vger.kernel.org>", "List-Subscribe": "<mailto:linux-pci+subscribe@vger.kernel.org>", "List-Unsubscribe": "<mailto:linux-pci+unsubscribe@vger.kernel.org>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "7Bit", "Content-Type": "text/plain; charset=\"UTF-8\"" }, "content": "From: Rafael J. Wysocki <rafael.j.wysocki@intel.com>\n\nUse ACPI_FREE() for freeing an object coming from acpi_eval_osc()\nand rename the \"out_free\" to \"out\" because it does not involve\nkfree() any more.\n\nNo intentional functional impact.\n\nSigned-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>\n---\n drivers/acpi/bus.c | 8 ++++----\n 1 file changed, 4 insertions(+), 4 deletions(-)", "diff": "--- a/drivers/acpi/bus.c\n+++ b/drivers/acpi/bus.c\n@@ -293,7 +293,7 @@ acpi_status acpi_run_osc(acpi_handle han\n \n \tif (acpi_osc_error_check(handle, &guid, context->rev, &context->cap, retbuf)) {\n \t\tstatus = AE_ERROR;\n-\t\tgoto out_kfree;\n+\t\tgoto out;\n \t}\n \n \tcontext->ret.length = out_obj->buffer.length;\n@@ -301,12 +301,12 @@ acpi_status acpi_run_osc(acpi_handle han\n \t\t\t\t context->ret.length, GFP_KERNEL);\n \tif (!context->ret.pointer) {\n \t\tstatus = AE_NO_MEMORY;\n-\t\tgoto out_kfree;\n+\t\tgoto out;\n \t}\n \tstatus = AE_OK;\n \n-out_kfree:\n-\tkfree(output.pointer);\n+out:\n+\tACPI_FREE(out_obj);\n \treturn status;\n }\n EXPORT_SYMBOL(acpi_run_osc);\n", "prefixes": [ "v1", "5/8" ] }