summaryrefslogtreecommitdiffstats
path: root/rust/kernel/net/phy.rs
diff options
context:
space:
mode:
authorMichael Vetter <jubalh@iodoru.org>2024-08-19 22:57:31 +0200
committerMiguel Ojeda <ojeda@kernel.org>2024-08-21 13:29:36 +0200
commit0ff8f3f0979559b0d7494d580f2597beab3f159b (patch)
treef15cc48d4422292b055ab7ce1ca6736d1bf9f447 /rust/kernel/net/phy.rs
parentdocs: rust: remove unintended blockquote in Coding Guidelines (diff)
downloadlinux-0ff8f3f0979559b0d7494d580f2597beab3f159b.tar.xz
linux-0ff8f3f0979559b0d7494d580f2597beab3f159b.zip
rust: kernel: fix typos in code comments
Fix spelling mistakes in code comments. Signed-off-by: Michael Vetter <jubalh@iodoru.org> Reviewed-by: Alice Ryhl <aliceryhl@google.com> Reviewed-by: Benno Lossin <benno.lossin@proton.me> Link: https://lore.kernel.org/r/20240819205731.2163-1-jubalh@iodoru.org [ Reworded slightly. - Miguel ] Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Diffstat (limited to 'rust/kernel/net/phy.rs')
-rw-r--r--rust/kernel/net/phy.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/rust/kernel/net/phy.rs b/rust/kernel/net/phy.rs
index fd40b703d224..91dac63ffa17 100644
--- a/rust/kernel/net/phy.rs
+++ b/rust/kernel/net/phy.rs
@@ -491,7 +491,7 @@ impl<T: Driver> Adapter<T> {
pub struct DriverVTable(Opaque<bindings::phy_driver>);
// SAFETY: `DriverVTable` doesn't expose any &self method to access internal data, so it's safe to
-// share `&DriverVTable` across execution context boundries.
+// share `&DriverVTable` across execution context boundaries.
unsafe impl Sync for DriverVTable {}
/// Creates a [`DriverVTable`] instance from [`Driver`].