Skip to content

small changes to ptrlist API

Luc Van Oostenryck linux-sparse 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6ptrlist: ~fix TYPEOF()ptrlist.h+4 -41 reply
2/6ptrlist: change TYPEOF() into PTRLIST_TYPE()ptrlist.h+5 -51 reply
3/6ptrlist: add pop_ptr_list()ptrlist.h+6 -01 reply
4/6ptrlist: use ptr_list_nth() instead of linearize_ptr_list()sparse.c+1 -121 reply
5/6ptrlist: make linearize_ptr_list() genericptrlist.h simplify.c+8 -22 replies
6/6ptrlist: change return value of linearize_ptr_list()/ptr_list_to_array()ptrlist.c simplify.c+7 -72 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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