From: AKASHI Takahiro <takahiro.akashi@linaro.org>
To: u-boot@lists.denx.de
Subject: [U-Boot] [RFC] efi_loader: memory type in device path allocation
Date: Mon, 25 Feb 2019 10:30:38 +0900 [thread overview]
Message-ID: <20190225013037.GV20286@linaro.org> (raw)
In efi_device_path.c, dp_alloc() uses efi_allocate_pool() with
EFI_ALLOCATE_ANY_PAGES.
This usage is just wrong as the first argument to efi_allocate_pool()
should be of efi_mem_type, not "allocation type."
Since this routine is called as part of device path * protocol,
I don't know what is the best value here.
(EFI_BOOT_SERVICES_DATA as far as I looked into EDK2 shell implementation.)
-Takahiro Akashi
reply other threads:[~2019-02-25 1:30 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190225013037.GV20286@linaro.org \
--to=takahiro.akashi@linaro.org \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox