Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753671AbbGKJzz (ORCPT ); Sat, 11 Jul 2015 05:55:55 -0400 Received: from mail-wi0-f174.google.com ([209.85.212.174]:34429 "EHLO mail-wi0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753374AbbGKJzy (ORCPT ); Sat, 11 Jul 2015 05:55:54 -0400 Date: Sat, 11 Jul 2015 11:55:51 +0200 From: Jiri Pirko To: Vivien Didelot Cc: netdev@vger.kernel.org, Scott Feldman , "David S. Miller" , linux-kernel@vger.kernel.org, kernel@savoirfairelinux.com Subject: Re: [PATCH] net: switchdev: don't abort unsupported operations Message-ID: <20150711095551.GA2059@nanopsycho.orion> References: <1436572138-16542-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: <1436572138-16542-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: 655 Lines: 16 Sat, Jul 11, 2015 at 01:48:58AM CEST, vivien.didelot@savoirfairelinux.com 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 Sounds reasonable. 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/