Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp220527yba; Fri, 3 May 2019 00:02:46 -0700 (PDT) X-Google-Smtp-Source: APXvYqyI/FdRRBHzTrXNcGX958f7fOC0/ihnNtsYBTdRquT65AC782MXytsbcmHnVQXeNIx/thQ2 X-Received: by 2002:a17:902:8bca:: with SMTP id r10mr8411793plo.67.1556866966209; Fri, 03 May 2019 00:02:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556866966; cv=none; d=google.com; s=arc-20160816; b=Exob58Mc0KnRiP8su4gWMQXXuX6Up6QMamOxiOkhbmLjZEdnDHCahJ1eNE13apvi77 kAdi/dk39l2e3ItIWCbBRUt9eMtstvvqKPN93L+s88TosIV4T4zsMeTnmwn7DqW/hETo Vb4NBU2hIPCdWhZH6lUMqXUW2s/P+Vc3E31QJt/O/Iie5/01h4Gvqf4Y0TSGdnrE7QSw eN9PnNEXGE/z2MlqqQtLjcAdrz12fkAbMKzdMRBV4a03S+yFTB0IJ/CaKniWAlAGhmJx KMMohJmaqluEb+qszMmooXGj6s6I56XsbtOw/VNG6DW2uhocy5s8kn6C3Y8p549mTSnF TBnw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:message-id:subject:cc:from:to :in-reply-to; bh=FDUqEs4xy/jlvwEAj5FAYeG34dm7Zje2i4IM1LtSlvE=; b=unV6UtwfBUrRpxXHxonLIsiYTTdwVIR7Vfu6dmguro3JPCLsaTbKyJKm/feymbCQF9 f6t85OyXcyrGaVANuDAxh3Ag+0iNzD6bhFBzjHiH+ZcJT1++2t5EFANpz3KKGN3ZlDpB KaDMJs8V/6Y//rLrfaY5CyXtXwEFSA4pZbHrfO7ZnyBc5haexZwPddFtvRAXzBDbzkOm yEcUG1EImY6TEDwOoCG1TViO0bD7qXN8dwddnpKTLwp2F4Nh0xHWrnHO9YeQgNaT5L53 C87dQYLVCGZMBtaMjpKoQb8sxYwN9SoNWIzH5N0G2O3LCJEUD2HFSHAIFkTHG6leApoP QybQ== 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 p85si1301755pfi.27.2019.05.03.00.02.30; Fri, 03 May 2019 00:02:46 -0700 (PDT) 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 S1726715AbfECG7O (ORCPT + 99 others); Fri, 3 May 2019 02:59:14 -0400 Received: from bilbo.ozlabs.org ([203.11.71.1]:57731 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726579AbfECG7N (ORCPT ); Fri, 3 May 2019 02:59:13 -0400 Received: by ozlabs.org (Postfix, from userid 1034) id 44wNKC6W6qz9sNy; Fri, 3 May 2019 16:59:11 +1000 (AEST) X-powerpc-patch-notification: thanks X-powerpc-patch-commit: a1ac2a9c4f98482e49305ab5551b7b32f9cac39b X-Patchwork-Hint: ignore In-Reply-To: <92e8f0bcec682e878796758e1efb88c172c7ffe4.1553778054.git.christophe.leroy@c-s.fr> To: Christophe Leroy , Benjamin Herrenschmidt , Paul Mackerras From: Michael Ellerman Cc: linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] powerpc/book3e: drop BUG_ON() in map_kernel_page() Message-Id: <44wNKC6W6qz9sNy@ozlabs.org> Date: Fri, 3 May 2019 16:59:11 +1000 (AEST) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 2019-03-28 at 13:03:45 UTC, Christophe Leroy wrote: > early_alloc_pgtable() never returns NULL as it panics on failure. > > This patch drops the three BUG_ON() which check the non nullity > of early_alloc_pgtable() returned value. > > Signed-off-by: Christophe Leroy Applied to powerpc next, thanks. https://git.kernel.org/powerpc/c/a1ac2a9c4f98482e49305ab5551b7b32 cheers