summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRami Rosen <rami.rosen@intel.com>2017-08-31 13:41:40 +0300
committerDavid S. Miller <davem@davemloft.net>2017-08-31 11:56:15 -0700
commitf16ded5948a5e6a399161bd71e866b198952ea5f (patch)
treecf31e3e1b74ea6fdb88054c69270e288300e02a8
parent323fbd0edf3ffe8d9d71a651c26b97a14a3c9d0e (diff)
downloadlinux-f16ded5948a5e6a399161bd71e866b198952ea5f.tar.bz2
net: fix two typos in net_device_ops documentation.
This patch fixes two trivial typos in net_device_ops documentation, related to ndo_xdp_flush callback. Signed-off-by: Rami Rosen <rami.rosen@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--include/linux/netdevice.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h
index 29bf06ff157c..35de8312e0b5 100644
--- a/include/linux/netdevice.h
+++ b/include/linux/netdevice.h
@@ -1124,8 +1124,8 @@ struct xfrmdev_ops {
* This function is used to submit a XDP packet for transmit on a
* netdevice.
* void (*ndo_xdp_flush)(struct net_device *dev);
- * This function is used to inform the driver to flush a paticular
- * xpd tx queue. Must be called on same CPU as xdp_xmit.
+ * This function is used to inform the driver to flush a particular
+ * xdp tx queue. Must be called on same CPU as xdp_xmit.
*/
struct net_device_ops {
int (*ndo_init)(struct net_device *dev);