Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752174AbbGLEah (ORCPT ); Sun, 12 Jul 2015 00:30:37 -0400 Received: from shards.monkeyblade.net ([149.20.54.216]:60425 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750822AbbGLEaf (ORCPT ); Sun, 12 Jul 2015 00:30:35 -0400 Date: Sat, 11 Jul 2015 21:30:35 -0700 (PDT) Message-Id: <20150711.213035.143328784683068826.davem@davemloft.net> To: vivien.didelot@savoirfairelinux.com Cc: netdev@vger.kernel.org, sfeldma@gmail.com, jiri@resnulli.us, linux-kernel@vger.kernel.org, kernel@savoirfairelinux.com Subject: Re: [PATCH] net: switchdev: don't abort unsupported operations From: David Miller In-Reply-To: <1436572138-16542-1-git-send-email-vivien.didelot@savoirfairelinux.com> References: <1436572138-16542-1-git-send-email-vivien.didelot@savoirfairelinux.com> X-Mailer: Mew version 6.6 on Emacs 24.5 / 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]); Sat, 11 Jul 2015 21:30:35 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 635 Lines: 16 From: Vivien Didelot Date: Fri, 10 Jul 2015 19:48:58 -0400 > 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 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/