From: Tom Rini Date: Wed, 7 Aug 2024 14:49:18 +0000 (-0600) Subject: Merge patch series "alist: Implement a pointer list / array of structs" X-Git-Url: http://git.dujemihanovic.xyz/img/static/git-favicon.png?a=commitdiff_plain;h=2078abaf00b63fc4f70f8a599b61a476e22352f3;p=u-boot.git Merge patch series "alist: Implement a pointer list / array of structs" Simon Glass says: This data structure provides a list of pointers / array of structures. I was planning to use it for the lmb restructure, to allow it to support any number of entries, but then I gave up on it. There are quite a few places in U-Boot where such a list would be useful, since it supports growing the array. [...] Example: struct my_struct obj; struct my_struct *ptr = alist_add(&lst, &obj, struct my_struct); // now ptr is in the list [trini: Reword the cover letter slightly, do not merge the RFC portion] --- 2078abaf00b63fc4f70f8a599b61a476e22352f3