On Mon, 13 Aug 2007, Roland Dreier wrote:
> > from my days submitting numerous patches of this type, i can recall
> > that in cases like the above, it's a judgment call -- use kzalloc to
> > get the zeroing, or use kcalloc to get the array-flavoured behaviour.
> > what a shame you can't have
> from my days submitting numerous patches of this type, i can recall
> that in cases like the above, it's a judgment call -- use kzalloc to
> get the zeroing, or use kcalloc to get the array-flavoured behaviour.
> what a shame you can't have both at the same time.
kcalloc() zeros memory just
On Mon, 13 Aug 2007, Mariusz Kozlowski wrote:
> > Hi,
> >Replacing kmalloc with kzalloc and cleaning up memset in
> > arch/i386/kernel/io_apic.c
> >
> >
> > Signed-off-by: Surya Prabhakar <[EMAIL PROTECTED]>
> > ---
> >
> > diff --git a/arch/i386/kernel/io_apic.c b/arch/i386/kernel/io_apic.c
> Hi,
>Replacing kmalloc with kzalloc and cleaning up memset in
> arch/i386/kernel/io_apic.c
>
>
> Signed-off-by: Surya Prabhakar <[EMAIL PROTECTED]>
> ---
>
> diff --git a/arch/i386/kernel/io_apic.c b/arch/i386/kernel/io_apic.c
> index 4b8a8da..1329615 100644
> ---
Hi,
Replacing kmalloc with kzalloc and cleaning up memset in
arch/i386/kernel/io_apic.c
Signed-off-by: Surya Prabhakar <[EMAIL PROTECTED]>
---
diff --git a/arch/i386/kernel/io_apic.c b/arch/i386/kernel/io_apic.c
index 4b8a8da..1329615 100644
--- a/arch/i386/kernel/io_apic.c
+++
Hi,
Replacing kmalloc with kzalloc and cleaning up memset in
arch/i386/kernel/io_apic.c
Signed-off-by: Surya Prabhakar [EMAIL PROTECTED]
---
diff --git a/arch/i386/kernel/io_apic.c b/arch/i386/kernel/io_apic.c
index 4b8a8da..1329615 100644
--- a/arch/i386/kernel/io_apic.c
+++
Hi,
Replacing kmalloc with kzalloc and cleaning up memset in
arch/i386/kernel/io_apic.c
Signed-off-by: Surya Prabhakar [EMAIL PROTECTED]
---
diff --git a/arch/i386/kernel/io_apic.c b/arch/i386/kernel/io_apic.c
index 4b8a8da..1329615 100644
--- a/arch/i386/kernel/io_apic.c
+++
On Mon, 13 Aug 2007, Mariusz Kozlowski wrote:
Hi,
Replacing kmalloc with kzalloc and cleaning up memset in
arch/i386/kernel/io_apic.c
Signed-off-by: Surya Prabhakar [EMAIL PROTECTED]
---
diff --git a/arch/i386/kernel/io_apic.c b/arch/i386/kernel/io_apic.c
index
from my days submitting numerous patches of this type, i can recall
that in cases like the above, it's a judgment call -- use kzalloc to
get the zeroing, or use kcalloc to get the array-flavoured behaviour.
what a shame you can't have both at the same time.
kcalloc() zeros memory just
On Mon, 13 Aug 2007, Roland Dreier wrote:
from my days submitting numerous patches of this type, i can recall
that in cases like the above, it's a judgment call -- use kzalloc to
get the zeroing, or use kcalloc to get the array-flavoured behaviour.
what a shame you can't have both at
10 matches
Mail list logo