Received: by 10.213.65.68 with SMTP id h4csp1338304imn; Thu, 29 Mar 2018 02:54:22 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/AkbhwgPwSlx0nNhE5f4ZpuTXtrE5ZlnNDt03G97CpEeY9yEOOPoP40u5flDKJ39I+MT9v X-Received: by 2002:a17:902:8492:: with SMTP id c18-v6mr7553484plo.40.1522317262051; Thu, 29 Mar 2018 02:54:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522317262; cv=none; d=google.com; s=arc-20160816; b=IoNdXD1qYNh2y08j+JmVOQB8+/lA0ZdjKiI8aWCeg61mcyPaXO3CNBP6tC5Eg6n3fG tNkk1YcsKwZ+fqze8Tval6shPV0GDe0ZuegpVKiu6dzlg7gBj7WMIDsGMo9XSsTJJWkB Kqb75LaqeA1fsnJYOFHUJDABeIAl6w4//OPSsirHBWRZ+7r5ObU/6Bc1DHdIXwq5V0qJ THWQsjW7ddMEb7hzEs05+mberMN51Bh7J6EB/gnb/NuheS4Lurc9eSXJLy3y651oNx6R qoyX0rT6v6rkLzwUwCOIiuGITVCjUW3KRidaaKpNIsZ5vuL3VkXHYMvbid3CvOPWG3+G 4YnA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature :arc-authentication-results; bh=W81b8FQVM65nJBedBvM9VwxWwXsy5acAIES/RTZdpfQ=; b=vp4WyAtD3I1Ji00FesVcuX3JVwaiYu5fMBE/4lDq5kfOlRrEg+EwUEmmoAmNY/bFRY uaTELzYPQgEUlEqE/fosDJ3qYijphxRfWLaWQptCu5sqCLn+GY3lcrraMR5jgBJNuSfu nRGX37VM5UaRaQaeEb/rcJSZxPCvBMc62GHNe0Rxw0wF2jf7XRslv4dCohVrgORNcMxr dZDzuTt/BVddyeQeKGDGJTBrbFADLd9mPO4Yyi6kxBdxHghfyV5EByLCwZfIZxYjrllb 6vHC5sCNii6dlfrRG5Y5M2uXkANtje8GzPr5xJcuA391RsHLkZJ3qzjMBwkCBhC8bciS 4+hQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Md6gFkzC; 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=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b3-v6si5532074pla.505.2018.03.29.02.54.07; Thu, 29 Mar 2018 02:54:22 -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=@linaro.org header.s=google header.b=Md6gFkzC; 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=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752594AbeC2Jwx (ORCPT + 99 others); Thu, 29 Mar 2018 05:52:53 -0400 Received: from mail-wm0-f66.google.com ([74.125.82.66]:38448 "EHLO mail-wm0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752286AbeC2Jwv (ORCPT ); Thu, 29 Mar 2018 05:52:51 -0400 Received: by mail-wm0-f66.google.com with SMTP id l16so10464367wmh.3 for ; Thu, 29 Mar 2018 02:52:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=W81b8FQVM65nJBedBvM9VwxWwXsy5acAIES/RTZdpfQ=; b=Md6gFkzCmK2TpGAgyyIWxOXuauk8DtVGQor6JNzj3xWKF331iVjfs6JBhxeFqoxf2i EER24sB11COEnOndi6f/RxA5eKFlzimqv/Gw5Lr/dJvJLmlgpO1hrhTrVYKrsQy4iEbQ rjakTDNqQgALaJYR3B/ct3//L/JZ8t5zk0/ak= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=W81b8FQVM65nJBedBvM9VwxWwXsy5acAIES/RTZdpfQ=; b=fIEHmdQQa7yblL2dNka1PGCu/hvAic6BPV0LpG+6U10xBhCWoPXMtOGcDtvv1Q2FCg pteH8fY7Zwy5k0mxkb96Fg8Qbwzi1dxktF0ymYahrhxYP/IDe+Pz1jpfJTUkhH8Qxann LvmSC7YOyU9SJKL0LPp/jSwEYIkYAyDItlQPFVjk/7+wQQsJnwulWHTtZvddHBjxkIyb HkNZ1/JkWfY7GLSdm5nM5JA1OR1w6lgkc6Lo7ANAmRTfj4hrNdpsjArKTKGIbsJqcHG3 853HHWiLp7mWZUnHuboz9EvYnfpuvF5xxaK1KNN6oUCMWhLL6PmI3UTExcN4vbDd1eaj Y08g== X-Gm-Message-State: AElRT7F0+VSFVTrdRCUSECsptwAfnXRoW68tFPw7fpZL9c/Ki/slaVNJ hLYqIVon/rRES0HmLwyZTUl/iQ== X-Received: by 10.80.151.110 with SMTP id d43mr6847938edb.174.1522317170770; Thu, 29 Mar 2018 02:52:50 -0700 (PDT) Received: from holly.lan (cpc141214-aztw34-2-0-cust773.18-1.cable.virginm.net. [86.9.19.6]) by smtp.googlemail.com with ESMTPSA id t19sm3724080edd.56.2018.03.29.02.52.49 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 29 Mar 2018 02:52:49 -0700 (PDT) Subject: Re: [PATCH v4 02/16] riscv: Use generic free_initrd_mem. To: Shea Levy , linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Palmer Dabbelt , Albert Ou References: <20180328152714.6103-1-shea@shealevy.com> <20180328203659.18692-1-shea@shealevy.com> <20180328203659.18692-3-shea@shealevy.com> From: Daniel Thompson Message-ID: <7fa4f27c-d421-38cd-aa16-445b364ed9eb@linaro.org> Date: Thu, 29 Mar 2018 10:52:48 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <20180328203659.18692-3-shea@shealevy.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 28/03/18 21:36, Shea Levy wrote: > Signed-off-by: Shea Levy > --- > arch/riscv/mm/init.c | 6 ------ > 1 file changed, 6 deletions(-) > > diff --git a/arch/riscv/mm/init.c b/arch/riscv/mm/init.c > index c77df8142be2..36f83fe8a726 100644 > --- a/arch/riscv/mm/init.c > +++ b/arch/riscv/mm/init.c > @@ -62,9 +62,3 @@ void free_initmem(void) > { > free_initmem_default(0); > } > - > -#ifdef CONFIG_BLK_DEV_INITRD > -void free_initrd_mem(unsigned long start, unsigned long end) > -{ > -} > -#endif /* CONFIG_BLK_DEV_INITRD */ This looks like a change of behavior since the weakly defined code does not implement a nop. I'm not saying the change is wrong, but if this is a deliberate bug fix then we need more than an empty commit message to explain what is happening here. Daniel.