diff --git a/net/ethtool/mm.c b/net/ethtool/mm.c index 7e51f7633001a9a74787c7e0ff92900c4b5e318c..e612856eed8ceebadad9ed9164bad9a8fc4665d2 100644 --- a/net/ethtool/mm.c +++ b/net/ethtool/mm.c @@ -56,7 +56,7 @@ static int mm_prepare_data(const struct ethnl_req_info *req_base, out_complete: ethnl_ops_complete(dev); - return 0; + return ret; } static int mm_reply_size(const struct ethnl_req_info *req_base,