Thread (36 messages) 36 messages, 3 authors, 2011-09-15

Re: [PATCH] iwlagn: Convert kzalloc to kcalloc

From: Luis R. Rodriguez <hidden>
Date: 2011-09-15 23:22:06

On Thu, Sep 15, 2011 at 4:21 PM, Joe Perches [off-list ref] wrote:
On Thu, 2011-09-15 at 16:18 -0700, Luis R. Rodriguez wrote:
quoted
On Thu, Sep 15, 2011 at 4:14 PM, Joe Perches [off-list ref] wrote:
quoted
On Thu, 2011-09-15 at 15:54 -0700, wwguy wrote:
quoted
On Thu, 2011-09-15 at 12:47 -0700, Joe Perches wrote:
quoted
Convert kzalloc to kcalloc, coalesce multiple lines too.
IIRC, there is no real different between kcalloc and kzalloc, I think
kcalloc will call kzalloc; both zero out the memory before return.
Multiplication overflow protection.
Then the patch should explain that, no?
Egads.  I think not.  It's trivially obvious.
So obvious the maintainer had to ask.

  Luis
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help