Re: [iproute PATCH] devlink: Fix error reporting in cmd_resource_set()

2018-10-18 Thread Jiri Pirko
Thu, Oct 18, 2018 at 01:28:23PM CEST, p...@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-

[iproute PATCH] devlink: Fix error reporting in cmd_resource_set()

2018-10-18 Thread Phil Sutter
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 --- devlink/devlink.c | 2 +- 1 file changed, 1 insertion(+), 1 dele