Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp3698607ybg; Sun, 20 Oct 2019 19:50:51 -0700 (PDT) X-Google-Smtp-Source: APXvYqy1WL/6go4UVcpe7u3W3OwkQRMDiFA9u6SVidX2J9Em64KitvjPQoL95ST1ohogbjJE1mbA X-Received: by 2002:a17:906:160f:: with SMTP id m15mr19289917ejd.217.1571626251255; Sun, 20 Oct 2019 19:50:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571626251; cv=none; d=google.com; s=arc-20160816; b=d3sOvGD4zRaqMnA4brgMgq/66o7+Z9V29Y3SGwGzsCuggKaVBweKT5lUyz3g87T5nb j/CglyuPiHTN15ZmQQEd2R38T/N6Yiae+wZW6xBj/ZGh6VcAzuVWgx/3D9mlMd5ACXyh eH9iVP/U+HNnmXwvfsNQ6TgD5xKPUHI3G40ESOvElYyyIbL3XWwM91wA3CC5Bel0fRPR 4Qz9TNPPmzBpGAm9AvnoAoZvGxkr3kXnb0f9HYuOXOeZQmvjwFx6EODrcJiIRKXO+ijl +ULPFkyvBGh0LPttRu26gTSLwRdwRY3Qxjr8lkWBLznBi9+SwAnA8HD5vCoJiHeALfj3 yRiw== 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=NI2Xsv37vOUaBUcaG6wCqKoYrGVf8BqjdA3KlM+wbbE=; b=RdWdDAyKjoB2xjy8Pa2Rhlx2+Ei+TI4DfcQiSVQwwYJ3dH/S4pUHpyvSyQANqoYQKq 9ZdgdSso5sjakOwhEotVogFaPD2HdQA7lJZBZZoqvUTYUa3DbjgHup7YXzOGee5zv350 zUyAtc/WOKTtLp7D044DVvqhge17dSXKgrKyd704/9NpRd4hQJ0U0pJu2WKznnOGCM8D gXh//Hb6iIM+TG39AtvwFUObSoHmvLDe3rYFkIDjLSYADE/gs+Bp+dRQPiv0SkTmFI4K 3sWzpmYK+HaGMXE2Ki7j/5WR624Bh+n7MyQ116DGKnhMspngUW05voYcUKcg2mDzPQSR ONlA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=HfBEFd+K; 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 w13si8690656edx.361.2019.10.20.19.50.27; Sun, 20 Oct 2019 19:50:51 -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=HfBEFd+K; 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 S1727050AbfJUCst (ORCPT + 99 others); Sun, 20 Oct 2019 22:48:49 -0400 Received: from mail-pf1-f196.google.com ([209.85.210.196]:33106 "EHLO mail-pf1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726764AbfJUCst (ORCPT ); Sun, 20 Oct 2019 22:48:49 -0400 Received: by mail-pf1-f196.google.com with SMTP id q10so7466415pfl.0; Sun, 20 Oct 2019 19:48:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=NI2Xsv37vOUaBUcaG6wCqKoYrGVf8BqjdA3KlM+wbbE=; b=HfBEFd+KoCv7cBN56dfksSEEtNzLuuuY9JAeMEn7vbxZ0bDS7T2Jlg/2GRplwgzNZw rbnFu9iunv59cw6eA1IRhBp/h+TVsoxOF1x+DkloM+Ycd4QvgQFwf0aYn4v61kqKQCp4 +fCGg+q/dwOKcqo6vWf+s0pNkR9UIOmrJ/6drasKzM8PXjM095OzFOB5uEfg0EFrmekC qFm6DEM894hhYIYCwRZPvhi+STT4rShW3uPek0lh40HPVivyZSDZ+Yel1UnoA4FjLOi0 gyFMS6N+ptDTHUUJ7OXszdFnrD+fca/Lu0rPYAvHKiLIdLA6kp+lxwjJcI7UXHdC4VJI WRHg== 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=NI2Xsv37vOUaBUcaG6wCqKoYrGVf8BqjdA3KlM+wbbE=; b=jU0nhkJr+FEge0EUFTyW1y399hmp+BFlDnf3nGWeUuK54ugc0VJyL+/PVrpRuvMai1 UUm3GZwmZhUHUtmYbJTE/9Q20oLnTqPkYn3rrteuoDYRPjS+HWqNSBUsM3d75b0adPvG 4JlCLX0F3tWrJnzpT7tlwg79iWQGMUIeeeS6l2HU58fPpLo1vaLTS1MjUWdtKVPyEUVm mjruaD0w+ewp7AmMPdME/2CnaBOvtxSwSAUmMG74anKN8SOohDuEjEE+tBLasGK0PAYA uutbx4AIF1ygd6gh21e6RICzwawwfcrnAzPBau5sXUAkfjhHOZyKgLxAP3AYto+AEk0t 6mZQ== X-Gm-Message-State: APjAAAUGFsVTbrQ4sYoiKz1+jqMGptZcVg3JJ7EYxqVx6fPru4mmv2rk Azgb8M8pF2vZ3zrKlvprbcAL+tBH X-Received: by 2002:a65:67c8:: with SMTP id b8mr23074092pgs.121.1571626128410; Sun, 20 Oct 2019 19:48:48 -0700 (PDT) Received: from [192.168.1.3] (ip68-111-84-250.oc.oc.cox.net. [68.111.84.250]) by smtp.gmail.com with ESMTPSA id bb15sm12479648pjb.2.2019.10.20.19.48.47 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 20 Oct 2019 19:48:47 -0700 (PDT) Subject: Re: [PATCH net-next 11/16] net: dsa: mv88e6xxx: silently skip PVT ops To: Vivien Didelot , "David S. Miller" Cc: linux-kernel@vger.kernel.org, Andrew Lunn , netdev@vger.kernel.org References: <20191020031941.3805884-1-vivien.didelot@gmail.com> <20191020031941.3805884-12-vivien.didelot@gmail.com> From: Florian Fainelli Message-ID: <6305a191-0314-f37a-baf3-13e9fae63c88@gmail.com> Date: Sun, 20 Oct 2019 19:48:47 -0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.1.2 MIME-Version: 1.0 In-Reply-To: <20191020031941.3805884-12-vivien.didelot@gmail.com> Content-Type: text/plain; charset=utf-8 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 10/19/2019 8:19 PM, Vivien Didelot wrote: > Since mv88e6xxx_pvt_map is a static helper, no need to return > -EOPNOTSUPP if the chip has no PVT, simply silently skip the operation. > > Signed-off-by: Vivien Didelot Reviewed-by: Florian Fainelli -- Florian