소스 검색

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 년 전
부모
커밋
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);