Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757254AbcCURP6 (ORCPT ); Mon, 21 Mar 2016 13:15:58 -0400 Received: from mail-pf0-f195.google.com ([209.85.192.195]:34550 "EHLO mail-pf0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752150AbcCURPx (ORCPT ); Mon, 21 Mar 2016 13:15:53 -0400 From: David Decotigny To: "David S. Miller" , linux-kernel@vger.kernel.org, netdev@vger.kernel.org Cc: Nikolay Aleksandrov , "Michael S. Tsirkin" , Ben Hutchings , Jeff Kirsher , David Decotigny , Nicolas Dichtel , Andrew Lunn , Hadar Hen Zion , Edward Cree , John Fastabend , Herbert Xu , Thomas Graf , Daniel Borkmann , Ken-ichirou MATSUZAWA , Florian Westphal , David Herrmann Subject: [PATCH net-next v2 1/2] ethtool: minor doc update Date: Mon, 21 Mar 2016 10:15:34 -0700 Message-Id: <1458580535-112916-2-git-send-email-ddecotig@gmail.com> X-Mailer: git-send-email 2.8.0.rc3.226.g39d4020 In-Reply-To: <1458580535-112916-1-git-send-email-ddecotig@gmail.com> References: <1458580535-112916-1-git-send-email-ddecotig@gmail.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1320 Lines: 29 From: David Decotigny Updates: commit 793cf87de9d1 ("ethtool: Set cmd field in ETHTOOL_GLINKSETTINGS response to wrong nwords") Signed-off-by: David Decotigny --- include/uapi/linux/ethtool.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/uapi/linux/ethtool.h b/include/uapi/linux/ethtool.h index 2835b07..9222db8 100644 --- a/include/uapi/linux/ethtool.h +++ b/include/uapi/linux/ethtool.h @@ -1648,9 +1648,9 @@ enum ethtool_reset_flags { * %ETHTOOL_GLINKSETTINGS: on entry, number of words passed by user * (>= 0); on return, if handshake in progress, negative if * request size unsupported by kernel: absolute value indicates - * kernel recommended size and cmd field is 0, as well as all the - * other fields; otherwise (handshake completed), strictly - * positive to indicate size used by kernel and cmd field is + * kernel expected size and all the other fields but cmd + * are 0; otherwise (handshake completed), strictly positive + * to indicate size used by kernel and cmd field stays * %ETHTOOL_GLINKSETTINGS, all other fields populated by driver. For * %ETHTOOL_SLINKSETTINGS: must be valid on entry, ie. a positive * value returned previously by %ETHTOOL_GLINKSETTINGS, otherwise -- 2.8.0.rc3.226.g39d4020