From patchwork Wed Jun 14 07:15:24 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 775625 X-Patchwork-Delegate: davem@davemloft.net Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 3wndLC1lwvz9s7t for ; Wed, 14 Jun 2017 17:19:31 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="ieOPXcaq"; dkim-atps=neutral Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754366AbdFNHTR (ORCPT ); Wed, 14 Jun 2017 03:19:17 -0400 Received: from mail-pf0-f182.google.com ([209.85.192.182]:34698 "EHLO mail-pf0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751971AbdFNHTP (ORCPT ); Wed, 14 Jun 2017 03:19:15 -0400 Received: by mail-pf0-f182.google.com with SMTP id s66so11824927pfs.1; Wed, 14 Jun 2017 00:19:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:date:message-id:subject; bh=g7c0gN/bD/Qd9V2b5KM705tCCxe49h/arSrUefgE9OU=; b=ieOPXcaqMmvuv+W1ViAnMGpiLEME74nR/+piRaUXQeIttUtTr17vM0ex/GAsBX9PmY SVxi/Qzpo7ur5JvQiBkbPA4c7eQ4Sfdm2nE4f7yKsmP9TyusPVgTCdplj5/km9pN603r 8z9pAbF/KUVkZPNRnAAe0IYoCTXWJawUkSeek82FDrdPIi/BV3uTW/YA3N8FW0nokkJq W3YI5WWGCLtYjz0Tb0goZECD46MnXJUZ6OJFrMc+aFZ3Be/AhE/bjxDAV1QHhQiX/04b /Iv/BK7uOYgsbtutQYqu9/70vNZVwImAL5I8+EA0zdrqKSSKCii/nfgSymldeIAEegOS vKxw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:date:message-id:subject; bh=g7c0gN/bD/Qd9V2b5KM705tCCxe49h/arSrUefgE9OU=; b=o9wsP7MF0f5fM7YLB7f/mG3obasIY9Jm/a8HIQkhcxc9k5SGGw7znByIqi9lrsIXrQ Wf5JzJ8x5Cx03UeGcD3pVSGc6ZlrMQ/JRs3NASddI6eawYSbyem7b2/QG4EsshkyIqHz zGOfCaY2Q0Fh9z14CcGOgmnTOT70jhEjxBSt9KrY0Y8FbIRDjrARsMxy4LFLFC0KIkkH kiLRapkpxlkjIPXq7J96ZdY1Dc69dAaP19f8XEXDZEwmmO2Iz5YEyp9QXKGVUwKngPPF I8KuyQFCX9IirCuSmCH5biA+G2X35wk5ZyteC3DP9ObShsEncPgyC2BGv2O0h3A3VAFe Z9Wg== X-Gm-Message-State: AKS2vOyRxEHe+NB6QtaU5QErg0DVqnvkccyX6fvaaMTxikA14jdglmN/ zUObwO70n/vJJXM1y6Q= X-Received: by 10.84.232.73 with SMTP id f9mr3527984pln.28.1497424754827; Wed, 14 Jun 2017 00:19:14 -0700 (PDT) Received: from [127.0.0.1] (s214090.ppp.asahi-net.or.jp. [220.157.214.90]) by smtp.gmail.com with ESMTPSA id 72sm272961pfl.66.2017.06.14.00.19.12 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 14 Jun 2017 00:19:13 -0700 (PDT) From: Magnus Damm To: netdev@vger.kernel.org Cc: Magnus Damm , linux-kernel@vger.kernel.org, davem@davemloft.net Date: Wed, 14 Jun 2017 16:15:24 +0900 Message-Id: <149742452429.31376.14849833346784081961.sendpatchset@little-apple> Subject: [PATCH] net: update undefined ->ndo_change_mtu() comment Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org From: Magnus Damm Update ->ndo_change_mtu() callback comment to remove text about returning error in case of undefined callback. This change makes the comment match the existing code behavior. Signed-off-by: Magnus Damm --- Applies on top of next-20170613 include/linux/netdevice.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) --- 0002/include/linux/netdevice.h +++ work/include/linux/netdevice.h 2017-04-29 16:23:13.980607110 +0900 @@ -910,8 +910,7 @@ struct netdev_xdp { * * int (*ndo_change_mtu)(struct net_device *dev, int new_mtu); * Called when a user wants to change the Maximum Transfer Unit - * of a device. If not defined, any request to change MTU will - * will return an error. + * of a device. * * void (*ndo_tx_timeout)(struct net_device *dev); * Callback used when the transmitter has not made any progress