i just noticed that there are numerous invocations of kcalloc()
where the hard-coded first arg of # elements is "1", which seems like
an inappropriate use of kcalloc().
the only rationale i can see is that kcalloc() guarantees that the
memory will be set to zero, so i'm guessing that this for
On Thu, Dec 07, 2006 at 07:16:15PM -0500, Robert P. J. Day wrote:
>
> i just noticed that there are numerous invocations of kcalloc()
> where the hard-coded first arg of # elements is "1", which seems like
> an inappropriate use of kcalloc().
>
> the only rationale i can see is that kcalloc()
2 matches
Mail list logo