* ia64: dmi.h: Make dmi_alloc use kzalloc [not found] ` <1373386794.14604.14.camel@joe-AO722> @ 2013-07-09 17:13 ` Joe Perches 2013-07-09 20:43 ` Tony Luck 0 siblings, 1 reply; 2+ messages in thread From: Joe Perches @ 2013-07-09 17:13 UTC (permalink / raw) To: Jean Delvare Cc: linux-kernel, Ben Hutchings, Andrew Morton, Tony Luck, Fenghua Yu, linux-ia64 x86/ia64 have a slight mismatch in dmi_alloc as x86 does a memset(0), and ia64 just does kmalloc. Make the ia64 dmi_alloc match the x86 style. Signed-off-by: Joe Perches <joe@perches.com> --- arch/ia64/include/asm/dmi.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/ia64/include/asm/dmi.h b/arch/ia64/include/asm/dmi.h index 1ed4c8f..185d3d1 100644 --- a/arch/ia64/include/asm/dmi.h +++ b/arch/ia64/include/asm/dmi.h @@ -7,6 +7,6 @@ /* Use normal IO mappings for DMI */ #define dmi_ioremap ioremap #define dmi_iounmap(x,l) iounmap(x) -#define dmi_alloc(l) kmalloc(l, GFP_ATOMIC) +#define dmi_alloc(l) kzalloc(l, GFP_ATOMIC) #endif ^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: ia64: dmi.h: Make dmi_alloc use kzalloc 2013-07-09 17:13 ` ia64: dmi.h: Make dmi_alloc use kzalloc Joe Perches @ 2013-07-09 20:43 ` Tony Luck 0 siblings, 0 replies; 2+ messages in thread From: Tony Luck @ 2013-07-09 20:43 UTC (permalink / raw) To: Joe Perches Cc: Jean Delvare, linux-kernel, Ben Hutchings, Andrew Morton, Fenghua Yu, linux-ia64 On Tue, Jul 9, 2013 at 10:13 AM, Joe Perches <joe@perches.com> wrote: > x86/ia64 have a slight mismatch in dmi_alloc as > x86 does a memset(0), and ia64 just does kmalloc. > > Make the ia64 dmi_alloc match the x86 style. > > Signed-off-by: Joe Perches <joe@perches.com> Applied. Thanks Joe. -Tony ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-07-09 20:43 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <1373384438.4391.6.camel@chaos.site>
[not found] ` <1373384574.4391.9.camel@chaos.site>
[not found] ` <1373386794.14604.14.camel@joe-AO722>
2013-07-09 17:13 ` ia64: dmi.h: Make dmi_alloc use kzalloc Joe Perches
2013-07-09 20:43 ` Tony Luck
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox