Message ID | 149742452429.31376.14849833346784081961.sendpatchset@little-apple |
---|---|
State | Accepted, archived |
Delegated to: | David Miller |
Headers | show |
From: Magnus Damm <magnus.damm@gmail.com> Date: Wed, 14 Jun 2017 16:15:24 +0900 > From: Magnus Damm <damm+renesas@opensource.se> > > 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 <damm+renesas@opensource.se> Applied, thanks Magnus.
--- 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