From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754525AbdKCXPT (ORCPT ); Fri, 3 Nov 2017 19:15:19 -0400 Received: from mail-qt0-f196.google.com ([209.85.216.196]:49534 "EHLO mail-qt0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751805AbdKCXPR (ORCPT ); Fri, 3 Nov 2017 19:15:17 -0400 X-Google-Smtp-Source: ABhQp+TSib4PhyCIPQaxzEHNISFpAeljOnnQcs4ehto5Vg0FvPdeu6cvabGKatz+HEPLs9PxzpBZiA== Subject: Re: [PATCH net-next 02/11] net: dsa: make tree index unsigned To: Vivien Didelot , netdev@vger.kernel.org Cc: linux-kernel@vger.kernel.org, kernel@savoirfairelinux.com, "David S. Miller" , Andrew Lunn References: <20171103230530.996-1-vivien.didelot@savoirfairelinux.com> <20171103230530.996-3-vivien.didelot@savoirfairelinux.com> From: Florian Fainelli Message-ID: Date: Fri, 3 Nov 2017 16:15:09 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: <20171103230530.996-3-vivien.didelot@savoirfairelinux.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11/03/2017 04:05 PM, Vivien Didelot wrote: > Similarly to a DSA switch and port, rename the tree index from "tree" to > "index" and make it an unsigned int because it isn't supposed to be less > than 0. > > u32 is an OF specific data used to retrieve the value and has no need to > be propagated up to the tree index. > > Signed-off-by: Vivien Didelot Reviewed-by: Florian Fainelli -- Florian