[lkml]   [2016]   [Jul]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] mlxsw: spectrum_router: Return -ENOENT in case of error
Thu, Jul 14, 2016 at 08:18:45AM CEST, wrote:
>'vr' should be a valid pointer here, so returning 'PTR_ERR(vr)' is wrong.
>Return an explicit error code (-ENOENT) instead.

This is fo net-next.

Fixes: 61c503f976 ("mlxsw: spectrum_router: Implement fib4 add/del switchdev obj ops")

>Signed-off-by: Christophe JAILLET <>

Acked-by: Jiri Pirko <>


 \ /
  Last update: 2016-07-14 09:01    [W:0.028 / U:7.240 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site