Re: [PATCH v2 01/29] radix-tree: Introduce radix_tree_empty

2016-05-03 Thread Jan Kara
On Thu 14-04-16 10:16:22, Matthew Wilcox wrote: > The irqdomain code was checking for 0 or 1 entries, not 0 entries like > the comment said they were. Introduce a new helper that will actually > check for an empty tree. > > Signed-off-by: Matthew Wilcox > Reviewed-by: Ross Zwisler The patch lo

[PATCH v2 01/29] radix-tree: Introduce radix_tree_empty

2016-04-14 Thread Matthew Wilcox
The irqdomain code was checking for 0 or 1 entries, not 0 entries like the comment said they were. Introduce a new helper that will actually check for an empty tree. Signed-off-by: Matthew Wilcox Reviewed-by: Ross Zwisler --- include/linux/radix-tree.h | 5 + kernel/irq/irqdomain.c | 7