From patchwork Mon Sep 22 18:00:59 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 399 Return-Path: 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=1758564145; bh=gdOnjnN29KlEOjNoUQ/gW2kwoXAacLKWn+Ixm0gmJfc=; 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=d2SmcgUd3jjKoRpkj+JG73SS3fxL/b/R77r4/v+VRnBomAHKW7G09ugEce1zUOBOI kDmYzVpPKvyZWU5/6lf4hiB43wjbOTbHlUYqSKMgF1SuH8fTJxFpwuvCCMQmM/2lC1 lnfhpByf4PW8S6tCubuQMVdDo3Eb4ZHhu/sO+jzNq8y6ptBTGmfITsiJq95X6/wEl8 d8LgcaaEb72ZfKHe1FSCAGOjIEj4Arh6A9BhkkC1GS/0NISlLBLxeJZKUzX3OFPmDi spXU1zWj9E4j0mHTD+QK+Ni7enHGeXu+ma2IhTk0BsexmMq9Z1ES/6Z3zXNmN04GMQ y+r997wuRggMg== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id DC49F5FE1A for ; Mon, 22 Sep 2025 12:02:25 -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 HnHBO6txZt3B for ; Mon, 22 Sep 2025 12:02:25 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1758564145; bh=gdOnjnN29KlEOjNoUQ/gW2kwoXAacLKWn+Ixm0gmJfc=; 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=d2SmcgUd3jjKoRpkj+JG73SS3fxL/b/R77r4/v+VRnBomAHKW7G09ugEce1zUOBOI kDmYzVpPKvyZWU5/6lf4hiB43wjbOTbHlUYqSKMgF1SuH8fTJxFpwuvCCMQmM/2lC1 lnfhpByf4PW8S6tCubuQMVdDo3Eb4ZHhu/sO+jzNq8y6ptBTGmfITsiJq95X6/wEl8 d8LgcaaEb72ZfKHe1FSCAGOjIEj4Arh6A9BhkkC1GS/0NISlLBLxeJZKUzX3OFPmDi spXU1zWj9E4j0mHTD+QK+Ni7enHGeXu+ma2IhTk0BsexmMq9Z1ES/6Z3zXNmN04GMQ y+r997wuRggMg== Received: from mail.u-boot.org (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id CAC6D67C32 for ; Mon, 22 Sep 2025 12:02:25 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1758564143; bh=jQ0INEDzQvvdI+v8IHe5L4bX7hzwmCP2NjS81VWvkFg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=aTsqYAFn0pUzu+CfCAKDSE/nwxz4pIKc43JubMghpT/SbyQiKlc663l+XzLc9xIUu fpUe/z9sXzq4XVieD45WQu3+uFgWlG7MCcDkH0awj2EWkxXJq9pBxW5RJerBj6A2x+ riMA5sqmLlpRj/Z/gcG+J6Q5GfKH0y6KO+EFnehOlWJNLDGC3bl/G/RDnuRuOXwgjy AVCH8SMyuieOKv2af/xvKTI1NCe+ha8yymWsQX9vmuiPmPE84Pw+mFjC4bF0m3k4Fx MfGLOpj84qwtorBmneF9AfQ5fjAS4UxvsH/z/cz3yVtd0TWieVDKDgfEo7qHZO5cK5 jNhsexCMI5oVQ== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id AD40A67B38; Mon, 22 Sep 2025 12:02:23 -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 qFMz2Cv_0ZC5; Mon, 22 Sep 2025 12:02:23 -0600 (MDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1758564136; bh=43nuBAUmL0mrs3x3nJwYylsmG2gaF/gtrmqmPEGTm+8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=IE6ljus4t/5/gb3I5JAmHmDCaH094o5ZvXV5WPdPDJwxT1lbpDirP4DrEnRprUAbb iSdvwx4CVMKZjIHqxK6svHY1RGBUDf3LmqYnL2HeDeq+ZfECvKUAxjMrlYbA6rQlMQ waFHiLMfNuZRzbd3IyLAIviY8cydwWxGHRjNjER72dsQB+xru4kEMsMZ7zaUaJlgqh lNiVK/LwIP76/ySpsw1LT46sFGsdacr49JDMlpyywqUwtFsRqpVUJHFu+TImgYOsQq nwEG3Gu2P0hQTu5oIJEofu07WHpBlnrTmOTMS1CGzOS3N0XB+98Nyi7uy//dN0nyxU Hp9XSv4O1OVYw== Received: from u-boot.org (unknown [73.34.74.121]) by mail.u-boot.org (Postfix) with ESMTPSA id E9CE267C32; Mon, 22 Sep 2025 12:02:15 -0600 (MDT) From: Simon Glass To: U-Boot Concept Date: Mon, 22 Sep 2025 12:00:59 -0600 Message-ID: <20250922180116.3088502-16-sjg@u-boot.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250922180116.3088502-1-sjg@u-boot.org> References: <20250922180116.3088502-1-sjg@u-boot.org> MIME-Version: 1.0 Message-ID-Hash: VMXP2AO6LY5HHR7VQPM2XHZSLKYL3WAD X-Message-ID-Hash: VMXP2AO6LY5HHR7VQPM2XHZSLKYL3WAD 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 , Simon Glass X-Mailman-Version: 3.3.10 Precedence: list Subject: [Concept] [PATCH 15/24] boot: Fix code formatting in fit_image_load() List-Id: Discussion and patches related to U-Boot Concept Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: Simon Glass Drop an unwanted blank line and format a few lines to 80cols. Signed-off-by: Simon Glass --- boot/image-fit.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/boot/image-fit.c b/boot/image-fit.c index 0c1c07c8498..617bc3664d9 100644 --- a/boot/image-fit.c +++ b/boot/image-fit.c @@ -2505,18 +2505,18 @@ int fit_image_load(struct bootm_headers *images, ulong addr, prop_name, ph_type, bootstage_id, &fit_base_uname_config); if (noffset >= 0) { - ret = check_allowed(fit, noffset, images, image_type, arch, bootstage_id); if (ret) return ret; - ret = obtain_data(fit, noffset, prop_name, bootstage_id, &buf, &len); + ret = obtain_data(fit, noffset, prop_name, bootstage_id, &buf, + &len); if (ret) return ret; - ret = handle_load_op(fit, noffset, prop_name, buf, len, image_type, - load_op, bootstage_id, &load); + ret = handle_load_op(fit, noffset, prop_name, buf, len, + image_type, load_op, bootstage_id, &load); if (ret) return ret;