Message ID | 20250820112340.147082-3-sjg@u-boot.org |
---|---|
State | New |
Headers |
Return-Path: <concept-bounces+u-boot-concept=u-boot.org@u-boot.org> X-Original-To: u-boot-concept@u-boot.org Delivered-To: u-boot-concept@u-boot.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1755689049; bh=OoQGryiJ/Y8/qsEoGoROluBMdVYWj9hJb+PdANjjkiQ=; h=From:To:Date:In-Reply-To:References:CC:Subject:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=hOykyv/zB5vBvxSZ90bWK9aATtOe/Q7IQZssJCci6eLd2u4w6qgzcBw71TuabVPiz 9JKAgYMGZI8Ss4YS5Uu8SLaFD73HEl9bwx2N3n4Cp5IEWqjpopLGwBrQXZ4t+G2lfc CXhUTMIseVJDv5vYLRtRLQI1gmZD1BwMpJNTlaen5i5Mj2fOxJkosUH1OD3PbBvNem 91ylMsD8JLoM1meSTZu9d8h8r5eOwwPX2HFAdRyd5I15EzMLd5VRyAWOlp/ccru3Mu s0zghf9H0dh1E93hh03GOGrfefNxyvBsJI2z9n0Z7gH1dEJFDlm6B4fUKcdq1nQXLw HwsEA9FMERhFA== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id B193B67676 for <u-boot-concept@u-boot.org>; Wed, 20 Aug 2025 05:24:09 -0600 (MDT) X-Virus-Scanned: Debian amavis at Received: from mail.u-boot.org ([127.0.0.1]) by localhost (mail.u-boot.org [127.0.0.1]) (amavis, port 10024) with ESMTP id qAcK1xlRHHsy for <u-boot-concept@u-boot.org>; Wed, 20 Aug 2025 05:24:09 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1755689049; bh=OoQGryiJ/Y8/qsEoGoROluBMdVYWj9hJb+PdANjjkiQ=; h=From:To:Date:In-Reply-To:References:CC:Subject:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=hOykyv/zB5vBvxSZ90bWK9aATtOe/Q7IQZssJCci6eLd2u4w6qgzcBw71TuabVPiz 9JKAgYMGZI8Ss4YS5Uu8SLaFD73HEl9bwx2N3n4Cp5IEWqjpopLGwBrQXZ4t+G2lfc CXhUTMIseVJDv5vYLRtRLQI1gmZD1BwMpJNTlaen5i5Mj2fOxJkosUH1OD3PbBvNem 91ylMsD8JLoM1meSTZu9d8h8r5eOwwPX2HFAdRyd5I15EzMLd5VRyAWOlp/ccru3Mu s0zghf9H0dh1E93hh03GOGrfefNxyvBsJI2z9n0Z7gH1dEJFDlm6B4fUKcdq1nQXLw HwsEA9FMERhFA== Received: from mail.u-boot.org (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 7EE806765F for <u-boot-concept@u-boot.org>; Wed, 20 Aug 2025 05:24:09 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1755689047; bh=NzsOpWph3wlv9rFkENoaeH0XxI+0r810lnnqJUkrPEU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=tUEB3J6wCl+PTz5G+fb5xpqwdjqdDrUCo6m6uIwsUQgnEG4MfEDGuS0JgVeRLk5DI o7cbDX4UzP/x795wLiY59ksTN2AnXSLJ1M3zET+VJtMHQXSaPI1hv7QbwcSdAghw7m fbrKtzW9nrQzkbzzlQRecSMHGbtoYFZnxBrr1ent6gD+S3I8J74pA5prxZutGO+M1P SRZ3JVolxm0yD+6oP0AdyIfIOVuaFX6hUb2wfh24QIA9wmmD6zMDCouVJh0QJiKnAr mpZTCqcITdnurDIDGwsQOc9km945yBit2Am1shTY/7rJeyr6m/0e4Eh7YGPq7gmh0q sTmsLE0TvwX+g== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 4BC856766B; Wed, 20 Aug 2025 05:24:07 -0600 (MDT) X-Virus-Scanned: Debian amavis at Received: from mail.u-boot.org ([127.0.0.1]) by localhost (mail.u-boot.org [127.0.0.1]) (amavis, port 10026) with ESMTP id vHRUtqepRTaU; Wed, 20 Aug 2025 05:24:07 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1755689046; bh=yoO8CZ4thglsj3cw0V/lEo5zra2yZWPNYKtZO1NR3XA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Q9hSGYbVzMY4aVi8P8qGqYYMJN4gDtq9odk7WY1ANK4C2KSL7zIE5TvPiCOTQb0II TB9JKNB3e08bGoxBPlmrFr04ZmemofK2Bw4my1d41iYdltQkTZ3ENVUbK1NUxnrBvb fd3nXxr4jfojWYwYbv2ds/WM96uZrAZm/aNCdGeBGr9AjSjE+w7kPP6kb4ST8SiTz6 7qkpzZ5Kkan7kXuwOeVpyIzAV33yiWUbY3HQaMPK+1lqHgRzTTVnChH7otu28itdpH eVClyH0NNpYlCsPMxmlMoDp7Houn32M53lWZEqey4eNtMW/lua+tmoNP5YH/PDyGs3 7LRh3YTYrtWRA== Received: from u-boot.org (unknown [73.34.74.121]) by mail.u-boot.org (Postfix) with ESMTPSA id 3DD616744B; Wed, 20 Aug 2025 05:24:06 -0600 (MDT) From: Simon Glass <sjg@u-boot.org> To: U-Boot Concept <concept@u-boot.org> Date: Wed, 20 Aug 2025 05:23:14 -0600 Message-ID: <20250820112340.147082-3-sjg@u-boot.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250820112340.147082-1-sjg@u-boot.org> References: <20250820112340.147082-1-sjg@u-boot.org> MIME-Version: 1.0 Message-ID-Hash: TSE7KB4DI53LTKCQGV2ICF4TMBAQMLRU X-Message-ID-Hash: TSE7KB4DI53LTKCQGV2ICF4TMBAQMLRU X-MailFrom: sjg@u-boot.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: Heinrich Schuchardt <xypron.glpk@gmx.de>, Simon Glass <sjg@chromium.org> X-Mailman-Version: 3.3.10 Precedence: list Subject: [Concept] [PATCH v2 02/18] efi: Add missing break to dp_fill() List-Id: Discussion and patches related to U-Boot Concept <concept.u-boot.org> Archived-At: <https://lists.u-boot.org/archives/list/concept@u-boot.org/message/TSE7KB4DI53LTKCQGV2ICF4TMBAQMLRU/> List-Archive: <https://lists.u-boot.org/archives/list/concept@u-boot.org/> List-Help: <mailto:concept-request@u-boot.org?subject=help> List-Owner: <mailto:concept-owner@u-boot.org> List-Post: <mailto:concept@u-boot.org> List-Subscribe: <mailto:concept-join@u-boot.org> List-Unsubscribe: <mailto:concept-leave@u-boot.org> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit |
Series |
efi: Move towards the EFI app booting EFI applications
|
|
Commit Message
Simon Glass
Aug. 20, 2025, 11:23 a.m. UTC
From: Simon Glass <sjg@chromium.org> While this doesn't really affect anything in practice, it is better to deal with an incorrect use of this function (calling it with a UCLASS which is not enabled). Add a break after the UCLASS_BLK case, to help this. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: a48a8929de2 ("efi: Move most of efi_device_path into lib/efi") --- (no changes since v1) lib/efi/device_path.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/lib/efi/device_path.c b/lib/efi/device_path.c index d1fdd0fba81..0926b51e987 100644 --- a/lib/efi/device_path.c +++ b/lib/efi/device_path.c @@ -529,6 +529,7 @@ __maybe_unused static void *dp_fill(void *buf, struct udevice *dev) return &dp[1]; } + break; } case UCLASS_MMC: if (IS_ENABLED(CONFIG_MMC)) {