Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932655AbbFWQgm (ORCPT ); Tue, 23 Jun 2015 12:36:42 -0400 Received: from mail-oi0-f43.google.com ([209.85.218.43]:34162 "EHLO mail-oi0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751055AbbFWQgd (ORCPT ); Tue, 23 Jun 2015 12:36:33 -0400 MIME-Version: 1.0 In-Reply-To: <1435069564-10241-1-git-send-email-vivien.didelot@savoirfairelinux.com> References: <1435069564-10241-1-git-send-email-vivien.didelot@savoirfairelinux.com> From: Scott Feldman Date: Tue, 23 Jun 2015 09:36:13 -0700 Message-ID: Subject: Re: [PATCH] net: switchdev: ignore unsupported bridge flags To: Vivien Didelot Cc: Netdev , Jiri Pirko , "David S. Miller" , "linux-kernel@vger.kernel.org" , kernel Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 764 Lines: 20 On Tue, Jun 23, 2015 at 7:26 AM, Vivien Didelot 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 Thanks for testing Vivien. Acked-by: Scott Feldman -- 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/