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=-14.4 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,INCLUDES_CR_TRAILER,INCLUDES_PATCH,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED 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 A4B88C49EA6 for ; Thu, 24 Jun 2021 19:09:10 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 66B52613D3 for ; Thu, 24 Jun 2021 19:09:10 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 66B52613D3 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=9ruKlbpe+giuoma272mG1WIFlbh0msbFZ767woPGijI=; b=EEgSuwMDPQ3Cm9 HKjuBL/Stt0zPPz00RJYfFvQtKP/3zjUlG57N1VW4Dxb4E6E3egBOD7YlFIlNuhp2nwOM1nDcAEuA nCI94Qr0QFNfDDlXxINQDF7d8JNrgYEJ6rbWyfmIlPAFntHtAPq0ipxIMWcMAZFzdQNcAVK2Yhnhy QoWTlP40QCXj7m7ViQH/Q8ot25BOybG145lH9l/AHCJ7NEM1tJoUPtOPLJCVAp+ZPSql8X7K/EWmr LTfPhdGdmj3T5ncOc8+Iad5e7O3MqsNmuGZOzpG6G7A4JdJ+56RjpG6/vmG5eSchskuUmrLFHBJ2F RbvXfHx5njOWOnXrVVTg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1lwUgx-00FyD2-7M; Thu, 24 Jun 2021 19:07:12 +0000 Received: from mail-il1-f178.google.com ([209.85.166.178]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1lwUft-00Fxpc-2t for linux-arm-kernel@lists.infradead.org; Thu, 24 Jun 2021 19:06:06 +0000 Received: by mail-il1-f178.google.com with SMTP id h3so7392755ilc.9 for ; Thu, 24 Jun 2021 12:06:04 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=sASZIh0JylD5nlffYVNx6Q2qk0hslOsxCidZn+CssBE=; b=OnPot7dv9YNFYqnAtNurVGTth6Y+ut8wnntVcIUv53n4Fj0cG2Rt1fPnMFKlbp++Ee BROqI1s670fCN3nNQ5K3+KtzUGWlesN5VwaV2ADUbdQKFKqpsfLHH7CnuZrr3h9oDu62 70xTdWci2/rAx+SUC54D9cA4JJ6YZ4Uiq/a2Lf5Zo0FHzJs55kp4+4JF6k26waAq76BA 2cTX19bNX0aPFHHdkmSbwoQkBbQB7kQH5P/lSDHZpXIWheZ8nZeyicQjT8ovNpGgGPD7 /omwy17RuHvA4NJh/Aeb5aFpUwSusqtLmRV/xo1P1/kWOAKu9lvg7fbra4pYEBbEEDzC qfsw== X-Gm-Message-State: AOAM530HV6ptaZZHCuz+Dn0UZI7XiJVFTAj5WDER+UeEX5N5a+8aUSeZ hJO03lO90bDNqjSoBXx8zQ== X-Google-Smtp-Source: ABdhPJxiwyiyjZcStomRiRQofvBh6rElZg/J0wGTTpumXIvqvLnGEtvk/m1fPQNTbXqxoAPf9KEGDg== X-Received: by 2002:a05:6e02:1aa7:: with SMTP id l7mr4537589ilv.187.1624561564334; Thu, 24 Jun 2021 12:06:04 -0700 (PDT) Received: from robh.at.kernel.org ([64.188.179.248]) by smtp.gmail.com with ESMTPSA id h8sm975531ile.45.2021.06.24.12.06.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 24 Jun 2021 12:06:02 -0700 (PDT) Received: (nullmailer pid 1820092 invoked by uid 1000); Thu, 24 Jun 2021 19:05:58 -0000 Date: Thu, 24 Jun 2021 13:05:58 -0600 From: Rob Herring To: Dong Aisheng Cc: linux-mm@kvack.org, linux-arm-kernel@lists.infradead.org, Rob Herring , devicetree@vger.kernel.org, dongas86@gmail.com, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/2] of: of_reserved_mem: only call memblock_free for normal reserved memory Message-ID: <20210624190558.GA1819995@robh.at.kernel.org> References: <20210611131153.3731147-1-aisheng.dong@nxp.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20210611131153.3731147-1-aisheng.dong@nxp.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210624_120605_187524_7FF087C8 X-CRM114-Status: GOOD ( 11.79 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Fri, 11 Jun 2021 21:11:52 +0800, Dong Aisheng wrote: > For nomap case, the memory block will be removed by memblock_remove() > in early_init_dt_alloc_reserved_memory_arch(). So it's meaningless to > call memblock_free() on error path. > > Cc: Rob Herring > Cc: devicetree@vger.kernel.org > Signed-off-by: Dong Aisheng > --- > drivers/of/of_reserved_mem.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > Applied, thanks! _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel