[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Xen-devel] [PATCH 15/21] sparc: add checks for the return value of memblock_alloc*()
- To: rppt@xxxxxxxxxxxxx
- From: David Miller <davem@xxxxxxxxxxxxx>
- Date: Wed, 16 Jan 2019 09:21:47 -0800 (PST)
- Cc: dalias@xxxxxxxx, linux-ia64@xxxxxxxxxxxxxxx, devicetree@xxxxxxxxxxxxxxx, catalin.marinas@xxxxxxx, heiko.carstens@xxxxxxxxxx, x86@xxxxxxxxxx, linux-mips@xxxxxxxxxxxxxxx, jcmvbkbc@xxxxxxxxx, guoren@xxxxxxxxxx, sparclinux@xxxxxxxxxxxxxxx, hch@xxxxxx, linux-s390@xxxxxxxxxxxxxxx, linux-c6x-dev@xxxxxxxxxxxxx, ysato@xxxxxxxxxxxxxxxxxxxx, richard@xxxxxx, linux-sh@xxxxxxxxxxxxxxx, linux@xxxxxxxxxxxxxxx, kasan-dev@xxxxxxxxxxxxxxxx, geert@xxxxxxxxxxxxxx, msalter@xxxxxxxxxx, dennis@xxxxxxxxxx, mattst88@xxxxxxxxx, linux-snps-arc@xxxxxxxxxxxxxxxxxxx, uclinux-h8-devel@xxxxxxxxxxxxxxxxxxxx, pmladek@xxxxxxxx, linux-xtensa@xxxxxxxxxxxxxxxx, linux-alpha@xxxxxxxxxxxxxxx, linux-um@xxxxxxxxxxxxxxxxxxx, linux-m68k@xxxxxxxxxxxxxxxxxxxx, robh+dt@xxxxxxxxxx, green.hu@xxxxxxxxx, xen-devel@xxxxxxxxxxxxxxxxxxxx, shorne@xxxxxxxxx, gxt@xxxxxxxxxx, linux-arm-kernel@xxxxxxxxxxxxxxxxxxx, monstr@xxxxxxxxx, tony.luck@xxxxxxxxx, linux-mm@xxxxxxxxx, gregkh@xxxxxxxxxxxxxxxxxxx, linux-usb@xxxxxxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx, paul.burton@xxxxxxxx, vgupta@xxxxxxxxxxxx, mpe@xxxxxxxxxxxxxx, akpm@xxxxxxxxxxxxxxxxxxxx, linuxppc-dev@xxxxxxxxxxxxxxxx, openrisc@xxxxxxxxxxxxxxxxxxxx
- Delivery-date: Wed, 16 Jan 2019 17:22:11 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
From: Mike Rapoport <rppt@xxxxxxxxxxxxx>
Date: Wed, 16 Jan 2019 15:44:15 +0200
> Add panic() calls if memblock_alloc*() returns NULL.
>
> Most of the changes are simply addition of
>
> if(!ptr)
> panic();
>
> statements after the calls to memblock_alloc*() variants.
>
> Exceptions are pcpu_populate_pte() and kernel_map_range() that were
> slightly refactored to accommodate the change.
>
> Signed-off-by: Mike Rapoport <rppt@xxxxxxxxxxxxx>
Acked-by: David S. Miller <davem@xxxxxxxxxxxxx>
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel
|