Re: kernel: use kcalloc instead kmalloc/memset

2005-08-05 Thread Pekka J Enberg
On Fri, 5 Aug 2005, Arjan van de Ven wrote: > kcalloc does have value, in that it's a nice api to avoid multiplication > overflows. Just for "1" it's indeed not the most useful API. Roman Zippel writes: This would imply a similiar kmalloc() would be useful as well. Second, how relevant is it

Re: kernel: use kcalloc instead kmalloc/memset

2005-08-05 Thread Pekka J Enberg
On Fri, 2005-08-05 at 11:37 +0200, Roman Zippel wrote: > BTW we already have 420 "kcalloc(1, ...)" user and 41 without the 1 > argument, most of them are in sound, which introduced it in first place. > Can we please deprecate that function before it spreads any further? Arjan van de Ven writes