get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 2195668,
    "url": "http://patchwork.ozlabs.org/api/patches/2195668/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/327a701110864b92e5ce9c68197ea3428ac20b61.1770825377.git.michal.simek@amd.com/",
    "project": {
        "id": 18,
        "url": "http://patchwork.ozlabs.org/api/projects/18/?format=api",
        "name": "U-Boot",
        "link_name": "uboot",
        "list_id": "u-boot.lists.denx.de",
        "list_email": "u-boot@lists.denx.de",
        "web_url": null,
        "scm_url": null,
        "webscm_url": null,
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<327a701110864b92e5ce9c68197ea3428ac20b61.1770825377.git.michal.simek@amd.com>",
    "list_archive_url": null,
    "date": "2026-02-11T15:56:21",
    "name": "[v8,2/4] efi_var: Unify read/write access helper function",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "efe15dae5af5d5e3fa20f41026b40be9e923f308",
    "submitter": {
        "id": 84271,
        "url": "http://patchwork.ozlabs.org/api/people/84271/?format=api",
        "name": "Michal Simek",
        "email": "michal.simek@amd.com"
    },
    "delegate": {
        "id": 96103,
        "url": "http://patchwork.ozlabs.org/api/users/96103/?format=api",
        "username": "apalos",
        "first_name": "Ilias",
        "last_name": "Apalodimas",
        "email": "apalos@gmail.com"
    },
    "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/327a701110864b92e5ce9c68197ea3428ac20b61.1770825377.git.michal.simek@amd.com/mbox/",
    "series": [
        {
            "id": 491869,
            "url": "http://patchwork.ozlabs.org/api/series/491869/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=491869",
            "date": "2026-02-11T15:56:20",
            "name": "efi_vars: Implement SPI Flash storage for EFI",
            "version": 8,
            "mbox": "http://patchwork.ozlabs.org/series/491869/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2195668/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2195668/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<u-boot-bounces@lists.denx.de>",
        "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=amd.com header.i=@amd.com header.a=rsa-sha256\n header.s=selector1 header.b=CZkAMetI;\n\tdkim-atps=neutral",
            "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de\n (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de;\n envelope-from=u-boot-bounces@lists.denx.de; receiver=patchwork.ozlabs.org)",
            "phobos.denx.de;\n dmarc=pass (p=quarantine dis=none) header.from=amd.com",
            "phobos.denx.de;\n spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de",
            "phobos.denx.de;\n\tdkim=pass (1024-bit key;\n unprotected) header.d=amd.com header.i=@amd.com header.b=\"CZkAMetI\";\n\tdkim-atps=neutral",
            "phobos.denx.de;\n dmarc=pass (p=quarantine dis=none) header.from=amd.com",
            "phobos.denx.de;\n spf=fail smtp.mailfrom=michal.simek@amd.com"
        ],
        "Received": [
            "from phobos.denx.de (phobos.denx.de\n [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4fB3386rXHz1xtr\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 12 Feb 2026 02:57:08 +1100 (AEDT)",
            "from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id AE95483D2E;\n\tWed, 11 Feb 2026 16:56:53 +0100 (CET)",
            "by phobos.denx.de (Postfix, from userid 109)\n id A134A83D5D; Wed, 11 Feb 2026 16:56:52 +0100 (CET)",
            "from CH5PR02CU005.outbound.protection.outlook.com\n (mail-northcentralusazlp170120005.outbound.protection.outlook.com\n [IPv6:2a01:111:f403:c105::5])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))\n (No client certificate requested)\n by phobos.denx.de (Postfix) with ESMTPS id 5DEB483B30\n for <u-boot@lists.denx.de>; Wed, 11 Feb 2026 16:56:50 +0100 (CET)",
            "from SN7PR04CA0207.namprd04.prod.outlook.com (2603:10b6:806:126::32)\n by SN7PR12MB6765.namprd12.prod.outlook.com (2603:10b6:806:26b::18)\n with Microsoft SMTP Server (version=TLS1_2,\n cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.9587.16; Wed, 11 Feb\n 2026 15:56:43 +0000",
            "from SN1PEPF000252A1.namprd05.prod.outlook.com\n (2603:10b6:806:126:cafe::c4) by SN7PR04CA0207.outlook.office365.com\n (2603:10b6:806:126::32) with Microsoft SMTP Server (version=TLS1_3,\n cipher=TLS_AES_256_GCM_SHA384) id 15.20.9611.8 via Frontend Transport; Wed,\n 11 Feb 2026 15:56:37 +0000",
            "from satlexmb07.amd.com (165.204.84.17) by\n SN1PEPF000252A1.mail.protection.outlook.com (10.167.242.8) with Microsoft\n SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id\n 15.20.9611.8 via Frontend Transport; Wed, 11 Feb 2026 15:56:43 +0000",
            "from Satlexmb09.amd.com (10.181.42.218) by satlexmb07.amd.com\n (10.181.42.216) with Microsoft SMTP Server (version=TLS1_2,\n cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.17; Wed, 11 Feb\n 2026 09:56:42 -0600",
            "from satlexmb07.amd.com (10.181.42.216) by satlexmb09.amd.com\n (10.181.42.218) with Microsoft SMTP Server (version=TLS1_2,\n cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.17; Wed, 11 Feb\n 2026 07:56:41 -0800",
            "from localhost (10.180.168.240) by satlexmb07.amd.com\n (10.181.42.216) with Microsoft SMTP Server (version=TLS1_2,\n cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.17 via Frontend\n Transport; Wed, 11 Feb 2026 09:56:41 -0600"
        ],
        "X-Spam-Checker-Version": "SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de",
        "X-Spam-Level": "",
        "X-Spam-Status": "No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,\n DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,\n RCVD_IN_DNSWL_BLOCKED,SPF_HELO_PASS,SPF_PASS autolearn=ham\n autolearn_force=no version=3.4.2",
        "ARC-Seal": "i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none;\n b=BuagSQW8XqXztFCEWeK6ZfYKBsGBYc7KFbExMyiSeI5X0YuRrxU//FrfP9FRqyxOoZDUKfG2EckXp79qdB4ShYsz/6pW3tVzZ8jNvFG1WFy5FmHidOvIcTglgjS9692y284I+RsJ4uw2D2u43UGjBKnucpzHmVvHGHN107fc2hovZykdQeqBx+zcS6c5Y3Dit9CqVb189/qJvZZxU3SyUPXm4S8A1D6rNJlaHqorTwB7R6IJAIG6n2oYZjPGzuE442Fn2c1HI7J+m/s+pilyFOFbCKlo3AsqSgoYhiBdJ1hqcFkF3Cr7PS53AwMyvPqYc+Z6/lm1LB4u1ixsuXdVUA==",
        "ARC-Message-Signature": "i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com;\n s=arcselector10001;\n h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1;\n bh=3RzYdGZXu0DIsSquOuZFztYaDdmfZAqbMIV70pLwblE=;\n b=sC+AJ7uLzTz5PgIvg998ibWHnSzIn6Hqys9aCK58+/8XBrfBwN6p9fqhjDbSn96p6A54bWTm1mJKpGeeSZ5dcFuTlV14XJQtcvX5Y0fujk5ZBCmX/Wimgyf1bpJ9oXmFdiNMvVptBB8rm+KZ/vzQbrHoWYBu+sz7hbxX+FbLxNFwX6UVH7UvIW7FX9cy+7+QsabRfle7CH4+y21xu6NKnNP20XCpawiOgnhjQZYHBR9wWqEW8ZPIGa2azeno2ye6gSBvvRQ1iIxiaa7G3+zPidsnFxfsstJeOZT7FS1On298Dv/KVDWOV0V6JYYg+9NaRjcqXEdAvlLfv/bEtRcfag==",
        "ARC-Authentication-Results": "i=1; mx.microsoft.com 1; spf=pass (sender ip is\n 165.204.84.17) smtp.rcpttodomain=lists.denx.de smtp.mailfrom=amd.com;\n dmarc=pass (p=quarantine sp=quarantine pct=100) action=none\n header.from=amd.com; dkim=none (message not signed); arc=none (0)",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1;\n h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;\n bh=3RzYdGZXu0DIsSquOuZFztYaDdmfZAqbMIV70pLwblE=;\n b=CZkAMetIraGsKFJN4DyxSkZXQAnB8lqYxiVlH3r3Q4dFGEuIUTNR690ei/j2+FLDes4S2Ov/wzOjLpPxK/5rH+2fXr8SvAXsBcaMfj6v7fKIoqaBzYjTBAVNdr9mfoTj3fmiDBJVi25PlAs94OlZQ3F4Uj22sLncX0ZoO6H8Kx0=",
        "X-MS-Exchange-Authentication-Results": "spf=pass (sender IP is 165.204.84.17)\n smtp.mailfrom=amd.com; dkim=none (message not signed)\n header.d=none;dmarc=pass action=none header.from=amd.com;",
        "Received-SPF": "Pass (protection.outlook.com: domain of amd.com designates\n 165.204.84.17 as permitted sender) receiver=protection.outlook.com;\n client-ip=165.204.84.17; helo=satlexmb07.amd.com; pr=C",
        "From": "Michal Simek <michal.simek@amd.com>",
        "To": "<u-boot@lists.denx.de>, <git@amd.com>",
        "CC": "Ilias Apalodimas <ilias.apalodimas@linaro.org>, Neil Armstrong\n <neil.armstrong@linaro.org>, Heinrich Schuchardt <xypron.glpk@gmx.de>, Pranav\n Tilak <pranav.vinaytilak@amd.com>, Shantur Rathore <i@shantur.com>, Tom Rini\n <trini@konsulko.com>",
        "Subject": "[PATCH v8 2/4] efi_var: Unify read/write access helper function",
        "Date": "Wed, 11 Feb 2026 16:56:21 +0100",
        "Message-ID": "\n <327a701110864b92e5ce9c68197ea3428ac20b61.1770825377.git.michal.simek@amd.com>",
        "X-Mailer": "git-send-email 2.43.0",
        "In-Reply-To": "<cover.1770825377.git.michal.simek@amd.com>",
        "References": "<cover.1770825377.git.michal.simek@amd.com>",
        "MIME-Version": "1.0",
        "X-Developer-Signature": "v=1; a=openpgp-sha256; l=3899; i=michal.simek@amd.com;\n h=from:subject:message-id; bh=oFMcFeZwyzH/h4t5EYSFHEjH0gDwtiA2b/oy+GnMIX8=;\n b=owGbwMvMwCG2mv3fB7+vgl8ZT6slMWT2LFv3Uali6eQ9TucrGg0nvFVyCHOJmRhf//W/TNzi3\n doVb2wYO0pZGMQ4GGTFFFmmM+k4rPl2banY8sh8mDmsTCBDGLg4BWAiog0M/71+snKtbWA2mSzj\n FfzH9dMVs51SJXvvW/rsf7JEmeGR20RGhv2ns1KFHKsvPdNUrrjHcOrFxtruNbvKfTwXBaoz3dW\n 9wg4A",
        "X-Developer-Key": "i=michal.simek@amd.com; a=openpgp;\n fpr=67350C9BF5CCEE9B5364356A377C7F21FE3D1F91",
        "Content-Transfer-Encoding": "8bit",
        "Content-Type": "text/plain",
        "X-EOPAttributedMessage": "0",
        "X-MS-PublicTrafficType": "Email",
        "X-MS-TrafficTypeDiagnostic": "SN1PEPF000252A1:EE_|SN7PR12MB6765:EE_",
        "X-MS-Office365-Filtering-Correlation-Id": "504a5079-af83-4c3b-368b-08de698626da",
        "X-MS-Exchange-SenderADCheck": "1",
        "X-MS-Exchange-AntiSpam-Relay": "0",
        "X-Microsoft-Antispam": "BCL:0;\n ARA:13230040|376014|36860700013|82310400026|1800799024;",
        "X-Microsoft-Antispam-Message-Info": "\n qxR+2F8HyA6PAkY5DBOOMrF97ZzfJjyIzwrA1O/lDvA8hGaqxC3JG+Icd2AYMcVbUNKczIcd/F3NbymAdsfQPGWRtghKMoLuKZ/MQ+M0EUromYScJiv9PERFixCmy/GfcRULNewoiMR2RatSrTuQA9OT+kkTqmzLU+EaVD27AN1Rhw+nfufnbPNS9pP9xBpF4VYgOgapN16Z8q0tiU1TFrHlllbNw/bPrg+z5b8VaIzTC2KpHXima5quFedR//T76FLdNT/sHz53835cIudt0dzV5URneb0tCS+TWXE0rpSy8El6cviFkP16to5mwqGKT2yqx44xoXp7Eg51p9M6rZEIsDp+Ds1k+o4SImKcyul1nUVOnIKUyFr2kjB/Mzwy4k3SrIAiF2xjn8PLduccojMBjIOmAWfAnlFgeklvKBARVT0qQFhqzHjl/Z+eQ42QGdTYlKJg6X/wNduAJOh8Gcawi6nyjJdu03KFNGtoiOFpV9aSREWJHcTlmWhRgdEZnlQ0OniJ55F92OcZrSAzuNVfGSQtccn+j/hDM1OhOcWMd+74cg65v8c0ZD68XJDegZOS8cactV9OiD2xcR1Iq4NBlulpqt8OVy9+a1jNPvF3vJaQ0bzNSz/m82Jdrz9f4tBer38XxlORBDaWGyzcHkxWhXVKinVxsjclVu1fL62BIe0xETWfo997iEflfTMUdDtdj/E1ARmdaYn69lIjS8CjXoAcYsG06a0yeIWWs8hYsHgj+Bl2smOFP9gfuh2HrCjA3Gxpfqf9bF+cvdeNZoWYyaYQj/zgaFwxnpD658wxStccT2OrP6b6PqiF1ecTAolqOltQ8VVAkgO9iZbJe4jfXDagSo5BCS5tvVrJkkO4kUrxhilsIiG7fGAffVVI/DVM5kB2fy+JtK3iaf0fL5iGkMvPjvy/ihYp9HQDWFLncR2m1MkHbhRVgI5TCN5cJXNNrCsBgA04JHUFE6nHykMkEY9cjDe3Mj0IUUeUNvgPT8WcvAbmhrlvDbGzVM1eVUg40ILlVj4fzNbe3Y4Ca4cCs9aeOiLx2a1HQCaFo7OHJCrYM1n41rWwZ5aJAleH1uC1WGRBDV3a25HU9Po0IiMHBlwqcoqu8yBVRBjs6DDZeDb3NKJGbHrKA4h9OxX7J7yFbWdqv45DFuJtpkIs/a9gSBVasSdZXOwWUs/so6+pXgBzVNpWL4MX4ean5c/Jw6Bhq+fuy6HG5jFV4vgZzNDk4s13qLKCdDkgZYlWQBDxqZhr3goDYyghWky4b/njPY9no3cmMR3rxQEgZADJPvU6NHtQvvY0Wd8okUJB15Dh74FZ7d7dS11YCxcNSySbbUsoUxmM+pb8n3jeXvylhqU4nPIDnICeRPzA5n92sK34KgRpisie3Sl3B0ZXbsF4+9EHklzrvWdsCO5NcD1g1JAwCXSnfouU8CpaNFNyb8tK4nRtXKz+JzKLKhcTav0Xfi2Os1Bh/THLL4EAAE5KSH7ksTWgxS/zv+I6JoFXj1GLe3SN0aXo3EZxFqGRM0F/F0umYxzx8cXvJ/V8LEjZoV2jdzz2VsRZb0sM8VwlqyUGY/xxlOqqHpxJieafzt8v6JunDx9vw3JlP7qFNgvk7syJbOmQhMaycyFg9a2TVRxiXCLI2n5g8qYUJNg3u6jf4CPHqsz5bHmxkT55HZiepQ==",
        "X-Forefront-Antispam-Report": "CIP:165.204.84.17; CTRY:US; LANG:en; SCL:1; SRV:;\n IPV:NLI; SFV:NSPM; H:satlexmb07.amd.com; PTR:InfoDomainNonexistent; CAT:NONE;\n SFS:(13230040)(376014)(36860700013)(82310400026)(1800799024); DIR:OUT;\n SFP:1101;",
        "X-MS-Exchange-AntiSpam-MessageData-ChunkCount": "1",
        "X-MS-Exchange-AntiSpam-MessageData-0": "\n nEHqwhbBmZqUTH3SNeUoOD+2//lFjcc79BUwQLqvkMRK1/4itDS4sVxHKL99+KHBOV9UyPmL/scyfhNCctlgSWUG30YVMwm2BxcZkzfhqMoGWMBlORloN9YzsNwcAxK7z7TZiOWvYDJQRfy0sOqjSb+ZVJZYU99Zmt+IIoP2Pjt9LOubxE+xG8IE0lPmLvmkV2144N+lOiTbRMG6VtQ1dsJwvfLy6a2ZYQwGuYJLrbbjod1aa+Gg4ONsw9N3TMML7uEN02XyHcnhkchwPaw0FABw5o7jJacSaoF6prmCNLqVv3M+AtrIn/PjfecXffPBCAKGaZyf0S7+s0CYV+gsunwQ5j8OYHPvz5bCQhE+ep4VU0kXjLzP18UAH4hQ6dknsF8RQxa9h/VpAaBEHSyEHCj1hSvWgSmz7R1G7ZqVBDjRnc7HQij2dn3HF5JoXH+g",
        "X-OriginatorOrg": "amd.com",
        "X-MS-Exchange-CrossTenant-OriginalArrivalTime": "11 Feb 2026 15:56:43.0950 (UTC)",
        "X-MS-Exchange-CrossTenant-Network-Message-Id": "\n 504a5079-af83-4c3b-368b-08de698626da",
        "X-MS-Exchange-CrossTenant-Id": "3dd8961f-e488-4e60-8e11-a82d994e183d",
        "X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp": "\n TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d; Ip=[165.204.84.17];\n Helo=[satlexmb07.amd.com]",
        "X-MS-Exchange-CrossTenant-AuthSource": "\n SN1PEPF000252A1.namprd05.prod.outlook.com",
        "X-MS-Exchange-CrossTenant-AuthAs": "Anonymous",
        "X-MS-Exchange-CrossTenant-FromEntityHeader": "HybridOnPrem",
        "X-MS-Exchange-Transport-CrossTenantHeadersStamped": "SN7PR12MB6765",
        "X-BeenThere": "u-boot@lists.denx.de",
        "X-Mailman-Version": "2.1.39",
        "Precedence": "list",
        "List-Id": "U-Boot discussion <u-boot.lists.denx.de>",
        "List-Unsubscribe": "<https://lists.denx.de/options/u-boot>,\n <mailto:u-boot-request@lists.denx.de?subject=unsubscribe>",
        "List-Archive": "<https://lists.denx.de/pipermail/u-boot/>",
        "List-Post": "<mailto:u-boot@lists.denx.de>",
        "List-Help": "<mailto:u-boot-request@lists.denx.de?subject=help>",
        "List-Subscribe": "<https://lists.denx.de/listinfo/u-boot>,\n <mailto:u-boot-request@lists.denx.de?subject=subscribe>",
        "Errors-To": "u-boot-bounces@lists.denx.de",
        "Sender": "\"U-Boot\" <u-boot-bounces@lists.denx.de>",
        "X-Virus-Scanned": "clamav-milter 0.103.8 at phobos.denx.de",
        "X-Virus-Status": "Clean"
    },
    "content": "efi_var_to/from_file() suggest method where variables are placed. But there\nis no reason for it and generic name can be used to wire also different\nlocations for variables.\n\nSigned-off-by: Michal Simek <michal.simek@amd.com>\nReviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>\nTested-by: Neil Armstrong <neil.armstrong@linaro.org> # on AML-S905D3-CC\n\n---\n\n(no changes since v7)\n\nChanges in v7:\n- sed -i 's/efi_var_from/efi_var_from_storage/g'\n\nChanges in v6:\n- sed -i 's/efi_var_read/efi_var_from/g'\n- sed -i 's/efi_var_write/efi_var_to_storage/g'\n\nChanges in v4:\n- New patch based on review comments from v3\n\n include/efi_variable.h        | 13 ++++---------\n lib/efi_loader/efi_var_file.c |  8 ++++----\n lib/efi_loader/efi_variable.c |  4 ++--\n 3 files changed, 10 insertions(+), 15 deletions(-)",
    "diff": "diff --git a/include/efi_variable.h b/include/efi_variable.h\nindex ee68fa4a885f..fc1184e5ca1a 100644\n--- a/include/efi_variable.h\n+++ b/include/efi_variable.h\n@@ -137,13 +137,11 @@ struct efi_var_file {\n };\n \n /**\n- * efi_var_to_file() - save non-volatile variables as file\n- *\n- * File ubootefi.var is created on the EFI system partion.\n+ * efi_var_to_storage() - save non-volatile variables\n  *\n  * Return:\tstatus code\n  */\n-efi_status_t efi_var_to_file(void);\n+efi_status_t efi_var_to_storage(void);\n \n /**\n  * efi_var_collect() - collect variables in buffer\n@@ -178,17 +176,14 @@ efi_status_t __maybe_unused efi_var_collect(struct efi_var_file **bufp, loff_t *\n efi_status_t efi_var_restore(struct efi_var_file *buf, bool safe);\n \n /**\n- * efi_var_from_file() - read variables from file\n- *\n- * File ubootefi.var is read from the EFI system partitions and the variables\n- * stored in the file are created.\n+ * efi_var_from_storage() - read variables\n  *\n  * In case the file does not exist yet or a variable cannot be set EFI_SUCCESS\n  * is returned.\n  *\n  * Return:\tstatus code\n  */\n-efi_status_t efi_var_from_file(void);\n+efi_status_t efi_var_from_storage(void);\n \n /**\n  * efi_var_mem_init() - set-up variable list\ndiff --git a/lib/efi_loader/efi_var_file.c b/lib/efi_loader/efi_var_file.c\nindex 4061a463b580..9cda38f319ee 100644\n--- a/lib/efi_loader/efi_var_file.c\n+++ b/lib/efi_loader/efi_var_file.c\n@@ -43,13 +43,13 @@ static efi_status_t __maybe_unused efi_set_blk_dev_to_system_partition(void)\n }\n \n /**\n- * efi_var_to_file() - save non-volatile variables as file\n+ * efi_var_to_storage() - save non-volatile variables as file\n  *\n  * File ubootefi.var is created on the EFI system partion.\n  *\n  * Return:\tstatus code\n  */\n-efi_status_t efi_var_to_file(void)\n+efi_status_t efi_var_to_storage(void)\n {\n \tefi_status_t ret;\n \tstruct efi_var_file *buf;\n@@ -85,7 +85,7 @@ out:\n }\n \n /**\n- * efi_var_from_file() - read variables from file\n+ * efi_var_from_storage() - read variables from file\n  *\n  * File ubootefi.var is read from the EFI system partitions and the variables\n  * stored in the file are created.\n@@ -98,7 +98,7 @@ out:\n  *\n  * Return:\tstatus code\n  */\n-efi_status_t efi_var_from_file(void)\n+efi_status_t efi_var_from_storage(void)\n {\n \tstruct efi_var_file *buf;\n \tloff_t len;\ndiff --git a/lib/efi_loader/efi_variable.c b/lib/efi_loader/efi_variable.c\nindex 6e45134c61bf..8512bc20f11e 100644\n--- a/lib/efi_loader/efi_variable.c\n+++ b/lib/efi_loader/efi_variable.c\n@@ -404,7 +404,7 @@ efi_status_t efi_set_variable_int(const u16 *variable_name,\n \t\tif (IS_ENABLED(CONFIG_EFI_VARIABLE_NO_STORE))\n \t\t\treturn EFI_SUCCESS;\n \n-\t\tefi_var_to_file();\n+\t\tefi_var_to_storage();\n \t}\n \n \treturn EFI_SUCCESS;\n@@ -599,7 +599,7 @@ efi_status_t efi_init_variables(void)\n \t\treturn ret;\n \n \tif (!IS_ENABLED(CONFIG_EFI_VARIABLE_NO_STORE)) {\n-\t\tret = efi_var_from_file();\n+\t\tret = efi_var_from_storage();\n \t\tif (ret != EFI_SUCCESS)\n \t\t\treturn ret;\n \t}\n",
    "prefixes": [
        "v8",
        "2/4"
    ]
}