Re: [RESEND PATCH] x86: remove redundant check for kmem_cache_create()

2018-06-12 Thread kbuild test robot
Hi Chengguang, Thank you for the patch! Yet something to improve: [auto build test ERROR on tip/x86/core] [also build test ERROR on v4.17 next-20180612] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/c

Re: [RESEND PATCH] x86: remove redundant check for kmem_cache_create()

2018-06-12 Thread cgxu...@gmx.com
So still need to keep return type as int, I’ll fix in V2. Thanks. > 在 2018年6月12日,下午7:27,kbuild test robot 写道: > > Hi Chengguang, > > Thank you for the patch! Perhaps something to improve: > > [auto build test WARNING on tip/x86/core] > [also build test WARNING on v4.17 next-20180612] > [if y

Re: [RESEND PATCH] x86: remove redundant check for kmem_cache_create()

2018-06-12 Thread kbuild test robot
Hi Chengguang, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on tip/x86/core] [also build test WARNING on v4.17 next-20180612] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci

[RESEND PATCH] x86: remove redundant check for kmem_cache_create()

2018-06-12 Thread Chengguang Xu
The flag 'SLAB_PANIC' implies panic when encouter failure, so there is no need to check NULL pointer and return error code. Signed-off-by: Chengguang Xu --- arch/x86/mm/pgtable.c | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/arch/x86/mm/pgtable.c b/arch/x86/mm/pgtab