Files
rockchip-kernel/tools/include/linux
Yang Jihong e432947ef5 tools lib: Add list_last_entry_or_null()
Add list_last_entry_or_null() to get the last element from a list,
returns NULL if the list is empty.

Signed-off-by: Yang Jihong <yangjihong1@huawei.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Paul Clarke <pc@us.ibm.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: https://lore.kernel.org/r/20220709015033.38326-6-yangjihong1@huawei.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2022-07-26 16:02:13 -03:00
..
2020-02-04 03:05:26 +00:00
2020-09-21 15:00:40 -07:00
2022-02-20 08:44:37 +02:00
2022-02-20 08:44:37 +02:00
2019-06-08 13:42:13 -06:00
2021-02-08 12:28:07 +01:00
2021-01-14 18:34:29 -08:00
2022-01-20 08:52:54 +02:00
2022-02-20 08:44:37 +02:00
2021-11-30 09:14:42 -08:00
2022-02-20 08:44:37 +02:00
2018-09-10 13:48:23 +02:00
2022-02-20 08:44:37 +02:00
2022-04-22 14:24:28 -04:00