Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751817AbbFXHza (ORCPT ); Wed, 24 Jun 2015 03:55:30 -0400 Received: from shards.monkeyblade.net ([149.20.54.216]:38963 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750857AbbFXHzZ (ORCPT ); Wed, 24 Jun 2015 03:55:25 -0400 Date: Wed, 24 Jun 2015 01:07:15 -0700 (PDT) Message-Id: <20150624.010715.2049345812554724398.davem@davemloft.net> To: jiri@resnulli.us Cc: vivien.didelot@savoirfairelinux.com, netdev@vger.kernel.org, sfeldma@gmail.com, linux-kernel@vger.kernel.org, kernel@savoirfairelinux.com Subject: Re: [PATCH] net: switchdev: ignore unsupported bridge flags From: David Miller In-Reply-To: <20150623150920.GA2043@nanopsycho> References: <1435069564-10241-1-git-send-email-vivien.didelot@savoirfairelinux.com> <20150623150920.GA2043@nanopsycho> X-Mailer: Mew version 6.4 on Emacs 23.4 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Wed, 24 Jun 2015 00:55:24 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 897 Lines: 23 From: Jiri Pirko Date: Tue, 23 Jun 2015 17:09:20 +0200 > Tue, Jun 23, 2015 at 04:26:04PM CEST, vivien.didelot@savoirfairelinux.com wrote: >>switchdev_port_bridge_getlink() queries SWITCHDEV_ATTR_PORT_BRIDGE_FLAGS >>attributes, but a driver doesn't need to implement this in order to get >>bridge link information. >> >>So error out only on errors different than -EOPNOTSUPP. >> >>(This is a follow-up patch for 7d4f8d8.) >> >>Signed-off-by: Vivien Didelot > > Fixes: 8793d0a664a8 ("switchdev: add new switchdev_port_bridge_getlink") > Acked-by: Jiri Pirko Applied, thanks. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/