From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933071AbdKAMPQ (ORCPT ); Wed, 1 Nov 2017 08:15:16 -0400 Received: from mail2.tiolive.com ([94.23.229.207]:33278 "EHLO mail2.tiolive.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932679AbdKAMPO (ORCPT ); Wed, 1 Nov 2017 08:15:14 -0400 Date: Wed, 1 Nov 2017 15:15:07 +0300 From: Kirill Smelkov To: Francois Romieu Cc: Stephen Rothwell , David Miller , Networking , Linux-Next Mailing List , Linux Kernel Mailing List , Eric Dumazet Subject: Re: linux-next: Signed-off-by missing for commit in the net-next tree Message-ID: <20171101121507.vzyklrtx6buwy7z6@deco.navytux.spb.ru> References: <20171031164019.164de3db@canb.auug.org.au> <20171031061429.mtq4tc5kwla7lvwv@deco.navytux.spb.ru> <20171101105524.GA23073@electric-eye.fr.zoreil.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20171101105524.GA23073@electric-eye.fr.zoreil.com> User-Agent: NeoMutt/20170609 (1.8.3) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Francois, On Wed, Nov 01, 2017 at 11:55:24AM +0100, Francois Romieu wrote: > Kirill Smelkov : > [...] > > I was keeping you in To and Cc all the time but got no reply at all since my > > first posting from ~ 1 month ago. > > I thought it was longer than that. Sorry for the frustrating excess delay. > > As Eric already said there is no problem and I am perfectly fine with > the current attribution of this code. Thanks for feedback. > Use of errno.h::ELNRNG is really unusual but it's a different topic. I wanted the error returned due to internal inconsistency to be different from the error returned when there is error in provided parameters from ethtool. Your original patch was returning EINVAL for both cases which made it hard to understand what is going on when the kernel was refusing to accept something from user. That's why I used ELNRNG (link number out of range) for situation when lookup of timings vector by current link speed failed. A bit unusual, yes, but this was the closest to the situation after studying `errno -l` output. Hope this clarifies a bit. Please feel free to suggest a change here, Kirill