summaryrefslogtreecommitdiff
path: root/rust/helpers/helpers.c
diff options
context:
space:
mode:
authorLuca Ceresoli <luca.ceresoli@bootlin.com>2025-08-01 19:05:23 +0200
committerLuca Ceresoli <luca.ceresoli@bootlin.com>2025-09-02 11:38:29 +0200
commitcb86408b1fc2e3f6fe45ebe8509a5404060e01e0 (patch)
tree7adb860b00c73ab115c9e41d90b7dde092124682 /rust/helpers/helpers.c
parent2a06126d1624f0661fac0833e7ee1dbdc636154e (diff)
list: add list_last_entry_or_null()
Add an equivalent of list_first_entry_or_null() to obtain the last element of a list. Acked-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Link: https://lore.kernel.org/r/20250801-drm-bridge-alloc-getput-drm_bridge_get_next_bridge-v2-1-888912b0be13@bootlin.com Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions