Re: [PATCH 1/2] drivers: char: Replace bit operation functions with IDA allocator.

2017-04-10 Thread Greg Kroah-Hartman
On Mon, Apr 10, 2017 at 12:28:59PM +0530, Varsha Rao wrote: > Replace bit operation functions with IDA allocator functions. As IDA > allocation is simpler, faster, more space efficient and it generates > small integer IDs which can be used as minor device numbers. The allocation is different than

[PATCH 1/2] drivers: char: Replace bit operation functions with IDA allocator.

2017-04-09 Thread Varsha Rao
Replace bit operation functions with IDA allocator functions. As IDA allocation is simpler, faster, more space efficient and it generates small integer IDs which can be used as minor device numbers. Signed-off-by: Varsha Rao --- drivers/char/misc.c | 16 ++-- 1 file changed, 10 inser