Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/1.1/patches/2224881/?format=api
{ "id": 2224881, "url": "http://patchwork.ozlabs.org/api/1.1/patches/2224881/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20260419-type-v3-2-ec49acd6870e@oss.qualcomm.com/", "project": { "id": 18, "url": "http://patchwork.ozlabs.org/api/1.1/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 }, "msgid": "<20260419-type-v3-2-ec49acd6870e@oss.qualcomm.com>", "date": "2026-04-19T10:24:04", "name": "[v3,2/5] scsi: Add partition lookup by type GUID for SCSI devices", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "46d48dadbbdafa425eff57e45ff96337b26812d5", "submitter": { "id": 90810, "url": "http://patchwork.ozlabs.org/api/1.1/people/90810/?format=api", "name": "Balaji Selvanathan", "email": "balaji.selvanathan@oss.qualcomm.com" }, "delegate": { "id": 3651, "url": "http://patchwork.ozlabs.org/api/1.1/users/3651/?format=api", "username": "trini", "first_name": "Tom", "last_name": "Rini", "email": "trini@ti.com" }, "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/20260419-type-v3-2-ec49acd6870e@oss.qualcomm.com/mbox/", "series": [ { "id": 500492, "url": "http://patchwork.ozlabs.org/api/1.1/series/500492/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=500492", "date": "2026-04-19T10:24:02", "name": "Add partition type GUID support for environment", "version": 3, "mbox": "http://patchwork.ozlabs.org/series/500492/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/2224881/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2224881/checks/", "tags": {}, "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 (2048-bit key;\n unprotected) header.d=qualcomm.com header.i=@qualcomm.com header.a=rsa-sha256\n header.s=qcppdkim1 header.b=huD/v0kh;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com\n header.a=rsa-sha256 header.s=google header.b=b+KDMIjS;\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=none (p=none dis=none) header.from=oss.qualcomm.com", "phobos.denx.de;\n spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de", "phobos.denx.de;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=qualcomm.com header.i=@qualcomm.com\n header.b=\"huD/v0kh\";\n\tdkim=pass (2048-bit key;\n unprotected) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com\n header.b=\"b+KDMIjS\";\n\tdkim-atps=neutral", "phobos.denx.de; dmarc=none (p=none dis=none)\n header.from=oss.qualcomm.com", "phobos.denx.de; spf=pass\n smtp.mailfrom=balaji.selvanathan@oss.qualcomm.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 4fz4Vc6Sjnz1yD4\n\tfor <incoming@patchwork.ozlabs.org>; Sun, 19 Apr 2026 20:24:40 +1000 (AEST)", "from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id 5A71284214;\n\tSun, 19 Apr 2026 12:24:38 +0200 (CEST)", "by phobos.denx.de (Postfix, from userid 109)\n id 28D1684297; Sun, 19 Apr 2026 12:24:37 +0200 (CEST)", "from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com\n [205.220.180.131])\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 F1F54839D9\n for <u-boot@lists.denx.de>; Sun, 19 Apr 2026 12:24:34 +0200 (CEST)", "from pps.filterd (m0279870.ppops.net [127.0.0.1])\n by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id\n 63J9BFYc666626\n for <u-boot@lists.denx.de>; Sun, 19 Apr 2026 10:24:33 GMT", "from mail-pl1-f200.google.com (mail-pl1-f200.google.com\n [209.85.214.200])\n by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4dm21ujb3q-1\n (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT)\n for <u-boot@lists.denx.de>; Sun, 19 Apr 2026 10:24:33 +0000 (GMT)", "by mail-pl1-f200.google.com with SMTP id\n d9443c01a7336-2b2ed279eedso13822405ad.0\n for <u-boot@lists.denx.de>; Sun, 19 Apr 2026 03:24:33 -0700 (PDT)", "from hu-bselvana-blr.qualcomm.com\n (blr-bdr-fw-01_GlobalNAT_AllZones-Outside.qualcomm.com. [103.229.18.19])\n by smtp.gmail.com with ESMTPSA id\n d9443c01a7336-2b5fab0caf1sm72754675ad.42.2026.04.19.03.24.23\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Sun, 19 Apr 2026 03:24:31 -0700 (PDT)" ], "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,DKIM_SIGNED,\n DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED,\n RCVD_IN_VALIDITY_CERTIFIED_BLOCKED,RCVD_IN_VALIDITY_RPBL_BLOCKED,\n SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2", "DKIM-Signature": [ "v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h=\n cc:content-transfer-encoding:content-type:date:from:in-reply-to\n :message-id:mime-version:references:subject:to; s=qcppdkim1; bh=\n fxnNs8FmJzW1GMl+aLT4/2QFxAozH9DHOktpqtNRhPs=; b=huD/v0khd6TjaPy4\n DTBiuGIKDfIFySBGzmajnelWQqNWg8l0SwYXhhEVtmwXys1PXCOJVfRMp6vXgZze\n yli7xPE2TlCd5S32q7PjF3Ij0d7DTPgMTMpA/7IG9rcJpmWDA2u3Bx1ETTOvioNB\n OaQYnSJcsoq1UoIoB81qwqrarm9mt2b+W66mStfYiuh/3kDjINt+vUMtk4LfTzqx\n sDJWjdypr0aVLV3zdyFRUkg4Ah2PfRqBZmZVr3idU/iydAvPJ52iQY6+cmTSAyAy\n bfv41ivENRuOIfsoPSz3Cqh52/Lyi0961PrBEikOSs3lO6pdOmj4U7LHikEWZl2V\n 2+qrJg==", "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=oss.qualcomm.com; s=google; t=1776594272; x=1777199072; darn=lists.denx.de;\n h=cc:to:in-reply-to:references:message-id:content-transfer-encoding\n :mime-version:subject:date:from:from:to:cc:subject:date:message-id\n :reply-to; bh=fxnNs8FmJzW1GMl+aLT4/2QFxAozH9DHOktpqtNRhPs=;\n b=b+KDMIjSbeYuqGh7duU/cJnqBf4q/buR09J/opTMGUSg4SAZW+hvUJhQY1z/yR0iDw\n n3qwLPjxoTkAPk1Kp3SOD1mAlxU4iuNwP5XwtHRx0Dfoa5MbvmcZ/Idce42zw3yrL37+\n 6Gb0MYAVDQdwhtAW2wBK37qAt2xSY+tzWmtJVQz+LoTMNaQTBiq/Jggab3RK5wee/iJT\n OSJBfVtlvqvJJUsPApR4xgnihBUhtkA1BMj7iQUQAAjaHokmitW2hTgwDggqqrBROJkd\n bFlr+SP7p832uXDBkoA37RHyvJrq77jwRlK3ZNK/rOMcw0/3k2UBBR2lDaVAENRMz1MO\n 63sA==" ], "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1776594272; x=1777199072;\n h=cc:to:in-reply-to:references:message-id:content-transfer-encoding\n :mime-version:subject:date:from:x-gm-gg:x-gm-message-state:from:to\n :cc:subject:date:message-id:reply-to;\n bh=fxnNs8FmJzW1GMl+aLT4/2QFxAozH9DHOktpqtNRhPs=;\n b=rL2H0w7FU9hqZIE8jfRKtR4Cr3pKomckZSm6Suk3fIVUqmmgagPd4nAvTOItPqeNYl\n rn7Sma0sweZKAntap3NiCdwoNv5Kz7cut0ma178bwv/Bdhw6dvzXNWx5kF5O/xpqkznh\n SWuoksQgT20zXcV/vBQsdgOknZUOxciPy0292rVBMazuShdqTzAV1CffXO0lQ7G77k2g\n R6aVg9VQCp70kTqibBClfN9t+XHA+UlGiyPpanl5T7Ke9iuygjZ88pnzxKT3MouCIPYz\n MRat8l1ps1bWsxueAcg/lXXvDNluRJuK8Ev1YMwPJOCwTxjRQbWKnAjEVtLsHCTru9TG\n DJiw==", "X-Gm-Message-State": "AOJu0YzyFN6qRZxZutlgUEeyUJpXQWKGdYUd8CWFGPcuRQ8nTA3FZOZ6\n +KSpoo8UrY6+co49RJpk9hcwkDT2zVWH0keOBxNe6/uWIajXde3GUBb8Vn+huTTkuTD9ZXG19pS\n Vw8jGP5FlaJHwOvKTGFbb+ESFyYFNB7IjwOpsGDv312CoY9fq7WlRVFof", "X-Gm-Gg": "AeBDiesnCo9Nz46ZgisS9xsRAKMCFzo3S2WSKFiirZjxGBRZZUOlPyQDmDSpwJCNyqH\n Mzwqa5zQioZ6arG6pgE5Gtm4vkCogmdQKOQn3nwnCjSc25uVIfxmh6BipAbpjuaTx74oncl7cFf\n V2wqb2qm6i5aB2lgLixXm6hGYeJQwaVRwaDuVX6tFW8NMfKxk4eiyAI3/2GEH58Vmr4hMduJIf2\n LcqhmhRNcJd59A64fyzganftpl9ecJ0zUf+2gD78rWee8A6TyPI8Opn7UaIS38gVZvSNFO7uFId\n oeNf6I2bE6ARd6GW4O0ddjbq2Usoixl2ZACErOiASCYFHpJ+kQdqUVyUVLJlXieFkdLlo6+N7Wf\n mj360wPk1RdJ8NZGYDcAxAyTDZuKkxy0Yj633+9gE1kE64bv6L/V8JVZVqcySs6gjcGabz2Gucv\n etmWDbSZ56OofxYJakJlA4QXsVyVi5vk3VLH0cWQ9GhPf/c1nBKM2iRttpD5UW", "X-Received": [ "by 2002:a17:902:f652:b0:2b0:beb4:3bb with SMTP id\n d9443c01a7336-2b5f9e7f300mr96450915ad.10.1776594272388;\n Sun, 19 Apr 2026 03:24:32 -0700 (PDT)", "by 2002:a17:902:f652:b0:2b0:beb4:3bb with SMTP id\n d9443c01a7336-2b5f9e7f300mr96450495ad.10.1776594271862;\n Sun, 19 Apr 2026 03:24:31 -0700 (PDT)" ], "From": "Balaji Selvanathan <balaji.selvanathan@oss.qualcomm.com>", "Date": "Sun, 19 Apr 2026 15:54:04 +0530", "Subject": "[PATCH v3 2/5] scsi: Add partition lookup by type GUID for SCSI\n devices", "MIME-Version": "1.0", "Content-Type": "text/plain; charset=\"utf-8\"", "Content-Transfer-Encoding": "7bit", "Message-Id": "<20260419-type-v3-2-ec49acd6870e@oss.qualcomm.com>", "References": "<20260419-type-v3-0-ec49acd6870e@oss.qualcomm.com>", "In-Reply-To": "<20260419-type-v3-0-ec49acd6870e@oss.qualcomm.com>", "To": "u-boot@lists.denx.de, Sumit Garg <sumit.garg@kernel.org>,\n u-boot-qcom@groups.io", "Cc": "Tom Rini <trini@konsulko.com>, Quentin Schulz <quentin.schulz@cherry.de>,\n Ilias Apalodimas <ilias.apalodimas@linaro.org>,\n Javier Tia <javier.tia@linaro.org>,\n Varadarajan Narayanan <quic_varada@quicinc.com>,\n Rasmus Villemoes <ravi@prevas.dk>,\n Mikhail Kshevetskiy <mikhail.kshevetskiy@iopsys.eu>,\n Javier Martinez Canillas <javierm@redhat.com>,\n Miquel Raynal <miquel.raynal@bootlin.com>,\n =?utf-8?q?Jo=C3=A3o_Marcos_Costa?= <joaomarcos.costa@bootlin.com>,\n Tien Fong Chee <tien.fong.chee@altera.com>,\n Richard Genoud <richard.genoud@bootlin.com>,\n Jan Kiszka <jan.kiszka@siemens.com>, David Lechner <dlechner@baylibre.com>,\n Casey Connolly <casey.connolly@linaro.org>,\n Simon Glass <simon.glass@canonical.com>,\n Marek Vasut <marek.vasut+renesas@mailbox.org>,\n Christian Marangi <ansuelsmth@gmail.com>, Michael Walle <mwalle@kernel.org>,\n Sumit Garg <sumit.garg@oss.qualcomm.com>,\n Neil Armstrong <neil.armstrong@linaro.org>,\n Aswin Murugan <aswin.murugan@oss.qualcomm.com>,\n Varadarajan Narayanan <varadarajan.narayanan@oss.qualcomm.com>,\n Simon Glass <sjg@chromium.org>,\n Mattijs Korpershoek <mkorpershoek@kernel.org>,\n Jerome Forissier <jerome.forissier@arm.com>,\n Balaji Selvanathan <balaji.selvanathan@oss.qualcomm.com>", "X-Mailer": "b4 0.14.3", "X-Developer-Signature": "v=1; a=ed25519-sha256; t=1776594245; l=2787;\n i=balaji.selvanathan@oss.qualcomm.com; s=20260213; h=from:subject:message-id;\n bh=br+DcFt5glpdW/xzZ4CVXJ+Syg9Dc7rKFiepj4xSDwE=;\n b=Q8OgfMjYQMetoPBKVS9WD6YrbitroCpJ7+m5yQ52ORipctHMhuADcCaf5fLc8I/dYA9DeTuvu\n NJz4ONY0oTiC6DJJhqnKGbinNV+mJYYkjPRsQal6WeEzkL7Ta4B+PM9", "X-Developer-Key": "i=balaji.selvanathan@oss.qualcomm.com; a=ed25519;\n pk=CDpYiUU3SH7KGEtsBvY2tBGPiWfMxqWJF0p2LftOfnc=", "X-Proofpoint-Spam-Details-Enc": "AW1haW4tMjYwNDE5MDEwOCBTYWx0ZWRfX1+Sxj80dU72u\n J6E0bHbVVxf7Zz+dcyvnkKkJOZSBotVW51RMQvtJEIJv1FIeHWsDWFinPgGjqjZxB4TRKqirzBf\n WBL23q2lXP96IDlVzNIgm/hTqtnSt4f0ucpDIO7xpk2cxuwRpLQfvl302Vpico7GG9o18yHow1l\n nun2lpu7tx42bXWOkCC4GUc93z0lSigKlEwFR7N8RnLnVrW7+8rrw36f3KO2AkXOkqnexZNYXYg\n DJMN431DMXa7o/qq8RitW9AGeKlcbI2tN45vr3Nh4ODGUeqm49QgpFgJMBTpUuG7OP7+fc6yjjD\n QqsBApYzFAdyNW8Y42vifI3V5GzO09LFrPgaA3ag+ci9KGkZ72xsxfWHpR3TnERcSJsxdPKeq6P\n x1qWwYqWB7ECCCwdEbUaqrg4sWgnVbctUJXhVWTj3gSEK8etPMOHD/UidJTz1wp7kU+TCPwocNY\n /KWdPJ76o0O0bGdvBLQ==", "X-Proofpoint-GUID": "AHBkue57vrS9pmL7gIwVKjCLydPthP4Z", "X-Proofpoint-ORIG-GUID": "AHBkue57vrS9pmL7gIwVKjCLydPthP4Z", "X-Authority-Analysis": "v=2.4 cv=WK1PmHsR c=1 sm=1 tr=0 ts=69e4ad61 cx=c_pps\n a=IZJwPbhc+fLeJZngyXXI0A==:117 a=Ou0eQOY4+eZoSc0qltEV5Q==:17\n a=IkcTkHD0fZMA:10 a=A5OVakUREuEA:10 a=s4-Qcg_JpJYA:10\n a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=gowsoOTTUOVcmtlkKump:22\n a=DfNHnWVPAAAA:8 a=EUspDBNiAAAA:8 a=4Z9OGKtuVjyKH-hDXNMA:9 a=QEXdDO2ut3YA:10\n a=uG9DUKGECoFWVXl0Dc02:22 a=rjTVMONInIDnV1a_A2c_:22", "X-Proofpoint-Virus-Version": "vendor=baseguard\n engine=ICAP:2.0.293,Aquarius:18.0.1143,Hydra:6.1.51,FMLib:17.12.100.49\n definitions=2026-04-19_03,2026-04-17_04,2025-10-01_01", "X-Proofpoint-Spam-Details": "rule=outbound_notspam policy=outbound score=0\n lowpriorityscore=0 adultscore=0 spamscore=0 malwarescore=0 bulkscore=0\n suspectscore=0 phishscore=0 clxscore=1015 priorityscore=1501 impostorscore=0\n classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0\n reason=mlx scancount=1 engine=8.22.0-2604070000 definitions=main-2604190108", "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": "Introduce scsi_get_blk_by_type_guid() function to enable SCSI\npartition discovery using partition type GUID. This function scans\nall available SCSI devices and searches for a partition matching the\nspecified type GUID.\n\nReviewed-by: Simon Glass <simon.glass@canonical.com>\nSigned-off-by: Balaji Selvanathan <balaji.selvanathan@oss.qualcomm.com>\n---\nChanges in v3:\n- No changes\n\nChanges in v2:\n- Compute blk_find_max_devnum(UCLASS_SCSI) only once in scsi_get_blk_by_type_guid()\n---\n drivers/scsi/scsi-uclass.c | 28 ++++++++++++++++++++++++++--\n include/scsi.h | 11 +++++++++++\n 2 files changed, 37 insertions(+), 2 deletions(-)", "diff": "diff --git a/drivers/scsi/scsi-uclass.c b/drivers/scsi/scsi-uclass.c\nindex 39b4c7476d4..031dc01b9de 100644\n--- a/drivers/scsi/scsi-uclass.c\n+++ b/drivers/scsi/scsi-uclass.c\n@@ -30,9 +30,10 @@ int scsi_get_blk_by_uuid(const char *uuid,\n \t\t\t struct disk_partition *part_info_ptr)\n {\n \tstruct blk_desc *blk;\n-\tint i, ret;\n+\tint i, ret, max;\n \n-\tfor (i = 0; i < blk_find_max_devnum(UCLASS_SCSI) + 1; i++) {\n+\tmax = blk_find_max_devnum(UCLASS_SCSI) + 1;\n+\tfor (i = 0; i < max; i++) {\n \t\tret = blk_get_desc(UCLASS_SCSI, i, &blk);\n \t\tif (ret)\n \t\t\tcontinue;\n@@ -47,6 +48,29 @@ int scsi_get_blk_by_uuid(const char *uuid,\n \treturn -ENODEV;\n }\n \n+int scsi_get_blk_by_type_guid(const char *type_guid,\n+\t\t\t struct blk_desc **blk_desc_ptr,\n+\t\t\t struct disk_partition *part_info_ptr)\n+{\n+\tstruct blk_desc *blk;\n+\tint i, ret, max;\n+\n+\tmax = blk_find_max_devnum(UCLASS_SCSI) + 1;\n+\tfor (i = 0; i < max; i++) {\n+\t\tret = blk_get_desc(UCLASS_SCSI, i, &blk);\n+\t\tif (ret)\n+\t\t\tcontinue;\n+\n+\t\tret = part_get_info_by_type_guid(blk, type_guid, part_info_ptr);\n+\t\tif (ret > 0) {\n+\t\t\t*blk_desc_ptr = blk;\n+\t\t\treturn 0;\n+\t\t}\n+\t}\n+\n+\treturn -ENODEV;\n+}\n+\n int scsi_bus_reset(struct udevice *dev)\n {\n \tstruct scsi_ops *ops = scsi_get_ops(dev);\ndiff --git a/include/scsi.h b/include/scsi.h\nindex 2520a8b8fe6..83aaf0a70f6 100644\n--- a/include/scsi.h\n+++ b/include/scsi.h\n@@ -366,6 +366,17 @@ int scsi_scan_dev(struct udevice *dev, bool verbose);\n int scsi_get_blk_by_uuid(const char *uuid, struct blk_desc **blk_desc_ptr,\n \t\t\t struct disk_partition *part_info_ptr);\n \n+/**\n+ * scsi_get_blk_by_type_guid() - Provides SCSI partition information by type GUID.\n+ *\n+ * @type_guid:\t\tType GUID of the partition for fetching its info\n+ * @blk_desc_ptr:\tProvides the blk descriptor\n+ * @part_info_ptr:\tProvides partition info\n+ * Return: 0 if OK, -ve on error\n+ */\n+int scsi_get_blk_by_type_guid(const char *type_guid, struct blk_desc **blk_desc_ptr,\n+\t\t\t struct disk_partition *part_info_ptr);\n+\n #define SCSI_IDENTIFY\t\t\t\t\t0xC0 /* not used */\n \n /* Hardware errors */\n", "prefixes": [ "v3", "2/5" ] }