From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.0 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SIGNED_OFF_BY,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 16825C43219 for ; Fri, 3 May 2019 06:59:16 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id E70BA205F4 for ; Fri, 3 May 2019 06:59:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726980AbfECG7P (ORCPT ); Fri, 3 May 2019 02:59:15 -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