From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jiri Pirko Subject: Re: [iproute PATCH] devlink: Fix error reporting in cmd_resource_set() Date: Thu, 18 Oct 2018 14:56:43 +0200 Message-ID: <20181018125643.GD4558@nanopsycho.orion> References: <20181018112823.5220-1-phil@nwl.cc> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Stephen Hemminger , netdev@vger.kernel.org To: Phil Sutter Return-path: Received: from mail-wm1-f68.google.com ([209.85.128.68]:38185 "EHLO mail-wm1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726758AbeJRVDS (ORCPT ); Thu, 18 Oct 2018 17:03:18 -0400 Received: by mail-wm1-f68.google.com with SMTP id 193-v6so190262wme.3 for ; Thu, 18 Oct 2018 06:02:22 -0700 (PDT) Content-Disposition: inline In-Reply-To: <20181018112823.5220-1-phil@nwl.cc> Sender: netdev-owner@vger.kernel.org List-ID: Thu, Oct 18, 2018 at 01:28:23PM CEST, phil@nwl.cc wrote: >resource_path_parse() returns either zero or a negative error code, >hence the negated value must be passed to strerror(). > >Fixes: 8cd644095842a ("devlink: Add support for devlink resource abstraction") >Signed-off-by: Phil Sutter Acked-by: Jiri Pirko