Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933334AbbFWPJ0 (ORCPT ); Tue, 23 Jun 2015 11:09:26 -0400 Received: from mail-wi0-f182.google.com ([209.85.212.182]:33298 "EHLO mail-wi0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753848AbbFWPJX (ORCPT ); Tue, 23 Jun 2015 11:09:23 -0400 Date: Tue, 23 Jun 2015 17:09:20 +0200 From: Jiri Pirko To: Vivien Didelot Cc: netdev@vger.kernel.org, sfeldma@gmail.com, "David S. Miller" , linux-kernel@vger.kernel.org, kernel@savoirfairelinux.com Subject: Re: [PATCH] net: switchdev: ignore unsupported bridge flags Message-ID: <20150623150920.GA2043@nanopsycho> References: <1435069564-10241-1-git-send-email-vivien.didelot@savoirfairelinux.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1435069564-10241-1-git-send-email-vivien.didelot@savoirfairelinux.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 787 Lines: 18 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 -- 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/