[U-Boot] [PATCH v2 04/12] list: Add list_last_entry() to find the last entry
Bin Meng
bmeng.cn at gmail.com
Sat Oct 8 06:23:43 CEST 2016
On Thu, Oct 6, 2016 at 10:42 AM, Simon Glass <sjg at chromium.org> wrote:
> We have list_first_entry() but in some cases it is useful to find the last
> item added to the list. Add a macro for this.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> Reviewed-by: Bin Meng <bmeng.cn at gmail.com>
> ---
>
> Changes in v2: None
>
> include/linux/list.h | 11 +++++++++++
> 1 file changed, 11 insertions(+)
>
applied to u-boot-x86, thanks!
More information about the U-Boot
mailing list