From patchwork Mon Jun 12 18:17:58 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ilias Apalodimas X-Patchwork-Id: 691630 Delivered-To: patch@linaro.org Received: by 2002:a5d:4d91:0:0:0:0:0 with SMTP id b17csp37786wru; Mon, 12 Jun 2023 11:18:13 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ52+Qh28+puwvH1Qt3McIMSTkR4fDtysPY7Mmjp/zBU6ed2D6HTwIhncY4f3d/mg/vnFXLR X-Received: by 2002:a05:6a00:1acb:b0:64d:7002:8316 with SMTP id f11-20020a056a001acb00b0064d70028316mr10455291pfv.9.1686593892940; Mon, 12 Jun 2023 11:18:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686593892; cv=none; d=google.com; s=arc-20160816; b=A9gg173cFlzQnUFzxjsasVhn7NnRmhc4fWqJFOyhkIeSeQpu4U9A0hMXGgSJaXLN02 JjB5GpKiqGwDryPbxX2gLd2s5prEBBNbTFz2yUxHgCjkSRt23/SSxXXSgGk1V7Tmt54Y NSjaO6RV+J0CoKBuw9KHyydkkwvqyuS+aSZBwpyLDyapAxvI4LiaubJL9+3kVoFEgHQA 9PPhJ23nbWDOGk/mCCCaJAQg43ndjcETs13KoPrXYu+JdPbo12TRS/pNJlak7oZ95tcU DpLPAZZUpleDQWsut9WcBSfovNGjea3/1eVYwdDDiPaLV3b0/+Y7iXAGJM2vHSUOZ9U6 g52Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from:dkim-signature; bh=4IIB5Ph4rL/lw4eevj/NHuPXkNoqk/ocA+OkIZRkyIM=; b=fFclIYjX9VijGt58vOd5cZxRnfuuiueLE+Ezo0iO1VW8AR9WPMKRX8mUkckvbEXmKt yY6XhgnGbHLheWRYW+Uxi83KvG3aOGNNH5r1rqLCQpo9GGd05dsXw8gjaRtpcZ/IDteV MPwYuHnhYpFUkutp4lp4gcnEt/PHyraLnZ4m2WxczWrmAby7/SdmKuCzK4G/SejfWs3b OYWceIKj2q8mn3eRU0lhq/4c7fp1zDsYFeZncY7mNhnI1h0dLGKkljfvnkpAFP4y3QEE 3x1qLzwMAC5zJ9jyGUfbZWp9Qirph/M1ZURMGFjyqG0uR+qpNCi/W9KF2yggsLAm+OMT 7vhg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=lOdkzGfI; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from phobos.denx.de (phobos.denx.de. [2a01:238:438b:c500:173d:9f52:ddab:ee01]) by mx.google.com with ESMTPS id 22-20020a630116000000b005346be4ead7si3355234pgb.766.2023.06.12.11.18.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Jun 2023 11:18:12 -0700 (PDT) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=lOdkzGfI; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 8E0F886020; Mon, 12 Jun 2023 20:18:06 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="lOdkzGfI"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 8C52386020; Mon, 12 Jun 2023 20:18:05 +0200 (CEST) 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, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-wm1-x329.google.com (mail-wm1-x329.google.com [IPv6:2a00:1450:4864:20::329]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id D3BFE8211C for ; Mon, 12 Jun 2023 20:18:02 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=ilias.apalodimas@linaro.org Received: by mail-wm1-x329.google.com with SMTP id 5b1f17b1804b1-3f735259fa0so47419785e9.1 for ; Mon, 12 Jun 2023 11:18:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1686593882; x=1689185882; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=4IIB5Ph4rL/lw4eevj/NHuPXkNoqk/ocA+OkIZRkyIM=; b=lOdkzGfIIPmEWeabiAXH5dDxUY/VA+dSMJN9RvsLQXAfzkOmnJLHMSa5WOvl7N68cN I9XNYVvBQ9IuIJLSXvbl34xbq4m7uyIpzkkZoJdfKKZBzNG6+tJyMaNuaGOVuUj8AQVt lWkhKkQunxSjKMY//ixDp+2H8A9f3M871GoffDjSsNquU9ZeOnnFBuvCmPeIWYahPCii j6p0BIBLavEeatioC30/q2jlgA7+KTiy+LNC8af5ROYk/Ha9WZXNnkl3bZ0wzigdEiAg dKzJpBUq0kfw2Gz+cHoTwrglc1bGfuWzmtmTp3tdbF6CwzqKD+gJvSD0BjBRA6zrcqyq 7cVg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686593882; x=1689185882; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=4IIB5Ph4rL/lw4eevj/NHuPXkNoqk/ocA+OkIZRkyIM=; b=EqELR30f1cXIeMUjXI+gSJ4RucUexs2BIn+zZP5JWgE/zE0tF3Uq/IBaQ9kkPpoz1C 2OMqvazHnt48iAuwbNUn+Jrt9SRSoolNiXn93lbkHY5cVBNyReJaP4OdSlF5uCR5hPB5 ooq2gRZy8mhKKNcjgn1lVJsXwxZP84AVay5xdJ/dUJMBWM85NS4pVVtHW/UxKdJGg5Qs 1PbsTnaZXV1KKyIxrC6I8vIkBaZagS5OtVOYN7KYDpJQiPoXUf/yQEQKJINhvvr/VjdT NPGgvQp97nL4XGnyNsbp54ZAiqmn0+47Su65SUK1B8WWxs8AK8LMXLTvwiGcoXm23CiL yEgg== X-Gm-Message-State: AC+VfDxH3TnW/eeZXrOIxFKknwu5/CghgJCEmDRQhYPoCD0ophKzqsvS c7fBSrr0LaOVQtaCnKsyllP9I1ERU7ojTpKEH9MBqg== X-Received: by 2002:a1c:f70a:0:b0:3f7:e8e2:f377 with SMTP id v10-20020a1cf70a000000b003f7e8e2f377mr8001014wmh.12.1686593882322; Mon, 12 Jun 2023 11:18:02 -0700 (PDT) Received: from localhost.localdomain (ppp089210114029.access.hol.gr. [89.210.114.29]) by smtp.gmail.com with ESMTPSA id q9-20020a7bce89000000b003f858ae8f9dsm1743017wmj.31.2023.06.12.11.18.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Jun 2023 11:18:01 -0700 (PDT) From: Ilias Apalodimas To: u-boot@lists.denx.de Cc: Ilias Apalodimas , Heinrich Schuchardt Subject: [PATCH] efi_loader: fix sphinx conformance for efi_disk_remove() Date: Mon, 12 Jun 2023 21:17:58 +0300 Message-Id: <20230612181758.591854-1-ilias.apalodimas@linaro.org> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean The function does not to conform to the Sphinx style documentation. Add the missing bits Signed-off-by: Ilias Apalodimas --- Heinrich, this only applies on top of my rework for the function lib/efi_loader/efi_disk.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) -- 2.39.2 diff --git a/lib/efi_loader/efi_disk.c b/lib/efi_loader/efi_disk.c index 62ca8d7fa516..48440221f4f0 100644 --- a/lib/efi_loader/efi_disk.c +++ b/lib/efi_loader/efi_disk.c @@ -690,10 +690,10 @@ int efi_disk_probe(void *ctx, struct event *event) return 0; } -/* - * Delete an efi_disk object for a block device +/** + * efi_disk_remove - Delete an efi_disk object for a block device or partition * - * @dev uclass device (UCLASS_BLK or UCLASS_PARTITION) + * @dev: uclass device (UCLASS_BLK or UCLASS_PARTITION) * * Delete an efi_disk object which is associated with @dev. * The type of @dev must be either UCLASS_BLK or UCLASS_PARTITION.