Received: by 2002:a4a:3008:0:0:0:0:0 with SMTP id q8-v6csp3641419oof; Mon, 10 Sep 2018 18:37:26 -0700 (PDT) X-Google-Smtp-Source: ANB0VdbFYoNYrENCuJ0ss/xMkqMlvP90bdwUqO33szDbxZBQTaJ2DuyNOV05yM2cF42fYXLTbHDg X-Received: by 2002:a63:4306:: with SMTP id q6-v6mr25951479pga.181.1536629846429; Mon, 10 Sep 2018 18:37:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536629846; cv=none; d=google.com; s=arc-20160816; b=Tj+6eVGCWK64nWzHoCUlFbEdIKTM6F9SmyvEKSchxVro7KmM/nEiOshAJ2dNMoXXaV HRVf/i7E6ftPUR1C+70C/LxGXo2TJlwaps3wOErSe53wPE3fV3IDsBHx76o1yof7LMtB d2NM2M98vUvFCTd+YTpkSmGTAYPCgFe6y7HaqMO6aP4zv6SNk8ccFFmsIBD03qg4M/Ec hwGWMLNsgWM2UbvWQIzVxI0yArWXW3JXYiE0H5FYgMYkJQc2GBN8T5TGaN1yPIBADluz mZYOrRL1/PHXQDqxG7A1FJoHClDF7CO/13Xffh1hNQUtsOkB1IQ1MY1BYN7kHPa/pMv1 b2/A== 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; bh=kjT1Wr3xQOo2r/iCRhRKu5vhcsAhdeeMDKBWhBlpQQ0=; b=LAplbXXw21NuDo4Kd+NbY6j7pMXwN8HE/uU7On6G8/WB7XK3SFstGmxswwBvwUuMuF YrViqk8lppAitdpq4kjWxjhYRb7OP4xWeLLlMDtWuZexlXz9akPs3xVvC+q8LEjSYBZy rmIivaEWLTzYf0s1ucyGgBWmT9SzIGImfjL4lbPzjvSWq9ThdqzhqHHqCIVCs7xSI8Sp s2nEDTxIBk72W6aE67d4A3J6gzeaHyawl1u1or7egf7wJ4Oc/jaJeHuGC945Wl41qmoK BE6r6VIqxVIfLLKf+ydWQxDVPSYODKxoU5SUTmlnCW4J/G+5Me6Sk6s6pFV/lVn8IpSA dzOA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@wdc.com header.s=dkim.wdc.com header.b=Qm0Ay2nD; 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=wdc.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x188-v6si19006121pfx.19.2018.09.10.18.37.11; Mon, 10 Sep 2018 18:37:26 -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=fail header.i=@wdc.com header.s=dkim.wdc.com header.b=Qm0Ay2nD; 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=wdc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726622AbeIKGdk (ORCPT + 99 others); Tue, 11 Sep 2018 02:33:40 -0400 Received: from esa2.hgst.iphmx.com ([68.232.143.124]:28871 "EHLO esa2.hgst.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726360AbeIKGdk (ORCPT ); Tue, 11 Sep 2018 02:33:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=wdc.com; i=@wdc.com; q=dns/txt; s=dkim.wdc.com; t=1536629844; x=1568165844; h=subject:to:cc:references:from:message-id:date: mime-version:in-reply-to:content-transfer-encoding; bh=NC0Oy3jaT/HJuCJGrkjXSBksiKsBn+8YRgsIxoBwnDw=; b=Qm0Ay2nDRC0/W4VtYrEZi5IrvZoPpoTAnQL9tuOWptG4SDrjrBErXdYE yVa7aKgQyPIxQ8TCLCL+NN+BcEyiSgXcm7EFzoZxWpL+H7NDw+cy5+vP1 DQJmPjL11iha3gyG2nowPe1KfVyXn9s0zW50VNQY6tR1Gb/E97zdglSi3 MoKHCPaDBl2Wv5Pt7UdmKFrukvmUiNspTiWF0zO2SR+NjNveV6gAsBQMV yZP6dPBVpZslpIOMkDWbUierfKJgD3VL9RVQUFVGv+w0/aBz1wgVzvvLx zqvaQLg8BlLMMM+5RHF9GJInUx05Z/vAXVR9duzfeTJ6ZdcTA00Jz8PR/ g==; X-IronPort-AV: E=Sophos;i="5.53,358,1531756800"; d="scan'208";a="187006441" Received: from uls-op-cesaip01.wdc.com (HELO uls-op-cesaep01.wdc.com) ([199.255.45.14]) by ob1.hgst.iphmx.com with ESMTP; 11 Sep 2018 09:37:23 +0800 Received: from uls-op-cesaip02.wdc.com ([10.248.3.37]) by uls-op-cesaep01.wdc.com with ESMTP; 10 Sep 2018 18:23:28 -0700 Received: from c02v91rdhtd5.sdcorp.global.sandisk.com (HELO [10.196.159.148]) ([10.196.159.148]) by uls-op-cesaip02.wdc.com with ESMTP; 10 Sep 2018 18:36:53 -0700 Subject: Re: [PATCH v3 06/12] RISC-V: Rename riscv_of_processor_hart to riscv_of_processor_hartid To: Christoph Hellwig Cc: "palmer@sifive.com" , "linux-riscv@lists.infradead.org" , "anup@brainfault.org" , "mark.rutland@arm.com" , Damien Le Moal , "jason@lakedaemon.net" , "ard.biesheuvel@linaro.org" , "marc.zyngier@arm.com" , "gregkh@linuxfoundation.org" , "dmitriy@oss-tech.org" , "linux-kernel@vger.kernel.org" , "jeremy.linton@arm.com" , "catalin.marinas@arm.com" , "tglx@linutronix.de" References: <1536221135-182613-1-git-send-email-atish.patra@wdc.com> <1536221135-182613-7-git-send-email-atish.patra@wdc.com> <20180910112548.GF12979@infradead.org> From: Atish Patra Message-ID: <6acd4eec-bdfb-cfc8-6dca-782eb9ec01b0@wdc.com> Date: Mon, 10 Sep 2018 18:36:52 -0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <20180910112548.GF12979@infradead.org> 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 9/10/18 4:26 AM, Christoph Hellwig wrote: > On Thu, Sep 06, 2018 at 01:05:29AM -0700, Atish Patra wrote: >> From: Palmer Dabbelt >> >> It's a bit confusing exactly what this function does: it actually >> returns the hartid of an OF processor node, failing with -1 on invalid >> nodes. I've changed the name to _hartid() in order to make that a bit >> more clear, as well as adding a comment. >> >> Signed-off-by: Palmer Dabbelt > > Looks generally good, but it is going to conflict with the dt iterators > series from Rob. Given that this is just a little cleanup it might be > worth deferring until the next merge window. > Sure. np. I guess the entire series can be parked in for-next until the next merge window opens. Regards, Atish > Otherwise looks good: > > Reviewed-by: Christoph Hellwig >