Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2885880imu; Fri, 18 Jan 2019 00:45:50 -0800 (PST) X-Google-Smtp-Source: ALg8bN7RlQ9aMpJbdoDq0jyx7okT1scdEXlPnHmcEyKtUmVnGwOHMC4byCy6FPd2I1EvavDHiOis X-Received: by 2002:a17:902:aa4c:: with SMTP id c12mr18411283plr.48.1547801150098; Fri, 18 Jan 2019 00:45:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547801150; cv=none; d=google.com; s=arc-20160816; b=g0b55x2E7yq1mcrmNEmtpJ2IsXBx18a6e/sGGGjUmbCFwvssYVXk5SVsaLWqu1ic3s 0kDYTPKAjcj4xuiXPH/XGS/EsnX3cfRBL0jzxDsCS68p7NvtHiJ8KrmU0cMMnkTBqKwn rNqAdGHyTojGuLlxtac5l4gq8SPqnUjF5Q4Q4dtEC5KCa6yF9I7TeJ7j0sfqb/2h+4ih wY2AwaGcQ+qQohy/U3vAE7hFh4+ndZN0wwZjWPemAa9ODfmeZ7+tuvQmsdF1dWIHfkfP zWHOlJ7dnskEBMt2mvMr4cXPWXOvSG2PXmYKmYzUmeo/LcETrVv+UY1bEuohRbbqMjRy 4A5w== 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:dkim-signature; bh=avx81tdVap5aMwHwhxgr/HNowEPdaP9xJS15G7wauK4=; b=MRzlY4A2SOawBc8TxkT/VhXmJSmFiqQbHj7JHj4cw9Vnif2s2TndrCnmW6WJUC4zmM RyBtHK2LJRSRtct+fo7ADmMvIoBhf5jFqgJ8w1O2UvfhhVuVaUyY4dBQYo5djt7kC3C7 H+8fDTFRDC/hphCCZ0VTSzYU9dPMGR5DEN4EU358o/SmqeZT/suYdB8LZpV8RQGQofMj rF1nYvc9a/6eOuG8YXmNoW8ocEc+OVPvGqWMi5mn9xPvRVTCmrZfJo5eH9NZ0OaOevPQ ZRVmdhbCGH4qjMjPBq1VkiNe0ucAQbm429SnjcISpdwQVrA3DJ0W1aG6LV1+fuID4avA IqhQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=euYF565N; 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 b24si4043386pgg.288.2019.01.18.00.45.31; Fri, 18 Jan 2019 00:45:50 -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; dkim=pass header.i=@kernel.org header.s=default header.b=euYF565N; 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 S1727613AbfARImf (ORCPT + 99 others); Fri, 18 Jan 2019 03:42:35 -0500 Received: from mail.kernel.org ([198.145.29.99]:50328 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727357AbfARIme (ORCPT ); Fri, 18 Jan 2019 03:42:34 -0500 Received: from localhost (5356596B.cm-6-7b.dynamic.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 7FADC20855; Fri, 18 Jan 2019 08:42:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1547800953; bh=/A19VUor74ICH0K0h/pulLr023SA07xwYLMGvSrqEU4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=euYF565NKIFwTO8L7LafcO3f+dvk3VpVOqUE3KZqyrAGoL+mfBNN/NBfukJu2vppN jyZroW4VJ+NZVDY0kUiVXswgZ3QIA9IPTrccAzpph12M+/gvbY1jT7YCaLWREj4Dmc XiiHsU4i/YM2IIvKOJvbfh1trsEz6JqMornEb95A= Date: Fri, 18 Jan 2019 09:42:30 +0100 From: Greg Kroah-Hartman To: Mike Rapoport Cc: linux-mm@kvack.org, Andrew Morton , Catalin Marinas , Christoph Hellwig , "David S. Miller" , Dennis Zhou , Geert Uytterhoeven , Greentime Hu , Guan Xuetao , Guo Ren , Heiko Carstens , Mark Salter , Matt Turner , Max Filippov , Michael Ellerman , Michal Simek , Paul Burton , Petr Mladek , 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 21/21] memblock: drop memblock_alloc_*_nopanic() variants Message-ID: <20190118084230.GA8855@kroah.com> References: <1547646261-32535-1-git-send-email-rppt@linux.ibm.com> <1547646261-32535-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: <1547646261-32535-22-git-send-email-rppt@linux.ibm.com> User-Agent: Mutt/1.11.2 (2019-01-07) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jan 16, 2019 at 03:44:21PM +0200, 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 > --- > 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 | 17 +++++++---------- > 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, 37 insertions(+), 114 deletions(-) Acked-by: Greg Kroah-Hartman