switchdev: fix typo in comments/doc
authorNicolas Dichtel <nicolas.dichtel@6wind.com>
Thu, 24 Mar 2016 15:50:00 +0000 (16:50 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 24 Mar 2016 18:51:24 +0000 (14:51 -0400)
Two minor typo.

Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/networking/switchdev.txt
net/switchdev/switchdev.c

index fad6313..2f65912 100644 (file)
@@ -386,7 +386,7 @@ used. First phase is to "prepare" anything needed, including various checks,
 memory allocation, etc. The goal is to handle the stuff that is not unlikely
 to fail here. The second phase is to "commit" the actual changes.
 
-Switchdev provides an inftrastructure for sharing items (for example memory
+Switchdev provides an infrastructure for sharing items (for example memory
 allocations) between the two phases.
 
 The object created by a driver in "prepare" phase and it is queued up by:
index 8b5833c..2b9b98f 100644 (file)
@@ -1079,7 +1079,7 @@ nla_put_failure:
  *     @filter_dev: filter device
  *     @idx:
  *
- *     Delete FDB entry from switch device.
+ *     Dump FDB entries from switch device.
  */
 int switchdev_port_fdb_dump(struct sk_buff *skb, struct netlink_callback *cb,
                            struct net_device *dev,