Re: [PATCH] arch: s390: use struct_size() in kmalloc()

2019-06-01 Thread Heiko Carstens
On Fri, May 17, 2019 at 03:15:17PM +0800, xiaolinkui wrote: > Use the new struct_size() helper to keep code simple. > > Signed-off-by: xiaolinkui > --- > arch/s390/include/asm/idals.h | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > > diff --git a/arch/s390/include/asm/idals.h

[PATCH] arch: s390: use struct_size() in kmalloc()

2019-05-17 Thread xiaolinkui
Use the new struct_size() helper to keep code simple. Signed-off-by: xiaolinkui --- arch/s390/include/asm/idals.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/s390/include/asm/idals.h b/arch/s390/include/asm/idals.h index 15578fd..6fb7ace 100644 ---