Re: [PATCH] arm64: armv8_deprecated: Checking return value for memory allocation

2019-10-06 Thread Yunfeng Ye
On 2019/9/30 21:22, Will Deacon wrote: > On Sun, Sep 29, 2019 at 12:44:17PM +0800, Yunfeng Ye wrote: >> There are no return value checking when using kzalloc() and kcalloc() for >> memory allocation. so add it. >> >> Signed-off-by: Yunfeng Ye >> --- >> arch/arm64/kernel/armv8_deprecated.c | 5

Re: [PATCH] arm64: armv8_deprecated: Checking return value for memory allocation

2019-09-30 Thread Will Deacon
On Sun, Sep 29, 2019 at 12:44:17PM +0800, Yunfeng Ye wrote: > There are no return value checking when using kzalloc() and kcalloc() for > memory allocation. so add it. > > Signed-off-by: Yunfeng Ye > --- > arch/arm64/kernel/armv8_deprecated.c | 5 + > 1 file changed, 5 insertions(+) > > dif

[PATCH] arm64: armv8_deprecated: Checking return value for memory allocation

2019-09-28 Thread Yunfeng Ye
There are no return value checking when using kzalloc() and kcalloc() for memory allocation. so add it. Signed-off-by: Yunfeng Ye --- arch/arm64/kernel/armv8_deprecated.c | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm64/kernel/armv8_deprecated.c b/arch/arm64/kernel/armv8_depr