Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp5906153imu; Wed, 30 Jan 2019 05:41:15 -0800 (PST) X-Google-Smtp-Source: ALg8bN61GJbVb8v5w75IB0icXMfc84iPzUYubVOoxAwpmFrg9SfQ12CgizgypvnpWROuaBqLHECx X-Received: by 2002:aa7:8542:: with SMTP id y2mr31018243pfn.83.1548855675111; Wed, 30 Jan 2019 05:41:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548855675; cv=none; d=google.com; s=arc-20160816; b=xOHLdadC9K5PLs9C0oKgSGsFkV/NdXVh5Zsq4vT13zu5GAsIiMZU699Sa/n0k8ki/M 835P22mNq81adx5WEyOLnX9CCZl1DYm6IGfT7MtAnJrP0yFjU2PDA+5lqUFs7Fkjh0ym yUkW6XmgXpPmagmm8TWB7R9klKU58jinhaln6/vuMGalnb30XfIRuUgBJQ+GTutjUt1X ICzzRp3GTM2KNaPrSsKPcRkHUS3LqxAudaM/MjwZX50zoAPQRq070Sp3mZuGYoPkBZC8 VCxy/irmllGuaLNAJ5efCmjN0bMISP4L9HxBs26YbvmgpmZQq8UuFh6HkVxE3okmK4rM 4fMw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=gqd31/i4BHnhFzfydETNTSu3jZ4+YiDJO1wxnEnXBpw=; b=UAlvTYK2uRX9ayNFdBTZj1zd/9JZzGFC4XuWS4GGi47dIqWQl6ReWGNeq/jEMjubWK nDzchUI3R3lR+j2MxzWf/zeavX7P1QYCIHCZ7L6xJnJcFl0IvxrbMzk/OXMqsfNP7cKm naS0UnHlIDXCsqYWQ1V/SWaHWyoJTmq07vJvGT2yPSx5OSP3g6b2bO02oFYYx3IaAvZx u/QOkgU/yrpEPirh2+x3BFsBJr4B705jHq9n3JYpdRykuSKy5fCpVriRf4mdtBdHxY2S OuWLuoDuMPJVZcznW1bkmuvKjTX6ZxcSUUEAFtPrTYTLQV5qsNt+K/E7zv+2/WjXNbA8 9+Iw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k17si1465576pgl.62.2019.01.30.05.40.57; Wed, 30 Jan 2019 05:41:15 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731231AbfA3Ni5 (ORCPT + 99 others); Wed, 30 Jan 2019 08:38:57 -0500 Received: from mx2.suse.de ([195.135.220.15]:49510 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1730905AbfA3Niw (ORCPT ); Wed, 30 Jan 2019 08:38:52 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id DCEF8AE9D; Wed, 30 Jan 2019 13:38:48 +0000 (UTC) Date: Wed, 30 Jan 2019 14:38:45 +0100 From: Petr Mladek To: Mike Rapoport Cc: linux-mm@kvack.org, Andrew Morton , Catalin Marinas , Christoph Hellwig , "David S. Miller" , Dennis Zhou , Geert Uytterhoeven , Greentime Hu , Greg Kroah-Hartman , Guan Xuetao , Guo Ren , Heiko Carstens , Mark Salter , Matt Turner , Max Filippov , Michael Ellerman , Michal Simek , Paul Burton , Rich Felker , Richard Weinberger , Rob Herring , Russell King , Stafford Horne , Tony Luck , Vineet Gupta , Yoshinori Sato , devicetree@vger.kernel.org, kasan-dev@googlegroups.com, linux-alpha@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-c6x-dev@linux-c6x.org, linux-ia64@vger.kernel.org, linux-kernel@vger.kernel.org, linux-m68k@lists.linux-m68k.org, linux-mips@vger.kernel.org, linux-s390@vger.kernel.org, linux-sh@vger.kernel.org, linux-snps-arc@lists.infradead.org, linux-um@lists.infradead.org, linux-usb@vger.kernel.org, linux-xtensa@linux-xtensa.org, linuxppc-dev@lists.ozlabs.org, openrisc@lists.librecores.org, sparclinux@vger.kernel.org, uclinux-h8-devel@lists.sourceforge.jp, x86@kernel.org, xen-devel@lists.xenproject.org Subject: Re: [PATCH v2 21/21] memblock: drop memblock_alloc_*_nopanic() variants Message-ID: <20190130133845.nps4itatl4fm6dcl@pathway.suse.cz> References: <1548057848-15136-1-git-send-email-rppt@linux.ibm.com> <1548057848-15136-22-git-send-email-rppt@linux.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1548057848-15136-22-git-send-email-rppt@linux.ibm.com> User-Agent: NeoMutt/20170421 (1.8.2) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon 2019-01-21 10:04:08, Mike Rapoport wrote: > As all the memblock allocation functions return NULL in case of error > rather than panic(), the duplicates with _nopanic suffix can be removed. > > Signed-off-by: Mike Rapoport > Acked-by: Greg Kroah-Hartman > --- > arch/arc/kernel/unwind.c | 3 +-- > arch/sh/mm/init.c | 2 +- > arch/x86/kernel/setup_percpu.c | 10 +++++----- > arch/x86/mm/kasan_init_64.c | 14 ++++++++------ > drivers/firmware/memmap.c | 2 +- > drivers/usb/early/xhci-dbc.c | 2 +- > include/linux/memblock.h | 35 ----------------------------------- > kernel/dma/swiotlb.c | 2 +- > kernel/printk/printk.c | 9 +-------- For printk: Reviewed-by: Petr Mladek Acked-by: Petr Mladek Best Regards, Petr > mm/memblock.c | 35 ----------------------------------- > mm/page_alloc.c | 10 +++++----- > mm/page_ext.c | 2 +- > mm/percpu.c | 11 ++++------- > mm/sparse.c | 6 ++---- > 14 files changed, 31 insertions(+), 112 deletions(-) >