Re: [PATCH] some kmalloc/memset ->kzalloc (tree wide)

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Yoann Padioleau <padator@...>
Cc: <kernel-janitors@...>, <akpm@...>, <linux-kernel@...>
Date: Saturday, July 7, 2007 - 9:07 am

Am 06.07.2007 18:51 schrieb Yoann Padioleau:

This misses the semantic distinction between the first and second
arguments of kcalloc(). The first argument is supposed to be the
number of elements to allocate and the second their size. As a
consequence, the following hunks in your pathc are wrong:


lit.c
1) /=20
um_desc_pages, GFP_KERNEL)))=20
m_desc_pages, GFP_KERNEL)))=20

GFP_KERNEL);
GFP_KERNEL);
FP_KERNEL);
FP_KERNEL);

GFP_KERNEL);


GFP_KERNEL);



GFP_KERNEL);


L);

P_KERNEL);
_KERNEL);
on failed");
nt_queue[0] + (i * sizeof(TW_Event)));

a.c
s,
, GFP_KERNEL);
;

aid/megaraid_mbox.c
e
_KERNEL);
_KERNEL);

id/megaraid_sas.c
,
GFP_KERNEL);
;

 {

age/savagefb_driver.c

HTH

--=20
Tilman Schmidt                          E-Mail: tilman@imap.cc
Bonn, Germany
Please excuse my bad English/German/French/Greek/Cantonese/Klingon/...
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] some kmalloc/memset -&gt;kzalloc (tree wide), Yoann Padioleau, (Fri Jul 6, 12:51 pm)
Re: [PATCH] some kmalloc/memset -&gt;kzalloc (tree wide), Luca Tettamanti, (Sun Jul 8, 3:45 pm)
Re: [PATCH] some kmalloc/memset -&gt;kzalloc (tree wide), Jan Engelhardt, (Sat Jul 7, 2:42 pm)
Re: [PATCH] some kmalloc/memset ->kzalloc (tree wide), Tilman Schmidt, (Sat Jul 7, 9:07 am)
Re: [PATCH] some kmalloc/memset -&gt;kzalloc (tree wide), yoann padioleau, (Sat Jul 7, 9:36 am)
Re: [PATCH] some kmalloc/memset -&gt;kzalloc (tree wide), Tilman Schmidt, (Sat Jul 7, 7:06 pm)
Re: [PATCH] some kmalloc/memset -&gt;kzalloc (tree wide), Peter Zijlstra, (Fri Jul 6, 1:04 pm)
Re: [PATCH] some kmalloc/memset -&gt;kzalloc (tree wide), Christoph Lameter, (Fri Jul 6, 1:54 pm)