Просмотр исходного кода

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>
Rami Rosen 8 лет назад
Родитель
Сommit
f16ded5948
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      include/linux/netdevice.h

+ 2 - 2
include/linux/netdevice.h

@@ -1124,8 +1124,8 @@ struct xfrmdev_ops {
  *	This function is used to submit a XDP packet for transmit on a
  *	This function is used to submit a XDP packet for transmit on a
  *	netdevice.
  *	netdevice.
  * void (*ndo_xdp_flush)(struct net_device *dev);
  * 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 {
 struct net_device_ops {
 	int			(*ndo_init)(struct net_device *dev);
 	int			(*ndo_init)(struct net_device *dev);