Files
erofs-linux/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 <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Mark Rutland <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Paul Clarke <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
2022-07-26 16:02:13 -03:00
..
…
…
…
…
2022-02-20 08:44:37 +02:00
…
…
2022-02-20 08:44:37 +02: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
…
…
…
…
2022-02-20 08:44:37 +02:00
…
…
…
…
2022-04-22 14:24:28 -04:00
…
…
…