Re: [RFC 18/22] efi_loader: efi_disk: a helper function to delete efi_disk objects

Simon Glass
2021-10-10T14:17:22Z

On Thu, 30 Sept 2021 at 23:04, AKASHI Takahiro
<takahiro.akashi@linaro.org> wrote:
>
> This function is expected to be called, in particular from dm's pre_remove
> hook, when associated block devices no longer exist.
>
> Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
> ---
> include/efi_loader.h | 2 ++
> lib/efi_loader/efi_disk.c | 54 +++++++++++++++++++++++++++++++++++++++
> 2 files changed, 56 insertions(+)

Reviewed-by: Simon Glass <sjg@chromium.org>

Please add full function comments.