Received: by 2002:ac0:aa62:0:0:0:0:0 with SMTP id w31-v6csp933239ima; Sun, 21 Oct 2018 00:31:31 -0700 (PDT) X-Google-Smtp-Source: ACcGV61h+JM2uL1cQq7RKnhCtOBkK78FYczxvb1ZacWTivxevKuUz2LfEaaoD34DaViw2honaeUI X-Received: by 2002:a63:ee13:: with SMTP id e19-v6mr37398960pgi.8.1540107090950; Sun, 21 Oct 2018 00:31:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540107090; cv=none; d=google.com; s=arc-20160816; b=jyAW5kj/3D2paSncLKE3vR1Crp9hYRqYhaAWcO3kXadHWL0fn71qXGqw6tkX+z6W8v v4vxLyKF+fo7fvT3XsSNIntGM6kj/FbwKmgA7VL0kIkF4OQ8FVHOTMW7CdyPOaV4rsS1 2nrOISzBKj1ARlyM68AAfTd+gGGl57Pfa+1MMBUN1ghxc1cL9B7wwWlz/YtjEkSoTKZG Wu5c4AoGxbodhiprUP75HudchzOfRbq4xv5lvfZwOw6BJgVGYh70mG+LHiKmFdyS9vlL j9AP8slJU0FJnAO5EsrtYO4V8m8BLHCLsHrrt6BcEM8vAJEZUFGhht2PxJKQIoKhbNS2 T2rg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:from:cc:to:subject :content-transfer-encoding:mime-version:references:in-reply-to :user-agent:date; bh=hhO+rsN0uSL5HElvMvFK5h1pXqhne+MH3kVCzLdBrLI=; b=Pfoh5+geMwC20aGO8k1kBSQTsz8TnuDq2jdEedH2HJWRUsxprfznek1RF8vDskn0ju mx0XiJXahumcr+Ynos+/DbxIdzE0QI1XPKn/4oTpjxnI6UPfPS0s/UfoPipAIvT5+SNw JS65UL8XIJ82KyWMutoW/RDnQ/zMumRNWveJBJ++w69Vl7ekvnnvtNRx0EcHaUK/hGj1 Q0zj/EGQfEO4psNthOnaYRhc9psGLNfbvCPkXHLtHFs/v1nusp6ObNql1s2mEMomOvON 0HXARutFU+lOUp8qfUk9ODlIqRAZ72tKGdFCVn7isFNkdHx021DXuUl4RoD09sLhcrpT D0pA== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x33-v6si28852013pga.246.2018.10.21.00.31.00; Sun, 21 Oct 2018 00:31:30 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727156AbeJUPnt convert rfc822-to-8bit (ORCPT + 99 others); Sun, 21 Oct 2018 11:43:49 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:47564 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727086AbeJUPnt (ORCPT ); Sun, 21 Oct 2018 11:43:49 -0400 Received: from pps.filterd (m0098414.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w9L7TKsE043542 for ; Sun, 21 Oct 2018 03:30:24 -0400 Received: from e06smtp04.uk.ibm.com (e06smtp04.uk.ibm.com [195.75.94.100]) by mx0b-001b2d01.pphosted.com with ESMTP id 2n8htxd95r-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Sun, 21 Oct 2018 03:30:23 -0400 Received: from localhost by e06smtp04.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Sun, 21 Oct 2018 08:30:22 +0100 Received: from b06cxnps3075.portsmouth.uk.ibm.com (9.149.109.195) by e06smtp04.uk.ibm.com (192.168.101.134) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Sun, 21 Oct 2018 08:30:20 +0100 Received: from d06av26.portsmouth.uk.ibm.com (d06av26.portsmouth.uk.ibm.com [9.149.105.62]) by b06cxnps3075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id w9L7UJco22675498 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Sun, 21 Oct 2018 07:30:19 GMT Received: from d06av26.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 2B1DEAE057; Sun, 21 Oct 2018 07:30:19 +0000 (GMT) Received: from d06av26.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id DAA15AE04D; Sun, 21 Oct 2018 07:30:18 +0000 (GMT) Received: from [9.148.206.95] (unknown [9.148.206.95]) by d06av26.portsmouth.uk.ibm.com (Postfix) with ESMTP; Sun, 21 Oct 2018 07:30:18 +0000 (GMT) Date: Sun, 21 Oct 2018 10:30:16 +0300 User-Agent: K-9 Mail for Android In-Reply-To: <20181019081729.klvckcytnhheaian@master> References: <1538067825-24835-1-git-send-email-rppt@linux.vnet.ibm.com> <20181019081729.klvckcytnhheaian@master> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8BIT Subject: Re: [PATCH] memblock: remove stale #else and the code it protects To: Wei Yang , Mike Rapoport CC: Andrew Morton , Alexander Duyck , Michal Hocko , linux-mm@kvack.org, linux-kernel@vger.kernel.org From: Mike Rapoport X-TM-AS-GCONF: 00 x-cbid: 18102107-0016-0000-0000-000002164C98 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18102107-0017-0000-0000-0000326DFED1 Message-Id: <6EEAA7EC-75B7-4899-A562-35A58FC037E6@linux.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2018-10-20_08:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=978 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1807170000 definitions=main-1810210071 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On October 19, 2018 11:17:30 AM GMT+03:00, Wei Yang wrote: >Which tree it applies? To mmotm of the end of September. >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 -- Sent from my Android device with K-9 Mail. Please excuse my brevity.