lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Thu, 24 Jul 2014 17:15:47 +0100
From:	Måns Rullgård <mans@...sr.com>
To:	Steven Rostedt <rostedt@...dmis.org>
Cc:	Nicholas Krause <xerofoify@...il.com>, gregkh@...uxfoundation.org,
	john.stultz@...aro.org, paul.gortmaker@...driver.com,
	gang.chen.5i5j@...il.com, yongjun_wei@...ndmicro.com.cn,
	dan.carpenter@...cle.com, tomas.winkler@...el.com,
	devel@...verdev.osuosl.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] staging: Change kzalloc to kcalloc

Steven Rostedt <rostedt@...dmis.org> writes:

> On Thu, 24 Jul 2014 10:47:25 -0400
> Steven Rostedt <rostedt@...dmis.org> wrote:
>
>> The three parameters are the number of elements, the size of each individual
>> element, and then finally the flags used on how to allocate that memory.
>> I have to say, you did get the flags part correct.
>> 
>> Now lets look at what you did. For the size you had:
>
> That should have read "For the count you had:"
>
> Oh well, you get my point anyway.

I have some doubts about the last bit.

-- 
Måns Rullgård
mans@...sr.com
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists