Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp2894769imm; Fri, 19 Oct 2018 01:18:17 -0700 (PDT) X-Google-Smtp-Source: ACcGV60MTPCt3cTHD6Jg+7UTucRdInwR3p46sfviuS0Vq/TN74vjK4Rf8V6mw5AewOC2+ZwvZ9YW X-Received: by 2002:a17:902:9303:: with SMTP id bc3-v6mr4149667plb.206.1539937097241; Fri, 19 Oct 2018 01:18:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539937097; cv=none; d=google.com; s=arc-20160816; b=xWjn5JcIQBpoWHGbhnsdCZeTSVDKng6vbfeuMljNPh7WeWdRlHPNCrPMYneXsBoI4s YzCu+w+c9lKn3Iiq4tCC67Pnv180b3j2Bfido/CwwNbUAI5R/7UfcW6CAQ3t8UjrF8Kw 5J8v7BbE7pp4pN9ig0XB6zHJbWC8OdrL+IG6V/Wox6TcBHxTLplXkNOw1A0SyJUBfCZg 5MULJdH3nAaBaznmtYJ/H7Ulan/BDmgFgTrrR/O6ER8r6/cJ0loY3SM2qVsHKCIUCq4f GQM55leaHQrm5th2YpBYmTFqFiO4YqTgzH2G74Ru0etR3f0WsZL8a755MgxWyg3DD4V0 kTrQ== 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:reply-to:message-id :subject:cc:to:from:date:dkim-signature; bh=wZg0kGQbzA1q4AVBwEpmWKwln8RWfeHxLgwGYvHtXZs=; b=mQSvdrdfgq++8+oL0O3nu8+frZWhyIfNOUaxM6CyGMtD+bSOlPnteFO14DrzLqD3Hj esUOWhGv1e4hzKPBNxmos3W1dGMFU/Hhv/kLfsP5YUM7f073q8h2BJlYNVWL2xKpf6AD ZVuVY+7s7HRQNwOxXwRgWXiJWUgltHWhAzUdoUFpBvbW0tvN25OTAccBtmw7M5GH3yz+ ZJx46k559GP4DHP8WqmAbjEKt9/lBNBZBDjMsxvZFC1/4Ymx1z3aFsG0VlSyHpdgLViH JokKE49b3WHp9Jkq/HojEMJU0Y3BgZ8VW4DCXB/ARQdf6RJT6KlDW/ymmRVuYkHs9WTb u4FQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="PQ/q34I6"; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v13-v6si22984709plo.182.2018.10.19.01.18.01; Fri, 19 Oct 2018 01:18:17 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b="PQ/q34I6"; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727241AbeJSQWd (ORCPT + 99 others); Fri, 19 Oct 2018 12:22:33 -0400 Received: from mail-ed1-f67.google.com ([209.85.208.67]:38991 "EHLO mail-ed1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726790AbeJSQWd (ORCPT ); Fri, 19 Oct 2018 12:22:33 -0400 Received: by mail-ed1-f67.google.com with SMTP id d15-v6so30642376edq.6 for ; Fri, 19 Oct 2018 01:17:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:reply-to:references:mime-version :content-disposition:in-reply-to:user-agent; bh=wZg0kGQbzA1q4AVBwEpmWKwln8RWfeHxLgwGYvHtXZs=; b=PQ/q34I6n4a3qcQ8ZoSaphkK3zEzvLtHE4xVAzZ8jlEYH2ysBndLw1q791AB0jzvYu CvmnC+ry9OH+XCrwz2tvbgCY4b2S1xt2pgMMiAdfwCezRF6WGS8kh04P2C9MyB0/VyJz A7MTzXjLtlZfwixHMqD9K4/U97hYq3ZQsKRWhwe1fiJS3C9xJ7oS2r7H8Gu1GT/w4dCd N+71IbjzK5stnWgkzr00Gof6muI1PYh6T9qFU9KocMAJN6jmLObIY1r5DsxYgFcfL8ST 0cZzfJjy/cHdYi8sxdAl7qreY/oo8qxdMmXJoly9udO7k2usnrDPQM4KhnUBfq7EqH34 QvIA== 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:reply-to :references:mime-version:content-disposition:in-reply-to:user-agent; bh=wZg0kGQbzA1q4AVBwEpmWKwln8RWfeHxLgwGYvHtXZs=; b=AYPlROpbBh222/qfYvLOEOJb79IhQcil8G1vQUB4yfjAbOWuk+x7bHtp5fPwdEFRxu Z2qqvN4G8hOHaIgdhHGJEAn+1zgmSspWXjKhHwdSW2j7vLO3MmWTPtQxM/gn5NFiRjQu W6FO9nScSiXRtHR/Hn82zbFyarYcTMrlv6tPuNpVEFm9G9WgLIUMvdSzRNi5rtTWTekp 6xZGZ65ihzxd7eW2EFZxQ6JJT1LLOTE5wPfn15IdhXzyQmxUYyj4IXz6Rqn/NFI6bYZs S8f1lj/l9Jeh1EKPjugM40GRwKx5jA2OGBQCvMfz2kDg/98PiNZX8S6aKnumqKex0hl2 PldA== X-Gm-Message-State: ABuFfojZQNIa2V9WVPUIBCqkAxrhicT0SngTB/orTpA+Z2bujbAgvnj6 G0bEJ/Bclyx+yMQIokZzbMM= X-Received: by 2002:a17:906:480e:: with SMTP id w14-v6mr30418468ejq.68.1539937051581; Fri, 19 Oct 2018 01:17:31 -0700 (PDT) Received: from localhost ([185.92.221.13]) by smtp.gmail.com with ESMTPSA id z7-v6sm4842072ejp.49.2018.10.19.01.17.30 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 19 Oct 2018 01:17:30 -0700 (PDT) Date: Fri, 19 Oct 2018 08:17:30 +0000 From: Wei Yang To: Mike Rapoport Cc: Andrew Morton , Alexander Duyck , Michal Hocko , linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] memblock: remove stale #else and the code it protects Message-ID: <20181019081729.klvckcytnhheaian@master> Reply-To: Wei Yang References: <1538067825-24835-1-git-send-email-rppt@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1538067825-24835-1-git-send-email-rppt@linux.vnet.ibm.com> User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Which tree it applies? On Thu, Sep 27, 2018 at 08:03:45PM +0300, Mike Rapoport wrote: >During removal of HAVE_MEMBLOCK definition, the #else clause of the > > #ifdef CONFIG_HAVE_MEMBLOCK > ... > #else > ... > #endif > >conditional was not removed. > >Remove it now. > >Signed-off-by: Mike Rapoport >Reported-by: Alexander Duyck >Cc: Michal Hocko >--- > include/linux/memblock.h | 5 ----- > 1 file changed, 5 deletions(-) > >diff --git a/include/linux/memblock.h b/include/linux/memblock.h >index d3bc270..d4d0e01 100644 >--- a/include/linux/memblock.h >+++ b/include/linux/memblock.h >@@ -597,11 +597,6 @@ static inline void early_memtest(phys_addr_t start, phys_addr_t end) > { > } > #endif >-#else >-static inline phys_addr_t memblock_alloc(phys_addr_t size, phys_addr_t align) >-{ >- return 0; >-} > > #endif /* __KERNEL__ */ > >-- >2.7.4 -- Wei Yang Help you, Help me