[U-Boot] [PATCH 04/12] list: Add list_last_entry() to find the last entry

Bin Meng bmeng.cn at gmail.com
Wed Oct 5 11:20:09 CEST 2016


On Mon, Oct 3, 2016 at 11:12 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>
> ---
>
>  include/linux/list.h | 11 +++++++++++
>  1 file changed, 11 insertions(+)
>

Reviewed-by: Bin Meng <bmeng.cn at gmail.com>


More information about the U-Boot mailing list