Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751303AbbGKRKs (ORCPT ); Sat, 11 Jul 2015 13:10:48 -0400 Received: from mail-ob0-f178.google.com ([209.85.214.178]:34256 "EHLO mail-ob0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751082AbbGKRKr (ORCPT ); Sat, 11 Jul 2015 13:10:47 -0400 MIME-Version: 1.0 In-Reply-To: <1436572138-16542-1-git-send-email-vivien.didelot@savoirfairelinux.com> References: <1436572138-16542-1-git-send-email-vivien.didelot@savoirfairelinux.com> From: Scott Feldman Date: Sat, 11 Jul 2015 10:10:27 -0700 Message-ID: Subject: Re: [PATCH] net: switchdev: don't abort unsupported operations 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: 655 Lines: 15 On Fri, Jul 10, 2015 at 4:48 PM, Vivien Didelot wrote: > There is no need to abort attribute setting or object addition, if the > prepare phase returned operation not supported. > > Thus, abort these two transactions only if the error is not -EOPNOTSUPP. > > Signed-off-by: Vivien Didelot 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/