small changes to ptrlist API
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest6 patches 8 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | ptrlist: ~fix TYPEOF()ptrlist.h | +4 | 1 reply | |
| 2/6 | ptrlist: change TYPEOF() into PTRLIST_TYPE()ptrlist.h | +5 | 1 reply | |
| 3/6 | ptrlist: add pop_ptr_list()ptrlist.h | +6 | 1 reply | |
| 4/6 | ptrlist: use ptr_list_nth() instead of linearize_ptr_list()sparse.c | +1 | 1 reply | |
| 5/6 | ptrlist: make linearize_ptr_list() genericptrlist.h simplify.c | +8 | 2 replies | |
| 6/6 | ptrlist: change return value of linearize_ptr_list()/ptr_list_to_array()ptrlist.c simplify.c | +7 | 2 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/6] small changes to ptrlist API
This series contains a few changes to the ptrlst API:
* let TYPEOF() return the entry's type instead of the type of its address
* rename TYPEOF() to PTRLIST_TYPE()
* add pop_ptr_list(), a generic macro
* make linearize_ptr_list() generic and rename it to ptr_list_to_array()
* change the return value of linearize_ptr_list()/ptr_list_to_array() to simplify its use.
Luc Van Oostenryck (6):
ptrlist: ~fix TYPEOF()
ptrlist: change TYPEOF() into PTRLIST_TYPE()
ptrlist: add pop_ptr_list()
ptrlist: use ptr_list_nth() instead of linearize_ptr_list()
ptrlist: make linearize_ptr_list() generic
ptrlist: change return value of linearize_ptr_list()/ptr_list_to_array()
ptrlist.c | 10 +++++----- ptrlist.h | 22 +++++++++++++++++----- simplify.c | 6 +++--- sparse.c | 13 +------------ 4 files changed, 26 insertions(+), 25 deletions(-)
Signature · 1 line
2.30.0