]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
Documentation: net: Fix typos in netdevices.rst
authorDimitri Daskalakis <dimitri.daskalakis1@gmail.com>
Thu, 22 Jan 2026 22:57:23 +0000 (14:57 -0800)
committerJakub Kicinski <kuba@kernel.org>
Sun, 25 Jan 2026 21:03:43 +0000 (13:03 -0800)
Fixes two minor typos. Specifically, on -> or and Devices -> Device.

Signed-off-by: Dimitri Daskalakis <dimitri.daskalakis1@gmail.com>
Link: https://patch.msgid.link/20260122225723.2368698-1-dimitri.daskalakis1@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Documentation/networking/netdevices.rst

index 7ebb6c36482deb63dbff9babfc939905d84e5a2c..35704d115312f8e2d020ecd7f43ea5345aec51d7 100644 (file)
@@ -80,7 +80,7 @@ unregister_netdev() closes the device and waits for all users to be done
 with it. The memory of struct net_device itself may still be referenced
 by sysfs but all operations on that device will fail.
 
-free_netdev() can be called after unregister_netdev() returns on when
+free_netdev() can be called after unregister_netdev() returns or when
 register_netdev() failed.
 
 Device management under RTNL
@@ -333,7 +333,7 @@ In the future, there will be an option for individual
 drivers to opt out of using ``rtnl_lock`` and instead perform their control
 operations directly under the netdev instance lock.
 
-Devices drivers are encouraged to rely on the instance lock where possible.
+Device drivers are encouraged to rely on the instance lock where possible.
 
 For the (mostly software) drivers that need to interact with the core stack,
 there are two sets of interfaces: ``dev_xxx``/``netdev_xxx`` and ``netif_xxx``