Re: [PATCH] x86:kernel:e820c:kmemdup instead of duplicating its function

2019-01-08 Thread Borislav Petkov
> Subject: Re: [PATCH] x86:kernel:e820c:kmemdup instead of duplicating its > function The tip tree preferred format for patch subject prefixes is 'subsys/component:', e.g. 'x86/apic:', 'x86/mm/fault:', 'sched/fair:', 'genirq/core:'. Please do not use file names or complete file paths as

[PATCH] x86:kernel:e820c:kmemdup instead of duplicating its function

2019-01-07 Thread Yi Wang
From: "huang.zijiang" kmemdup has implemented the function that kmalloc() and memcpy(). Signed-off-by: huang.zijiang --- arch/x86/kernel/e820.c | 9 +++-- 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/arch/x86/kernel/e820.c b/arch/x86/kernel/e820.c index 50895c2..a687d10