On Thu, Oct 5, 2017 at 6:54 PM, Vishal Verma <[email protected]> wrote: > In preparation for the error-inject command, add anew helper to > ccan/list for adding a list element in the middle of a list. > > Cc: Dan Williams <[email protected]> > Signed-off-by: Vishal Verma <[email protected]> > --- > ccan/list/list.h | 32 ++++++++++++++++++++++++++++++++ > 1 file changed, 32 insertions(+)
Let's not touch the ccan files since these should always match what is in upstream ccan. Create a local util/list.h to add new routines. It would also be nice to rename this to list_splice() to bring us closer in line with kernel list primitives. _______________________________________________ Linux-nvdimm mailing list [email protected] https://lists.01.org/mailman/listinfo/linux-nvdimm
